laif-ds 0.2.21 → 0.2.22

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/index.js +5 -3
  2. package/dist/_virtual/index3.js +2 -5
  3. package/dist/_virtual/index4.js +3 -5
  4. package/dist/_virtual/index6.js +5 -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/index.d.ts +4 -6
  11. package/dist/lib/audio-utils.js +2 -2
  12. package/dist/node_modules/@date-fns/tz/date/index.js +2 -7
  13. package/dist/node_modules/@date-fns/tz/date/mini.js +32 -27
  14. package/dist/node_modules/@date-fns/tz/tzName/index.js +12 -0
  15. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +11 -12
  16. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +137 -139
  17. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +238 -235
  18. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +88 -83
  19. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +70 -69
  20. package/dist/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +13 -13
  21. package/dist/node_modules/@lexical/code/LexicalCode.prod.js +3 -3
  22. package/dist/node_modules/@lexical/dragon/LexicalDragon.prod.js +2 -2
  23. package/dist/node_modules/@lexical/history/LexicalHistory.prod.js +9 -9
  24. package/dist/node_modules/@lexical/html/LexicalHtml.prod.js +6 -6
  25. package/dist/node_modules/@lexical/list/LexicalList.prod.js +48 -48
  26. package/dist/node_modules/@lexical/markdown/LexicalMarkdown.prod.js +29 -29
  27. package/dist/node_modules/@lexical/react/LexicalCheckListPlugin.prod.js +1 -1
  28. package/dist/node_modules/@lexical/react/LexicalClearEditorPlugin.prod.js +2 -2
  29. package/dist/node_modules/@lexical/react/LexicalComposer.prod.js +10 -10
  30. package/dist/node_modules/@lexical/react/LexicalComposerContext.prod.js +2 -2
  31. package/dist/node_modules/@lexical/react/LexicalContentEditable.prod.js +17 -17
  32. package/dist/node_modules/@lexical/react/LexicalErrorBoundary.prod.js +4 -4
  33. package/dist/node_modules/@lexical/react/LexicalHistoryPlugin.prod.js +4 -4
  34. package/dist/node_modules/@lexical/react/LexicalListPlugin.prod.js +5 -5
  35. package/dist/node_modules/@lexical/react/LexicalOnChangePlugin.prod.js +4 -4
  36. package/dist/node_modules/@lexical/react/LexicalRichTextPlugin.prod.js +20 -20
  37. package/dist/node_modules/@lexical/react/useLexicalEditable.prod.js +7 -7
  38. package/dist/node_modules/@lexical/rich-text/LexicalRichText.prod.js +43 -43
  39. package/dist/node_modules/@lexical/table/LexicalTable.prod.js +16 -16
  40. package/dist/node_modules/@lexical/utils/LexicalUtils.prod.js +3 -3
  41. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +43 -42
  42. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +1 -1
  43. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +2 -2
  44. package/dist/node_modules/@radix-ui/react-select/dist/index.js +2 -2
  45. package/dist/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +1 -1
  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/index.js +1 -1
  139. package/dist/node_modules/eventemitter3/index2.js +3 -3
  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/Events.js +1 -1
  207. package/dist/node_modules/recharts/es6/util/ReactUtils.js +20 -15
  208. package/dist/node_modules/recharts/es6/util/excludeEventProps.js +11 -0
  209. package/dist/node_modules/recharts/es6/util/getSliced.js +7 -0
  210. package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +44 -44
  211. package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +7 -0
  212. package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +328 -0
  213. package/dist/node_modules/recharts/es6/util/types.js +22 -332
  214. package/dist/node_modules/recharts/es6/util/useAnimationId.js +10 -0
  215. package/dist/node_modules/recharts/es6/util/useElementOffset.js +20 -16
  216. package/dist/node_modules/remeda/dist/hasAtLeast-F1Oj_xBB.js +9 -0
  217. package/dist/node_modules/remeda/dist/lazyDataLastImpl-BDhrIOwR.js +8 -0
  218. package/dist/node_modules/remeda/dist/omit-HZOiLuMO.js +19 -0
  219. package/dist/node_modules/remeda/dist/purry-DH9cw9sy.js +11 -0
  220. package/dist/node_modules/shiki/dist/langs.js +225 -220
  221. package/dist/node_modules/shiki/dist/themes.js +60 -60
  222. package/dist/node_modules/sonner/dist/index.js +309 -305
  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
@@ -6,7 +6,7 @@ function h(i, s) {
6
6
  return c.__proto__ = p, c;
7
7
  }, h(i, s);
8
8
  }
9
- var m = { error: null }, g = function(i) {
9
+ var m = { error: null }, g = (function(i) {
10
10
  var s, c;
11
11
  function p() {
12
12
  for (var r, o = arguments.length, t = new Array(o), e = 0; e < o; e++) t[e] = arguments[e];
@@ -26,9 +26,9 @@ var m = { error: null }, g = function(i) {
26
26
  (t = (e = this.props).onError) == null || t.call(e, r, o);
27
27
  }, u.componentDidUpdate = function(r, o) {
28
28
  var t, e, n, a, f = this.state.error, l = this.props.resetKeys;
29
- f !== null && o.error !== null && ((n = r.resetKeys) === void 0 && (n = []), (a = l) === void 0 && (a = []), n.length !== a.length || n.some(function(b, v) {
29
+ f !== null && o.error !== null && ((n = r.resetKeys) === void 0 && (n = []), (a = l) === void 0 && (a = []), n.length !== a.length || n.some((function(b, v) {
30
30
  return !Object.is(b, a[v]);
31
- })) && ((t = (e = this.props).onResetKeysChange) == null || t.call(e, r.resetKeys, l), this.reset());
31
+ }))) && ((t = (e = this.props).onResetKeysChange) == null || t.call(e, r.resetKeys, l), this.reset());
32
32
  }, u.render = function() {
33
33
  var r = this.state.error, o = this.props, t = o.fallbackRender, e = o.FallbackComponent, n = o.fallback;
34
34
  if (r !== null) {
@@ -40,7 +40,7 @@ var m = { error: null }, g = function(i) {
40
40
  }
41
41
  return this.props.children;
42
42
  }, p;
43
- }(d.Component);
43
+ })(d.Component);
44
44
  function k({ children: i, onError: s }) {
45
45
  return y(g, { fallback: y("div", { style: { border: "1px solid #f00", color: "#f00", padding: "8px" }, children: "An error was thrown." }), onError: s, children: i });
46
46
  }
@@ -4,10 +4,10 @@ import { createEmptyHistoryState as m, registerHistory as l } from "../history/L
4
4
  import { useMemo as u, useEffect as c } from "react";
5
5
  function H({ delay: s, externalHistoryState: i }) {
6
6
  const [a] = n();
7
- return function(t, e, o = 1e3) {
8
- const r = u(() => e || m(), [e]);
9
- c(() => l(t, r, o), [o, t, r]);
10
- }(a, i, s), null;
7
+ return (function(t, e, o = 1e3) {
8
+ const r = u((() => e || m()), [e]);
9
+ c((() => l(t, r, o)), [o, t, r]);
10
+ })(a, i, s), null;
11
11
  }
12
12
  export {
13
13
  H as HistoryPlugin,
@@ -4,13 +4,13 @@ import { useLexicalComposerContext as f } from "./LexicalComposerContext.prod.js
4
4
  import { useEffect as e } from "react";
5
5
  function c({ hasStrictIndent: r = !1 }) {
6
6
  const [t] = f();
7
- return e(() => {
7
+ return e((() => {
8
8
  if (!t.hasNodes([o, i])) throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor");
9
- }, [t]), e(() => {
9
+ }), [t]), e((() => {
10
10
  if (r) return n(t);
11
- }, [t, r]), function(s) {
12
- e(() => a(s), [s]);
13
- }(t), null;
11
+ }), [t, r]), (function(s) {
12
+ e((() => a(s)), [s]);
13
+ })(t), null;
14
14
  }
15
15
  export {
16
16
  c as ListPlugin
@@ -5,11 +5,11 @@ import { useLayoutEffect as m, useEffect as g } from "react";
5
5
  const c = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0 ? m : g;
6
6
  function w({ ignoreHistoryMergeTagChange: o = !0, ignoreSelectionChange: n = !1, onChange: e }) {
7
7
  const [t] = u();
8
- return c(() => {
9
- if (e) return t.registerUpdateListener(({ editorState: r, dirtyElements: s, dirtyLeaves: a, prevEditorState: d, tags: i }) => {
8
+ return c((() => {
9
+ if (e) return t.registerUpdateListener((({ editorState: r, dirtyElements: s, dirtyLeaves: a, prevEditorState: d, tags: i }) => {
10
10
  n && s.size === 0 && a.size === 0 || o && i.has(f) || d.isEmpty() || e(r, t, i);
11
- });
12
- }, [t, o, n, e]), null;
11
+ }));
12
+ }), [t, o, n, e]), null;
13
13
  }
14
14
  export {
15
15
  w as OnChangePlugin
@@ -13,42 +13,42 @@ function h(r) {
13
13
  return r.getEditorState().read(j(r.isComposing()));
14
14
  }
15
15
  function H({ contentEditable: r, placeholder: u = null, ErrorBoundary: a }) {
16
- const [n] = E(), o = function(e, i) {
17
- const [t, s] = w(() => e.getDecorators());
18
- return d(() => e.registerDecoratorListener((c) => {
19
- R(() => {
16
+ const [n] = E(), o = (function(e, i) {
17
+ const [t, s] = w((() => e.getDecorators()));
18
+ return d((() => e.registerDecoratorListener(((c) => {
19
+ R((() => {
20
20
  s(c);
21
- });
22
- }), [e]), x(() => {
21
+ }));
22
+ }))), [e]), x((() => {
23
23
  s(e.getDecorators());
24
- }, [e]), C(() => {
24
+ }), [e]), C((() => {
25
25
  const c = [], p = Object.keys(t);
26
26
  for (let l = 0; l < p.length; l++) {
27
27
  const f = p[l], L = m(i, { onError: (S) => e._onError(S), children: m(P, { fallback: null, children: t[f] }) }), g = e.getElementByKey(f);
28
28
  g !== null && c.push($(L, g, f));
29
29
  }
30
30
  return c;
31
- }, [i, t, e]);
32
- }(n, a);
33
- return function(e) {
34
- d(() => y(M(e), B(e)), [e]);
35
- }(n), k(v, { children: [r, m(T, { content: u }), o] });
31
+ }), [i, t, e]);
32
+ })(n, a);
33
+ return (function(e) {
34
+ d((() => y(M(e), B(e))), [e]);
35
+ })(n), k(v, { children: [r, m(T, { content: u }), o] });
36
36
  }
37
37
  function T({ content: r }) {
38
- const [u] = E(), a = function(o) {
39
- const [e, i] = w(() => h(o));
40
- return d(() => {
38
+ const [u] = E(), a = (function(o) {
39
+ const [e, i] = w((() => h(o)));
40
+ return d((() => {
41
41
  function t() {
42
42
  const s = h(o);
43
43
  i(s);
44
44
  }
45
- return t(), y(o.registerUpdateListener(() => {
45
+ return t(), y(o.registerUpdateListener((() => {
46
46
  t();
47
- }), o.registerEditableListener(() => {
47
+ })), o.registerEditableListener((() => {
48
48
  t();
49
- }));
50
- }, [o]), e;
51
- }(u), n = b();
49
+ })));
50
+ }), [o]), e;
51
+ })(u), n = b();
52
52
  return a ? typeof r == "function" ? r(n) : r : null;
53
53
  }
54
54
  export {
@@ -6,15 +6,15 @@ function p(e) {
6
6
  return { initialValueFn: () => e.isEditable(), subscribe: (t) => e.registerEditableListener(t) };
7
7
  }
8
8
  function F() {
9
- return function(e) {
10
- const [t] = l(), n = d(() => e(t), [t, e]), [r, o] = f(() => n.initialValueFn()), i = m(r);
11
- return E(() => {
9
+ return (function(e) {
10
+ const [t] = l(), n = d((() => e(t)), [t, e]), [r, o] = f((() => n.initialValueFn())), i = m(r);
11
+ return E((() => {
12
12
  const { initialValueFn: c, subscribe: a } = n, u = c();
13
- return i.current !== u && (i.current = u, o(u)), a((s) => {
13
+ return i.current !== u && (i.current = u, o(u)), a(((s) => {
14
14
  i.current = s, o(s);
15
- });
16
- }, [n, e]), r;
17
- }(p);
15
+ }));
16
+ }), [n, e]), r;
17
+ })(p);
18
18
  }
19
19
  export {
20
20
  F as useLexicalEditable
@@ -52,7 +52,7 @@ class M extends z {
52
52
  }
53
53
  collapseAtStart() {
54
54
  const e = h();
55
- return this.getChildren().forEach((t) => e.append(t)), this.replace(e), !0;
55
+ return this.getChildren().forEach(((t) => e.append(t))), this.replace(e), !0;
56
56
  }
57
57
  canMergeWhenEmpty() {
58
58
  return !0;
@@ -128,7 +128,7 @@ class _ extends z {
128
128
  }
129
129
  collapseAtStart() {
130
130
  const e = this.isEmpty() ? h() : C(this.getTag());
131
- return this.getChildren().forEach((t) => e.append(t)), this.replace(e), !0;
131
+ return this.getChildren().forEach(((t) => e.append(t))), this.replace(e), !0;
132
132
  }
133
133
  extractWithChild() {
134
134
  return !0;
@@ -165,7 +165,7 @@ function W(n) {
165
165
  for (let s = 0; s < r.length; s++) {
166
166
  const o = r[s], l = o.getKey();
167
167
  if (t.has(l)) continue;
168
- const c = B(o, (N) => q(N) && !N.isInline());
168
+ const c = B(o, ((N) => q(N) && !N.isInline()));
169
169
  if (c === null) continue;
170
170
  const f = c.getKey();
171
171
  c.canIndent() && !t.has(f) && (t.add(f), n(c));
@@ -180,19 +180,19 @@ function O(n) {
180
180
  for (const e of ["lowercase", "uppercase", "capitalize"]) n.hasFormat(e) && n.toggleFormat(e);
181
181
  }
182
182
  function Qe(n) {
183
- return U(n.registerCommand(Ke, (e) => {
183
+ return U(n.registerCommand(Ke, ((e) => {
184
184
  const t = i();
185
185
  return !!d(t) && (t.clear(), !0);
186
- }, a), n.registerCommand(A, (e) => {
186
+ }), a), n.registerCommand(A, ((e) => {
187
187
  const t = i();
188
188
  return u(t) ? (t.deleteCharacter(e), !0) : !!d(t) && (t.deleteNodes(), !0);
189
- }, a), n.registerCommand(Fe, (e) => {
189
+ }), a), n.registerCommand(Fe, ((e) => {
190
190
  const t = i();
191
191
  return !!u(t) && (t.deleteWord(e), !0);
192
- }, a), n.registerCommand(we, (e) => {
192
+ }), a), n.registerCommand(we, ((e) => {
193
193
  const t = i();
194
194
  return !!u(t) && (t.deleteLine(e), !0);
195
- }, a), n.registerCommand($e, (e) => {
195
+ }), a), n.registerCommand($e, ((e) => {
196
196
  const t = i();
197
197
  if (typeof e == "string") t !== null && t.insertText(e);
198
198
  else {
@@ -205,34 +205,34 @@ function Qe(n) {
205
205
  }
206
206
  }
207
207
  return !0;
208
- }, a), n.registerCommand(xe, () => {
208
+ }), a), n.registerCommand(xe, (() => {
209
209
  const e = i();
210
210
  return !!u(e) && (e.removeText(), !0);
211
- }, a), n.registerCommand(Pe, (e) => {
211
+ }), a), n.registerCommand(Pe, ((e) => {
212
212
  const t = i();
213
213
  return !!u(t) && (t.formatText(e), !0);
214
- }, a), n.registerCommand(Ie, (e) => {
214
+ }), a), n.registerCommand(Ie, ((e) => {
215
215
  const t = i();
216
216
  if (!u(t) && !d(t)) return !1;
217
217
  const r = t.getNodes();
218
218
  for (const s of r) {
219
- const o = B(s, (l) => q(l) && !l.isInline());
219
+ const o = B(s, ((l) => q(l) && !l.isInline()));
220
220
  o !== null && o.setFormat(e);
221
221
  }
222
222
  return !0;
223
- }, a), n.registerCommand(x, (e) => {
223
+ }), a), n.registerCommand(x, ((e) => {
224
224
  const t = i();
225
225
  return !!u(t) && (t.insertLineBreak(e), !0);
226
- }, a), n.registerCommand($, () => {
226
+ }), a), n.registerCommand($, (() => {
227
227
  const e = i();
228
228
  return !!u(e) && (e.insertParagraph(), !0);
229
- }, a), n.registerCommand(ye, () => (Re([Se()]), !0), a), n.registerCommand(ve, () => W((e) => {
229
+ }), a), n.registerCommand(ye, (() => (Re([Se()]), !0)), a), n.registerCommand(ve, (() => W(((e) => {
230
230
  const t = e.getIndent();
231
231
  e.setIndent(t + 1);
232
- }), a), n.registerCommand(w, () => W((e) => {
232
+ }))), a), n.registerCommand(w, (() => W(((e) => {
233
233
  const t = e.getIndent();
234
234
  t > 0 && e.setIndent(Math.max(0, t - 1));
235
- }), a), n.registerCommand(Te, (e) => {
235
+ }))), a), n.registerCommand(Te, ((e) => {
236
236
  const t = i();
237
237
  if (d(t)) {
238
238
  const r = t.getNodes();
@@ -242,21 +242,21 @@ function Qe(n) {
242
242
  if (!e.shiftKey && E(r) && !r.isIsolated() && !r.isInline()) return r.selectPrevious(), e.preventDefault(), !0;
243
243
  }
244
244
  return !1;
245
- }, a), n.registerCommand(Ae, (e) => {
245
+ }), a), n.registerCommand(Ae, ((e) => {
246
246
  const t = i();
247
247
  if (d(t)) {
248
248
  const r = t.getNodes();
249
249
  if (r.length > 0) return r[0].selectNext(0, 0), !0;
250
250
  } else if (u(t)) {
251
- if (function(s) {
251
+ if ((function(s) {
252
252
  const o = s.focus;
253
253
  return o.key === "root" && o.offset === Oe().getChildrenSize();
254
- }(t)) return e.preventDefault(), !0;
254
+ })(t)) return e.preventDefault(), !0;
255
255
  const r = F(t.focus, !1);
256
256
  if (!e.shiftKey && E(r) && !r.isIsolated() && !r.isInline()) return r.selectNext(), e.preventDefault(), !0;
257
257
  }
258
258
  return !1;
259
- }, a), n.registerCommand(_e, (e) => {
259
+ }), a), n.registerCommand(_e, ((e) => {
260
260
  const t = i();
261
261
  if (d(t)) {
262
262
  const r = t.getNodes();
@@ -268,7 +268,7 @@ function Qe(n) {
268
268
  return e.preventDefault(), P(t, r, !0), !0;
269
269
  }
270
270
  return !1;
271
- }, a), n.registerCommand(Me, (e) => {
271
+ }), a), n.registerCommand(Me, ((e) => {
272
272
  const t = i();
273
273
  if (d(t)) {
274
274
  const s = t.getNodes();
@@ -277,11 +277,11 @@ function Qe(n) {
277
277
  if (!u(t)) return !1;
278
278
  const r = e.shiftKey;
279
279
  return !!I(t, !1) && (e.preventDefault(), P(t, r, !1), !0);
280
- }, a), n.registerCommand(De, (e) => {
280
+ }), a), n.registerCommand(De, ((e) => {
281
281
  if (J(e.target)) return !1;
282
282
  const t = i();
283
283
  if (u(t)) {
284
- if (function(r) {
284
+ if ((function(r) {
285
285
  if (!r.isCollapsed()) return !1;
286
286
  const { anchor: s } = r;
287
287
  if (s.offset !== 0) return !1;
@@ -289,15 +289,15 @@ function Qe(n) {
289
289
  if (Ee(o)) return !1;
290
290
  const l = j(o);
291
291
  return l.getIndent() > 0 && (l.is(o) || o.is(l.getFirstDescendant()));
292
- }(t)) return e.preventDefault(), n.dispatchCommand(w, void 0);
292
+ })(t)) return e.preventDefault(), n.dispatchCommand(w, void 0);
293
293
  if (L && navigator.language === "ko-KR") return !1;
294
294
  } else if (!d(t)) return !1;
295
295
  return e.preventDefault(), n.dispatchCommand(A, !0);
296
- }, a), n.registerCommand(Ne, (e) => {
296
+ }), a), n.registerCommand(Ne, ((e) => {
297
297
  if (J(e.target)) return !1;
298
298
  const t = i();
299
299
  return !(!u(t) && !d(t)) && (e.preventDefault(), n.dispatchCommand(A, !1));
300
- }, a), n.registerCommand(he, (e) => {
300
+ }), a), n.registerCommand(he, ((e) => {
301
301
  const t = i();
302
302
  if (!u(t)) return !1;
303
303
  if (O(t), e !== null) {
@@ -305,10 +305,10 @@ function Qe(n) {
305
305
  if (e.preventDefault(), e.shiftKey) return n.dispatchCommand(x, !1);
306
306
  }
307
307
  return n.dispatchCommand($, void 0);
308
- }, a), n.registerCommand(Ce, () => {
308
+ }), a), n.registerCommand(Ce, (() => {
309
309
  const e = i();
310
310
  return !!u(e) && (n.blur(), !0);
311
- }, a), n.registerCommand(de, (e) => {
311
+ }), a), n.registerCommand(de, ((e) => {
312
312
  const [, t] = D(e);
313
313
  if (t.length > 0) {
314
314
  const s = K(e.clientX, e.clientY);
@@ -330,10 +330,10 @@ function Qe(n) {
330
330
  }
331
331
  const r = i();
332
332
  return !!u(r);
333
- }, a), n.registerCommand(le, (e) => {
333
+ }), a), n.registerCommand(le, ((e) => {
334
334
  const [t] = D(e), r = i();
335
335
  return !(t && !u(r));
336
- }, a), n.registerCommand(ce, (e) => {
336
+ }), a), n.registerCommand(ce, ((e) => {
337
337
  const [t] = D(e), r = i();
338
338
  if (t && !u(r)) return !1;
339
339
  const s = K(e.clientX, e.clientY);
@@ -342,26 +342,26 @@ function Qe(n) {
342
342
  E(o) && e.preventDefault();
343
343
  }
344
344
  return !0;
345
- }, a), n.registerCommand(ie, () => (ue(), !0), a), n.registerCommand(oe, (e) => (S(n, g(e, ClipboardEvent) ? e : null), !0), a), n.registerCommand(ae, (e) => (async function(t, r) {
346
- await S(r, g(t, ClipboardEvent) ? t : null), r.update(() => {
345
+ }), a), n.registerCommand(ie, (() => (ue(), !0)), a), n.registerCommand(oe, ((e) => (S(n, g(e, ClipboardEvent) ? e : null), !0)), a), n.registerCommand(ae, ((e) => ((async function(t, r) {
346
+ await S(r, g(t, ClipboardEvent) ? t : null), r.update((() => {
347
347
  const s = i();
348
- u(s) ? s.removeText() : d(s) && s.getNodes().forEach((o) => o.remove());
349
- });
350
- }(e, n), !0), a), n.registerCommand(ee, (e) => {
348
+ u(s) ? s.removeText() : d(s) && s.getNodes().forEach(((o) => o.remove()));
349
+ }));
350
+ })(e, n), !0)), a), n.registerCommand(ee, ((e) => {
351
351
  const [, t, r] = D(e);
352
- return t.length > 0 && !r ? (n.dispatchCommand(b, t), !0) : ne(e.target) && re(e.target) ? !1 : i() !== null && (function(s, o) {
353
- s.preventDefault(), o.update(() => {
352
+ return t.length > 0 && !r ? (n.dispatchCommand(b, t), !0) : ne(e.target) && re(e.target) ? !1 : i() !== null && ((function(s, o) {
353
+ s.preventDefault(), o.update((() => {
354
354
  const l = i(), c = g(s, InputEvent) || g(s, KeyboardEvent) ? null : s.clipboardData;
355
355
  c != null && l !== null && R(c, l, o);
356
- }, { tag: se });
357
- }(e, n), !0);
358
- }, a), n.registerCommand(Z, (e) => {
356
+ }), { tag: se });
357
+ })(e, n), !0);
358
+ }), a), n.registerCommand(Z, ((e) => {
359
359
  const t = i();
360
360
  return u(t) && O(t), !1;
361
- }, a), n.registerCommand(V, (e) => {
361
+ }), a), n.registerCommand(V, ((e) => {
362
362
  const t = i();
363
363
  return u(t) && O(t), !1;
364
- }, a));
364
+ }), a));
365
365
  }
366
366
  export {
367
367
  C as $createHeadingNode,
@@ -288,14 +288,14 @@ function J(l) {
288
288
  return null;
289
289
  }
290
290
  function B(l) {
291
- const [[t, e, o, r], [n, s, i, a]] = ["anchor", "focus"].map((h) => {
291
+ const [[t, e, o, r], [n, s, i, a]] = ["anchor", "focus"].map(((h) => {
292
292
  const c = l[h].getNode(), u = M(c, S);
293
293
  S(u) || m(238, h, c.getKey(), c.getType());
294
294
  const d = u.getParent();
295
295
  v(d) || m(239, h);
296
296
  const _ = d.getParent();
297
297
  return et(_) || m(240, h), [c, u, d, _];
298
- });
298
+ }));
299
299
  return r.is(a) || m(241), { anchorCell: e, anchorNode: t, anchorRow: o, anchorTable: r, focusCell: s, focusNode: n, focusRow: i, focusTable: a };
300
300
  }
301
301
  class $ {
@@ -338,10 +338,10 @@ class $ {
338
338
  }
339
339
  hasFormat(t) {
340
340
  let e = 0;
341
- this.getNodes().filter(S).forEach((r) => {
341
+ this.getNodes().filter(S).forEach(((r) => {
342
342
  const n = r.getFirstChild();
343
343
  ot(n) && (e |= n.getTextFormat());
344
- });
344
+ }));
345
345
  const o = lt[t];
346
346
  return !!(e & o);
347
347
  }
@@ -376,15 +376,15 @@ class $ {
376
376
  let w = null;
377
377
  for (let f = u; f <= d; f++) for (let g = h; g <= c; g++) {
378
378
  const { cell: C } = s[f][g], N = C.getParent();
379
- v(N) || m(160), N !== w && (_.set(N.getKey(), N), w = N), _.has(C.getKey()) || pt(C, (D) => {
379
+ v(N) || m(160), N !== w && (_.set(N.getKey(), N), w = N), _.has(C.getKey()) || pt(C, ((D) => {
380
380
  _.set(D.getKey(), D);
381
- });
381
+ }));
382
382
  }
383
383
  const p = Array.from(_.values());
384
384
  return nt() || (this._cachedNodes = p), p;
385
385
  }
386
386
  getTextContent() {
387
- const t = this.getNodes().filter((o) => S(o));
387
+ const t = this.getNodes().filter(((o) => S(o)));
388
388
  let e = "";
389
389
  for (let o = 0; o < t.length; o++) {
390
390
  const r = t[o], n = r.__parent, s = (t[o + 1] || {}).__parent;
@@ -480,16 +480,16 @@ class F extends k {
480
480
  return o;
481
481
  }
482
482
  updateTableWrapper(t, e, o, r) {
483
- this.__frozenColumnCount !== (t ? t.__frozenColumnCount : 0) && function(n, s, i, a) {
483
+ this.__frozenColumnCount !== (t ? t.__frozenColumnCount : 0) && (function(n, s, i, a) {
484
484
  a > 0 ? (b(n, i.theme.tableFrozenColumn), s.setAttribute("data-lexical-frozen-column", "true")) : (A(n, i.theme.tableFrozenColumn), s.removeAttribute("data-lexical-frozen-column"));
485
- }(e, o, r, this.__frozenColumnCount), this.__frozenRowCount !== (t ? t.__frozenRowCount : 0) && function(n, s, i, a) {
485
+ })(e, o, r, this.__frozenColumnCount), this.__frozenRowCount !== (t ? t.__frozenRowCount : 0) && (function(n, s, i, a) {
486
486
  a > 0 ? (b(n, i.theme.tableFrozenRow), s.setAttribute("data-lexical-frozen-row", "true")) : (A(n, i.theme.tableFrozenRow), s.removeAttribute("data-lexical-frozen-row"));
487
- }(e, o, r, this.__frozenRowCount);
487
+ })(e, o, r, this.__frozenRowCount);
488
488
  }
489
489
  updateTableElement(t, e, o) {
490
- this.__style !== (t ? t.__style : "") && (e.style.cssText = this.__style), this.__rowStriping !== (!!t && t.__rowStriping) && function(r, n, s) {
490
+ this.__style !== (t ? t.__style : "") && (e.style.cssText = this.__style), this.__rowStriping !== (!!t && t.__rowStriping) && (function(r, n, s) {
491
491
  s ? (b(r, n.theme.tableRowStriping), r.setAttribute("data-lexical-row-striping", "true")) : (A(r, n.theme.tableRowStriping), r.removeAttribute("data-lexical-row-striping"));
492
- }(e, o, this.__rowStriping), function(r, n, s, i) {
492
+ })(e, o, this.__rowStriping), (function(r, n, s, i) {
493
493
  const a = r.querySelector("colgroup");
494
494
  if (!a) return;
495
495
  const h = [];
@@ -498,7 +498,7 @@ class F extends k {
498
498
  d && (u.style.width = `${d}px`), h.push(u);
499
499
  }
500
500
  a.replaceChildren(...h);
501
- }(e, 0, this.getColumnCount(), this.getColWidths()), q(e, o, this.getFormatType());
501
+ })(e, 0, this.getColumnCount(), this.getColWidths()), q(e, o, this.getFormatType());
502
502
  }
503
503
  updateDOM(t, e, o) {
504
504
  const r = this.getDOMSlot(e).element;
@@ -528,7 +528,7 @@ class F extends k {
528
528
  }
529
529
  const a = r.querySelector(":scope > colgroup");
530
530
  if (a) {
531
- const c = Array.from(r.querySelectorAll(":scope > colgroup > col")).filter((u, d) => i.has(d));
531
+ const c = Array.from(r.querySelectorAll(":scope > colgroup > col")).filter(((u, d) => i.has(d)));
532
532
  a.replaceChildren(...c);
533
533
  }
534
534
  const h = r.querySelectorAll(":scope > tr");
@@ -612,9 +612,9 @@ class F extends k {
612
612
  const t = this.getFirstChild();
613
613
  if (!t) return 0;
614
614
  let e = 0;
615
- return t.getChildren().forEach((o) => {
615
+ return t.getChildren().forEach(((o) => {
616
616
  S(o) && (e += o.getColSpan());
617
- }), e;
617
+ })), e;
618
618
  }
619
619
  }
620
620
  function St(l) {
@@ -41,7 +41,7 @@ function S(t, n) {
41
41
  return null;
42
42
  }
43
43
  function x(t) {
44
- const n = y(t, (e) => a(e) && !e.isInline());
44
+ const n = y(t, ((e) => a(e) && !e.isInline()));
45
45
  return a(n) || g(4, t.__key), n;
46
46
  }
47
47
  const y = (t, n) => {
@@ -58,7 +58,7 @@ function I(t, n) {
58
58
  let s = !(v || !w) && void 0;
59
59
  function P(t) {
60
60
  let n = 1;
61
- if (function() {
61
+ if ((function() {
62
62
  if (s === void 0) {
63
63
  const e = document.createElement("div");
64
64
  e.style.cssText = "position: absolute; opacity: 0; width: 100px; left: -1000px;", document.body.appendChild(e);
@@ -66,7 +66,7 @@ function P(t) {
66
66
  e.style.setProperty("zoom", "2"), s = e.getBoundingClientRect().width === o.width, document.body.removeChild(e);
67
67
  }
68
68
  return s;
69
- }()) for (; t; ) n *= Number(window.getComputedStyle(t).getPropertyValue("zoom")), t = t.parentElement;
69
+ })()) for (; t; ) n *= Number(window.getComputedStyle(t).getPropertyValue("zoom")), t = t.parentElement;
70
70
  return n;
71
71
  }
72
72
  function R(t, n) {