bitboss-ui 2.0.166 → 2.0.167

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 (187) hide show
  1. package/dist/index106.js +7 -7
  2. package/dist/index111.js +1 -1
  3. package/dist/index113.js +1 -1
  4. package/dist/index121.js +10 -10
  5. package/dist/index129.js +2 -2
  6. package/dist/index13.js +1 -1
  7. package/dist/index131.js +3 -3
  8. package/dist/index133.js +1 -1
  9. package/dist/index136.js +1 -1
  10. package/dist/index138.js +1 -1
  11. package/dist/index139.js +2 -2
  12. package/dist/index15.js +8 -8
  13. package/dist/index17.js +3 -3
  14. package/dist/index19.js +8 -8
  15. package/dist/index207.js +2 -2
  16. package/dist/index208.js +2 -2
  17. package/dist/index209.js +4 -2
  18. package/dist/index21.js +16 -16
  19. package/dist/index210.js +41 -4
  20. package/dist/index211.js +20 -2
  21. package/dist/index212.js +93 -40
  22. package/dist/index214.js +200 -7
  23. package/dist/index216.js +65 -12
  24. package/dist/index218.js +12 -3
  25. package/dist/index219.js +13 -20
  26. package/dist/index220.js +5 -94
  27. package/dist/index221.js +7 -0
  28. package/dist/index222.js +5 -200
  29. package/dist/index223.js +7 -0
  30. package/dist/index224.js +5 -66
  31. package/dist/index225.js +7 -0
  32. package/dist/index226.js +5 -13
  33. package/dist/index227.js +3 -2
  34. package/dist/index228.js +2 -6
  35. package/dist/index229.js +7 -15
  36. package/dist/index23.js +17 -17
  37. package/dist/index230.js +249 -8
  38. package/dist/index231.js +52 -11
  39. package/dist/index232.js +39 -96
  40. package/dist/index233.js +7 -0
  41. package/dist/index234.js +60 -23
  42. package/dist/index235.js +6 -2
  43. package/dist/index236.js +7 -177
  44. package/dist/index237.js +15 -3
  45. package/dist/index238.js +34 -5
  46. package/dist/index239.js +86 -5
  47. package/dist/index241.js +29 -5
  48. package/dist/index242.js +17 -5
  49. package/dist/index243.js +51 -5
  50. package/dist/index244.js +15 -2
  51. package/dist/index245.js +12 -2
  52. package/dist/index246.js +15 -8
  53. package/dist/index247.js +5 -3
  54. package/dist/index248.js +2 -51
  55. package/dist/index249.js +2 -17
  56. package/dist/index25.js +5 -5
  57. package/dist/index250.js +9 -106
  58. package/dist/index251.js +20 -0
  59. package/dist/index252.js +126 -98
  60. package/dist/index253.js +6 -0
  61. package/dist/index254.js +106 -2
  62. package/dist/index256.js +95 -81
  63. package/dist/index258.js +11 -28
  64. package/dist/index259.js +228 -15
  65. package/dist/index260.js +367 -11
  66. package/dist/index261.js +2 -16
  67. package/dist/index262.js +2 -10
  68. package/dist/index263.js +2 -3
  69. package/dist/index264.js +3 -18
  70. package/dist/index265.js +169 -120
  71. package/dist/index266.js +2 -12
  72. package/dist/index267.js +10 -228
  73. package/dist/index268.js +2 -367
  74. package/dist/index269.js +9 -5
  75. package/dist/index27.js +1 -1
  76. package/dist/index270.js +11 -5
  77. package/dist/index271.js +99 -6
  78. package/dist/index273.js +23 -52
  79. package/dist/index274.js +6 -44
  80. package/dist/index275.js +16 -5
  81. package/dist/index276.js +3 -60
  82. package/dist/index277.js +1 -1
  83. package/dist/index280.js +67 -5
  84. package/dist/index281.js +5 -67
  85. package/dist/index282.js +5 -4
  86. package/dist/index283.js +7 -470
  87. package/dist/index284.js +471 -2
  88. package/dist/index285.js +3 -7
  89. package/dist/index286.js +3 -11
  90. package/dist/index287.js +3 -2
  91. package/dist/index289.js +7 -3
  92. package/dist/index29.js +3 -3
  93. package/dist/index290.js +7 -3
  94. package/dist/index291.js +13 -0
  95. package/dist/index292.js +280 -7
  96. package/dist/index293.js +2 -200
  97. package/dist/index294.js +16 -701
  98. package/dist/index295.js +2 -354
  99. package/dist/index296.js +15 -57
  100. package/dist/index297.js +2 -3
  101. package/dist/index298.js +19 -5
  102. package/dist/index299.js +2 -280
  103. package/dist/index300.js +15 -2
  104. package/dist/index301.js +2 -125
  105. package/dist/index302.js +19 -2
  106. package/dist/index303.js +2 -16
  107. package/dist/index304.js +27 -2
  108. package/dist/index305.js +2 -16
  109. package/dist/index306.js +2 -2
  110. package/dist/index307.js +2 -19
  111. package/dist/index308.js +2 -2
  112. package/dist/index309.js +2 -15
  113. package/dist/index31.js +2 -2
  114. package/dist/index310.js +28 -2
  115. package/dist/index311.js +22 -5
  116. package/dist/index313.js +200 -3
  117. package/dist/index314.js +4 -17
  118. package/dist/index315.js +2 -6
  119. package/dist/index316.js +5 -4
  120. package/dist/index317.js +2 -8
  121. package/dist/index318.js +3 -28
  122. package/dist/index319.js +17 -3
  123. package/dist/index320.js +124 -3
  124. package/dist/index321.js +2 -19
  125. package/dist/index322.js +129 -2
  126. package/dist/index323.js +3 -27
  127. package/dist/index324.js +3 -2
  128. package/dist/index325.js +1 -1
  129. package/dist/index326.js +4 -2
  130. package/dist/index327.js +382 -2
  131. package/dist/index328.js +126 -2
  132. package/dist/index329.js +5 -22
  133. package/dist/index33.js +8 -8
  134. package/dist/{index288.js → index330.js} +1 -1
  135. package/dist/index331.js +5 -129
  136. package/dist/index332.js +701 -2
  137. package/dist/index333.js +353 -381
  138. package/dist/index334.js +56 -124
  139. package/dist/index335.js +8 -2
  140. package/dist/index336.js +5 -92
  141. package/dist/index337.js +7 -57
  142. package/dist/index338.js +7 -58
  143. package/dist/index339.js +32 -227
  144. package/dist/index340.js +28 -8
  145. package/dist/index342.js +57 -7
  146. package/dist/index343.js +58 -7
  147. package/dist/index344.js +2 -2
  148. package/dist/index345.js +227 -32
  149. package/dist/index346.js +2 -28
  150. package/dist/index347.js +49 -0
  151. package/dist/index35.js +4 -4
  152. package/dist/index350.js +92 -46
  153. package/dist/index352.js +1 -1
  154. package/dist/index353.js +463 -462
  155. package/dist/index354.js +47 -2
  156. package/dist/index355.js +462 -463
  157. package/dist/index356.js +2 -47
  158. package/dist/index37.js +22 -22
  159. package/dist/index39.js +5 -5
  160. package/dist/index41.js +2 -2
  161. package/dist/index43.js +8 -8
  162. package/dist/index45.js +8 -8
  163. package/dist/index47.js +2 -2
  164. package/dist/index49.js +3 -3
  165. package/dist/index53.js +1 -1
  166. package/dist/index55.js +1 -1
  167. package/dist/index57.js +2 -2
  168. package/dist/index61.js +3 -3
  169. package/dist/index67.js +1 -1
  170. package/dist/index79.js +4 -4
  171. package/dist/index81.js +1 -1
  172. package/dist/index83.js +2 -2
  173. package/dist/index85.js +1 -1
  174. package/dist/index87.js +1 -1
  175. package/dist/index90.js +4 -4
  176. package/dist/index92.js +2 -2
  177. package/dist/index94.js +3 -3
  178. package/dist/index96.js +1 -1
  179. package/package.json +2 -2
  180. package/dist/index213.js +0 -8
  181. package/dist/index215.js +0 -17
  182. package/dist/index217.js +0 -36
  183. package/dist/index240.js +0 -7
  184. package/dist/index255.js +0 -5
  185. package/dist/index272.js +0 -252
  186. package/dist/index312.js +0 -5
  187. package/dist/index341.js +0 -8
package/dist/index353.js CHANGED
@@ -1,483 +1,484 @@
1
- import { commonjsGlobal as D } from "./index315.js";
2
- import { __module as w } from "./index354.js";
3
- w.exports;
4
- var At;
5
- function br() {
6
- return At ? w.exports : (At = 1, function(j, F) {
7
- var Ot = 200, W = "__lodash_hash_undefined__", wt = 800, jt = 16, X = 9007199254740991, Y = "[object Arguments]", Ct = "[object Array]", St = "[object AsyncFunction]", xt = "[object Boolean]", It = "[object Date]", zt = "[object Error]", Z = "[object Function]", Pt = "[object GeneratorFunction]", Et = "[object Map]", Mt = "[object Number]", Dt = "[object Null]", Q = "[object Object]", Ft = "[object Proxy]", Rt = "[object RegExp]", Ut = "[object Set]", Nt = "[object String]", Gt = "[object Undefined]", Lt = "[object WeakMap]", Ht = "[object ArrayBuffer]", Bt = "[object DataView]", $t = "[object Float32Array]", qt = "[object Float64Array]", Kt = "[object Int8Array]", Vt = "[object Int16Array]", Jt = "[object Int32Array]", Wt = "[object Uint8Array]", Xt = "[object Uint8ClampedArray]", Yt = "[object Uint16Array]", Zt = "[object Uint32Array]", Qt = /[\\^$.*+?()[\]{}|]/g, kt = /^\[object .+?Constructor\]$/, te = /^(?:0|[1-9]\d*)$/, u = {};
8
- u[$t] = u[qt] = u[Kt] = u[Vt] = u[Jt] = u[Wt] = u[Xt] = u[Yt] = u[Zt] = !0, u[Y] = u[Ct] = u[Ht] = u[xt] = u[Bt] = u[It] = u[zt] = u[Z] = u[Et] = u[Mt] = u[Q] = u[Rt] = u[Ut] = u[Nt] = u[Lt] = !1;
9
- var k = typeof D == "object" && D && D.Object === Object && D, ee = typeof self == "object" && self && self.Object === Object && self, v = k || ee || Function("return this")(), tt = F && !F.nodeType && F, T = tt && !0 && j && !j.nodeType && j, et = T && T.exports === tt, R = et && k.process, rt = function() {
10
- try {
11
- var t = T && T.require && T.require("util").types;
12
- return t || R && R.binding && R.binding("util");
13
- } catch {
14
- }
15
- }(), nt = rt && rt.isTypedArray;
16
- function re(t, e, r) {
17
- switch (r.length) {
18
- case 0:
19
- return t.call(e);
20
- case 1:
21
- return t.call(e, r[0]);
22
- case 2:
23
- return t.call(e, r[0], r[1]);
24
- case 3:
25
- return t.call(e, r[0], r[1], r[2]);
1
+ import { debounce as I, memo as d, notUndefined as f, approxEqual as M } from "./index354.js";
2
+ const z = (r) => r, y = (r) => {
3
+ const a = Math.max(r.startIndex - r.overscan, 0), t = Math.min(r.endIndex + r.overscan, r.count - 1), s = [];
4
+ for (let e = a; e <= t; e++)
5
+ s.push(e);
6
+ return s;
7
+ }, R = (r, a) => {
8
+ const t = r.scrollElement;
9
+ if (!t)
10
+ return;
11
+ const s = r.targetWindow;
12
+ if (!s)
13
+ return;
14
+ const e = (n) => {
15
+ const { width: o, height: l } = n;
16
+ a({ width: Math.round(o), height: Math.round(l) });
17
+ };
18
+ if (e(t.getBoundingClientRect()), !s.ResizeObserver)
19
+ return () => {
20
+ };
21
+ const i = new s.ResizeObserver((n) => {
22
+ const o = () => {
23
+ const l = n[0];
24
+ if (l != null && l.borderBoxSize) {
25
+ const c = l.borderBoxSize[0];
26
+ if (c) {
27
+ e({ width: c.inlineSize, height: c.blockSize });
28
+ return;
29
+ }
26
30
  }
27
- return t.apply(e, r);
28
- }
29
- function ne(t, e) {
30
- for (var r = -1, n = Array(t); ++r < t; )
31
- n[r] = e(r);
32
- return n;
33
- }
34
- function ie(t) {
35
- return function(e) {
36
- return t(e);
31
+ e(t.getBoundingClientRect());
32
+ };
33
+ r.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(o) : o();
34
+ });
35
+ return i.observe(t, { box: "border-box" }), () => {
36
+ i.unobserve(t);
37
+ };
38
+ }, b = {
39
+ passive: !0
40
+ }, E = typeof window > "u" ? !0 : "onscrollend" in window, _ = (r, a) => {
41
+ const t = r.scrollElement;
42
+ if (!t)
43
+ return;
44
+ const s = r.targetWindow;
45
+ if (!s)
46
+ return;
47
+ let e = 0;
48
+ const i = r.options.useScrollendEvent && E ? () => {
49
+ } : I(
50
+ s,
51
+ () => {
52
+ a(e, !1);
53
+ },
54
+ r.options.isScrollingResetDelay
55
+ ), n = (h) => () => {
56
+ const { horizontal: m, isRtl: u } = r.options;
57
+ e = m ? t.scrollLeft * (u && -1 || 1) : t.scrollTop, i(), a(e, h);
58
+ }, o = n(!0), l = n(!1);
59
+ l(), t.addEventListener("scroll", o, b);
60
+ const c = r.options.useScrollendEvent && E;
61
+ return c && t.addEventListener("scrollend", l, b), () => {
62
+ t.removeEventListener("scroll", o), c && t.removeEventListener("scrollend", l);
63
+ };
64
+ }, w = (r, a, t) => {
65
+ if (a != null && a.borderBoxSize) {
66
+ const s = a.borderBoxSize[0];
67
+ if (s)
68
+ return Math.round(
69
+ s[t.options.horizontal ? "inlineSize" : "blockSize"]
70
+ );
71
+ }
72
+ return Math.round(
73
+ r.getBoundingClientRect()[t.options.horizontal ? "width" : "height"]
74
+ );
75
+ }, A = (r, {
76
+ adjustments: a = 0,
77
+ behavior: t
78
+ }, s) => {
79
+ var e, i;
80
+ const n = r + a;
81
+ (i = (e = s.scrollElement) == null ? void 0 : e.scrollTo) == null || i.call(e, {
82
+ [s.options.horizontal ? "left" : "top"]: n,
83
+ behavior: t
84
+ });
85
+ };
86
+ class D {
87
+ constructor(a) {
88
+ this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollToIndexTimeoutId = null, this.measurementsCache = [], this.itemSizeCache = /* @__PURE__ */ new Map(), this.pendingMeasuredCacheIndexes = [], this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this.elementsCache = /* @__PURE__ */ new Map(), this.observer = /* @__PURE__ */ (() => {
89
+ let t = null;
90
+ const s = () => t || (!this.targetWindow || !this.targetWindow.ResizeObserver ? null : t = new this.targetWindow.ResizeObserver((e) => {
91
+ e.forEach((i) => {
92
+ const n = () => {
93
+ this._measureElement(i.target, i);
94
+ };
95
+ this.options.useAnimationFrameWithResizeObserver ? requestAnimationFrame(n) : n();
96
+ });
97
+ }));
98
+ return {
99
+ disconnect: () => {
100
+ var e;
101
+ (e = s()) == null || e.disconnect(), t = null;
102
+ },
103
+ observe: (e) => {
104
+ var i;
105
+ return (i = s()) == null ? void 0 : i.observe(e, { box: "border-box" });
106
+ },
107
+ unobserve: (e) => {
108
+ var i;
109
+ return (i = s()) == null ? void 0 : i.unobserve(e);
110
+ }
37
111
  };
38
- }
39
- function ae(t, e) {
40
- return t == null ? void 0 : t[e];
41
- }
42
- function oe(t, e) {
43
- return function(r) {
44
- return t(e(r));
112
+ })(), this.range = null, this.setOptions = (t) => {
113
+ Object.entries(t).forEach(([s, e]) => {
114
+ typeof e > "u" && delete t[s];
115
+ }), this.options = {
116
+ debug: !1,
117
+ initialOffset: 0,
118
+ overscan: 1,
119
+ paddingStart: 0,
120
+ paddingEnd: 0,
121
+ scrollPaddingStart: 0,
122
+ scrollPaddingEnd: 0,
123
+ horizontal: !1,
124
+ getItemKey: z,
125
+ rangeExtractor: y,
126
+ onChange: () => {
127
+ },
128
+ measureElement: w,
129
+ initialRect: { width: 0, height: 0 },
130
+ scrollMargin: 0,
131
+ gap: 0,
132
+ indexAttribute: "data-index",
133
+ initialMeasurementsCache: [],
134
+ lanes: 1,
135
+ isScrollingResetDelay: 150,
136
+ enabled: !0,
137
+ isRtl: !1,
138
+ useScrollendEvent: !0,
139
+ useAnimationFrameWithResizeObserver: !1,
140
+ ...t
45
141
  };
46
- }
47
- var ue = Array.prototype, se = Function.prototype, C = Object.prototype, U = v["__core-js_shared__"], S = se.toString, p = C.hasOwnProperty, it = function() {
48
- var t = /[^.]+$/.exec(U && U.keys && U.keys.IE_PROTO || "");
49
- return t ? "Symbol(src)_1." + t : "";
50
- }(), at = C.toString, fe = S.call(Object), ce = RegExp(
51
- "^" + S.call(p).replace(Qt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
52
- ), x = et ? v.Buffer : void 0, ot = v.Symbol, ut = v.Uint8Array;
53
- x && x.allocUnsafe;
54
- var st = oe(Object.getPrototypeOf, Object), ft = Object.create, le = C.propertyIsEnumerable, he = ue.splice, d = ot ? ot.toStringTag : void 0, I = function() {
55
- try {
56
- var t = L(Object, "defineProperty");
57
- return t({}, "", {}), t;
58
- } catch {
142
+ }, this.notify = (t) => {
143
+ var s, e;
144
+ (e = (s = this.options).onChange) == null || e.call(s, this, t);
145
+ }, this.maybeNotify = d(
146
+ () => (this.calculateRange(), [
147
+ this.isScrolling,
148
+ this.range ? this.range.startIndex : null,
149
+ this.range ? this.range.endIndex : null
150
+ ]),
151
+ (t) => {
152
+ this.notify(t);
153
+ },
154
+ {
155
+ key: process.env.NODE_ENV !== "production" && "maybeNotify",
156
+ debug: () => this.options.debug,
157
+ initialDeps: [
158
+ this.isScrolling,
159
+ this.range ? this.range.startIndex : null,
160
+ this.range ? this.range.endIndex : null
161
+ ]
59
162
  }
60
- }(), pe = x ? x.isBuffer : void 0, ct = Math.max, de = Date.now, lt = L(v, "Map"), m = L(Object, "create"), ge = /* @__PURE__ */ function() {
61
- function t() {
163
+ ), this.cleanup = () => {
164
+ this.unsubs.filter(Boolean).forEach((t) => t()), this.unsubs = [], this.observer.disconnect(), this.scrollElement = null, this.targetWindow = null;
165
+ }, this._didMount = () => () => {
166
+ this.cleanup();
167
+ }, this._willUpdate = () => {
168
+ var t;
169
+ const s = this.options.enabled ? this.options.getScrollElement() : null;
170
+ if (this.scrollElement !== s) {
171
+ if (this.cleanup(), !s) {
172
+ this.maybeNotify();
173
+ return;
174
+ }
175
+ this.scrollElement = s, this.scrollElement && "ownerDocument" in this.scrollElement ? this.targetWindow = this.scrollElement.ownerDocument.defaultView : this.targetWindow = ((t = this.scrollElement) == null ? void 0 : t.window) ?? null, this.elementsCache.forEach((e) => {
176
+ this.observer.observe(e);
177
+ }), this._scrollToOffset(this.getScrollOffset(), {
178
+ adjustments: void 0,
179
+ behavior: void 0
180
+ }), this.unsubs.push(
181
+ this.options.observeElementRect(this, (e) => {
182
+ this.scrollRect = e, this.maybeNotify();
183
+ })
184
+ ), this.unsubs.push(
185
+ this.options.observeElementOffset(this, (e, i) => {
186
+ this.scrollAdjustments = 0, this.scrollDirection = i ? this.getScrollOffset() < e ? "forward" : "backward" : null, this.scrollOffset = e, this.isScrolling = i, this.maybeNotify();
187
+ })
188
+ );
62
189
  }
63
- return function(e) {
64
- if (!_(e))
65
- return {};
66
- if (ft)
67
- return ft(e);
68
- t.prototype = e;
69
- var r = new t();
70
- return t.prototype = void 0, r;
71
- };
72
- }();
73
- function g(t) {
74
- var e = -1, r = t == null ? 0 : t.length;
75
- for (this.clear(); ++e < r; ) {
76
- var n = t[e];
77
- this.set(n[0], n[1]);
190
+ }, this.getSize = () => this.options.enabled ? (this.scrollRect = this.scrollRect ?? this.options.initialRect, this.scrollRect[this.options.horizontal ? "width" : "height"]) : (this.scrollRect = null, 0), this.getScrollOffset = () => this.options.enabled ? (this.scrollOffset = this.scrollOffset ?? (typeof this.options.initialOffset == "function" ? this.options.initialOffset() : this.options.initialOffset), this.scrollOffset) : (this.scrollOffset = null, 0), this.getFurthestMeasurement = (t, s) => {
191
+ const e = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
192
+ for (let n = s - 1; n >= 0; n--) {
193
+ const o = t[n];
194
+ if (e.has(o.lane))
195
+ continue;
196
+ const l = i.get(
197
+ o.lane
198
+ );
199
+ if (l == null || o.end > l.end ? i.set(o.lane, o) : o.end < l.end && e.set(o.lane, !0), e.size === this.options.lanes)
200
+ break;
78
201
  }
79
- }
80
- function _e() {
81
- this.__data__ = m ? m(null) : {}, this.size = 0;
82
- }
83
- function be(t) {
84
- var e = this.has(t) && delete this.__data__[t];
85
- return this.size -= e ? 1 : 0, e;
86
- }
87
- function ye(t) {
88
- var e = this.__data__;
89
- if (m) {
90
- var r = e[t];
91
- return r === W ? void 0 : r;
202
+ return i.size === this.options.lanes ? Array.from(i.values()).sort((n, o) => n.end === o.end ? n.index - o.index : n.end - o.end)[0] : void 0;
203
+ }, this.getMeasurementOptions = d(
204
+ () => [
205
+ this.options.count,
206
+ this.options.paddingStart,
207
+ this.options.scrollMargin,
208
+ this.options.getItemKey,
209
+ this.options.enabled
210
+ ],
211
+ (t, s, e, i, n) => (this.pendingMeasuredCacheIndexes = [], {
212
+ count: t,
213
+ paddingStart: s,
214
+ scrollMargin: e,
215
+ getItemKey: i,
216
+ enabled: n
217
+ }),
218
+ {
219
+ key: !1
92
220
  }
93
- return p.call(e, t) ? e[t] : void 0;
94
- }
95
- function ve(t) {
96
- var e = this.__data__;
97
- return m ? e[t] !== void 0 : p.call(e, t);
98
- }
99
- function Te(t, e) {
100
- var r = this.__data__;
101
- return this.size += this.has(t) ? 0 : 1, r[t] = m && e === void 0 ? W : e, this;
102
- }
103
- g.prototype.clear = _e, g.prototype.delete = be, g.prototype.get = ye, g.prototype.has = ve, g.prototype.set = Te;
104
- function h(t) {
105
- var e = -1, r = t == null ? 0 : t.length;
106
- for (this.clear(); ++e < r; ) {
107
- var n = t[e];
108
- this.set(n[0], n[1]);
221
+ ), this.getMeasurements = d(
222
+ () => [this.getMeasurementOptions(), this.itemSizeCache],
223
+ ({ count: t, paddingStart: s, scrollMargin: e, getItemKey: i, enabled: n }, o) => {
224
+ if (!n)
225
+ return this.measurementsCache = [], this.itemSizeCache.clear(), [];
226
+ this.measurementsCache.length === 0 && (this.measurementsCache = this.options.initialMeasurementsCache, this.measurementsCache.forEach((h) => {
227
+ this.itemSizeCache.set(h.key, h.size);
228
+ }));
229
+ const l = this.pendingMeasuredCacheIndexes.length > 0 ? Math.min(...this.pendingMeasuredCacheIndexes) : 0;
230
+ this.pendingMeasuredCacheIndexes = [];
231
+ const c = this.measurementsCache.slice(0, l);
232
+ for (let h = l; h < t; h++) {
233
+ const m = i(h), u = this.options.lanes === 1 ? c[h - 1] : this.getFurthestMeasurement(c, h), g = u ? u.end + this.options.gap : s + e, p = o.get(m), v = typeof p == "number" ? p : this.options.estimateSize(h), S = g + v, O = u ? u.lane : h % this.options.lanes;
234
+ c[h] = {
235
+ index: h,
236
+ start: g,
237
+ size: v,
238
+ end: S,
239
+ key: m,
240
+ lane: O
241
+ };
242
+ }
243
+ return this.measurementsCache = c, c;
244
+ },
245
+ {
246
+ key: process.env.NODE_ENV !== "production" && "getMeasurements",
247
+ debug: () => this.options.debug
109
248
  }
110
- }
111
- function me() {
112
- this.__data__ = [], this.size = 0;
113
- }
114
- function Ae(t) {
115
- var e = this.__data__, r = z(e, t);
116
- if (r < 0)
117
- return !1;
118
- var n = e.length - 1;
119
- return r == n ? e.pop() : he.call(e, r, 1), --this.size, !0;
120
- }
121
- function Oe(t) {
122
- var e = this.__data__, r = z(e, t);
123
- return r < 0 ? void 0 : e[r][1];
124
- }
125
- function we(t) {
126
- return z(this.__data__, t) > -1;
127
- }
128
- function je(t, e) {
129
- var r = this.__data__, n = z(r, t);
130
- return n < 0 ? (++this.size, r.push([t, e])) : r[n][1] = e, this;
131
- }
132
- h.prototype.clear = me, h.prototype.delete = Ae, h.prototype.get = Oe, h.prototype.has = we, h.prototype.set = je;
133
- function b(t) {
134
- var e = -1, r = t == null ? 0 : t.length;
135
- for (this.clear(); ++e < r; ) {
136
- var n = t[e];
137
- this.set(n[0], n[1]);
249
+ ), this.calculateRange = d(
250
+ () => [
251
+ this.getMeasurements(),
252
+ this.getSize(),
253
+ this.getScrollOffset(),
254
+ this.options.lanes
255
+ ],
256
+ (t, s, e, i) => this.range = t.length > 0 && s > 0 ? C({
257
+ measurements: t,
258
+ outerSize: s,
259
+ scrollOffset: e,
260
+ lanes: i
261
+ }) : null,
262
+ {
263
+ key: process.env.NODE_ENV !== "production" && "calculateRange",
264
+ debug: () => this.options.debug
138
265
  }
139
- }
140
- function Ce() {
141
- this.size = 0, this.__data__ = {
142
- hash: new g(),
143
- map: new (lt || h)(),
144
- string: new g()
145
- };
146
- }
147
- function Se(t) {
148
- var e = E(this, t).delete(t);
149
- return this.size -= e ? 1 : 0, e;
150
- }
151
- function xe(t) {
152
- return E(this, t).get(t);
153
- }
154
- function Ie(t) {
155
- return E(this, t).has(t);
156
- }
157
- function ze(t, e) {
158
- var r = E(this, t), n = r.size;
159
- return r.set(t, e), this.size += r.size == n ? 0 : 1, this;
160
- }
161
- b.prototype.clear = Ce, b.prototype.delete = Se, b.prototype.get = xe, b.prototype.has = Ie, b.prototype.set = ze;
162
- function y(t) {
163
- var e = this.__data__ = new h(t);
164
- this.size = e.size;
165
- }
166
- function Pe() {
167
- this.__data__ = new h(), this.size = 0;
168
- }
169
- function Ee(t) {
170
- var e = this.__data__, r = e.delete(t);
171
- return this.size = e.size, r;
172
- }
173
- function Me(t) {
174
- return this.__data__.get(t);
175
- }
176
- function De(t) {
177
- return this.__data__.has(t);
178
- }
179
- function Fe(t, e) {
180
- var r = this.__data__;
181
- if (r instanceof h) {
182
- var n = r.__data__;
183
- if (!lt || n.length < Ot - 1)
184
- return n.push([t, e]), this.size = ++r.size, this;
185
- r = this.__data__ = new b(n);
266
+ ), this.getVirtualIndexes = d(
267
+ () => {
268
+ let t = null, s = null;
269
+ const e = this.calculateRange();
270
+ return e && (t = e.startIndex, s = e.endIndex), [
271
+ this.options.rangeExtractor,
272
+ this.options.overscan,
273
+ this.options.count,
274
+ t,
275
+ s
276
+ ];
277
+ },
278
+ (t, s, e, i, n) => i === null || n === null ? [] : t({
279
+ startIndex: i,
280
+ endIndex: n,
281
+ overscan: s,
282
+ count: e
283
+ }),
284
+ {
285
+ key: process.env.NODE_ENV !== "production" && "getVirtualIndexes",
286
+ debug: () => this.options.debug
186
287
  }
187
- return r.set(t, e), this.size = r.size, this;
188
- }
189
- y.prototype.clear = Pe, y.prototype.delete = Ee, y.prototype.get = Me, y.prototype.has = De, y.prototype.set = Fe;
190
- function Re(t, e) {
191
- var r = $(t), n = !r && B(t), i = !r && !n && _t(t), o = !r && !n && !i && yt(t), s = r || n || i || o, a = s ? ne(t.length, String) : [], f = a.length;
192
- for (var l in t)
193
- s && // Safari 9 has enumerable `arguments.length` in strict mode.
194
- (l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
195
- i && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
196
- o && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
197
- dt(l, f)) || a.push(l);
198
- return a;
199
- }
200
- function N(t, e, r) {
201
- (r !== void 0 && !M(t[e], r) || r === void 0 && !(e in t)) && G(t, e, r);
202
- }
203
- function Ue(t, e, r) {
204
- var n = t[e];
205
- (!(p.call(t, e) && M(n, r)) || r === void 0 && !(e in t)) && G(t, e, r);
206
- }
207
- function z(t, e) {
208
- for (var r = t.length; r--; )
209
- if (M(t[r][0], e))
210
- return r;
211
- return -1;
212
- }
213
- function G(t, e, r) {
214
- e == "__proto__" && I ? I(t, e, {
215
- configurable: !0,
216
- enumerable: !0,
217
- value: r,
218
- writable: !0
219
- }) : t[e] = r;
220
- }
221
- var Ne = Ze();
222
- function P(t) {
223
- return t == null ? t === void 0 ? Gt : Dt : d && d in Object(t) ? Qe(t) : ir(t);
224
- }
225
- function ht(t) {
226
- return A(t) && P(t) == Y;
227
- }
228
- function Ge(t) {
229
- if (!_(t) || rr(t))
230
- return !1;
231
- var e = K(t) ? ce : kt;
232
- return e.test(sr(t));
233
- }
234
- function Le(t) {
235
- return A(t) && bt(t.length) && !!u[P(t)];
236
- }
237
- function He(t) {
238
- if (!_(t))
239
- return nr(t);
240
- var e = gt(t), r = [];
241
- for (var n in t)
242
- n == "constructor" && (e || !p.call(t, n)) || r.push(n);
243
- return r;
244
- }
245
- function pt(t, e, r, n, i) {
246
- t !== e && Ne(e, function(o, s) {
247
- if (i || (i = new y()), _(o))
248
- Be(t, e, s, r, pt, n, i);
249
- else {
250
- var a = n ? n(H(t, s), o, s + "", t, e, i) : void 0;
251
- a === void 0 && (a = o), N(t, s, a);
252
- }
253
- }, vt);
254
- }
255
- function Be(t, e, r, n, i, o, s) {
256
- var a = H(t, r), f = H(e, r), l = s.get(f);
257
- if (l) {
258
- N(t, r, l);
288
+ ), this.indexFromElement = (t) => {
289
+ const s = this.options.indexAttribute, e = t.getAttribute(s);
290
+ return e ? parseInt(e, 10) : (console.warn(
291
+ `Missing attribute name '${s}={index}' on measured element.`
292
+ ), -1);
293
+ }, this._measureElement = (t, s) => {
294
+ const e = this.indexFromElement(t), i = this.measurementsCache[e];
295
+ if (!i)
296
+ return;
297
+ const n = i.key, o = this.elementsCache.get(n);
298
+ o !== t && (o && this.observer.unobserve(o), this.observer.observe(t), this.elementsCache.set(n, t)), t.isConnected && this.resizeItem(e, this.options.measureElement(t, s, this));
299
+ }, this.resizeItem = (t, s) => {
300
+ const e = this.measurementsCache[t];
301
+ if (!e)
302
+ return;
303
+ const i = this.itemSizeCache.get(e.key) ?? e.size, n = s - i;
304
+ n !== 0 && ((this.shouldAdjustScrollPositionOnItemSizeChange !== void 0 ? this.shouldAdjustScrollPositionOnItemSizeChange(e, n, this) : e.start < this.getScrollOffset() + this.scrollAdjustments) && (process.env.NODE_ENV !== "production" && this.options.debug && console.info("correction", n), this._scrollToOffset(this.getScrollOffset(), {
305
+ adjustments: this.scrollAdjustments += n,
306
+ behavior: void 0
307
+ })), this.pendingMeasuredCacheIndexes.push(e.index), this.itemSizeCache = new Map(this.itemSizeCache.set(e.key, s)), this.notify(!1));
308
+ }, this.measureElement = (t) => {
309
+ if (!t) {
310
+ this.elementsCache.forEach((s, e) => {
311
+ s.isConnected || (this.observer.unobserve(s), this.elementsCache.delete(e));
312
+ });
259
313
  return;
260
314
  }
261
- var c = o ? o(a, f, r + "", t, e, s) : void 0, O = c === void 0;
262
- if (O) {
263
- var V = $(f), J = !V && _t(f), mt = !V && !J && yt(f);
264
- c = f, V || J || mt ? $(a) ? c = a : fr(a) ? c = We(a) : J ? (O = !1, c = Ke(f)) : mt ? (O = !1, c = Je(f)) : c = [] : cr(f) || B(f) ? (c = a, B(a) ? c = lr(a) : (!_(a) || K(a)) && (c = ke(f))) : O = !1;
265
- }
266
- O && (s.set(f, c), i(c, f, n, o, s), s.delete(f)), N(t, r, c);
267
- }
268
- function $e(t, e) {
269
- return or(ar(t, e, Tt), t + "");
270
- }
271
- var qe = I ? function(t, e) {
272
- return I(t, "toString", {
273
- configurable: !0,
274
- enumerable: !1,
275
- value: pr(e),
276
- writable: !0
277
- });
278
- } : Tt;
279
- function Ke(t, e) {
280
- return t.slice();
281
- }
282
- function Ve(t) {
283
- var e = new t.constructor(t.byteLength);
284
- return new ut(e).set(new ut(t)), e;
285
- }
286
- function Je(t, e) {
287
- var r = Ve(t.buffer);
288
- return new t.constructor(r, t.byteOffset, t.length);
289
- }
290
- function We(t, e) {
291
- var r = -1, n = t.length;
292
- for (e || (e = Array(n)); ++r < n; )
293
- e[r] = t[r];
294
- return e;
295
- }
296
- function Xe(t, e, r, n) {
297
- var i = !r;
298
- r || (r = {});
299
- for (var o = -1, s = e.length; ++o < s; ) {
300
- var a = e[o], f = void 0;
301
- f === void 0 && (f = t[a]), i ? G(r, a, f) : Ue(r, a, f);
302
- }
303
- return r;
304
- }
305
- function Ye(t) {
306
- return $e(function(e, r) {
307
- var n = -1, i = r.length, o = i > 1 ? r[i - 1] : void 0, s = i > 2 ? r[2] : void 0;
308
- for (o = t.length > 3 && typeof o == "function" ? (i--, o) : void 0, s && tr(r[0], r[1], s) && (o = i < 3 ? void 0 : o, i = 1), e = Object(e); ++n < i; ) {
309
- var a = r[n];
310
- a && t(e, a, n, o);
315
+ this._measureElement(t, void 0);
316
+ }, this.getVirtualItems = d(
317
+ () => [this.getVirtualIndexes(), this.getMeasurements()],
318
+ (t, s) => {
319
+ const e = [];
320
+ for (let i = 0, n = t.length; i < n; i++) {
321
+ const o = t[i], l = s[o];
322
+ e.push(l);
311
323
  }
312
324
  return e;
313
- });
314
- }
315
- function Ze(t) {
316
- return function(e, r, n) {
317
- for (var i = -1, o = Object(e), s = n(e), a = s.length; a--; ) {
318
- var f = s[++i];
319
- if (r(o[f], f, o) === !1)
320
- break;
321
- }
322
- return e;
323
- };
324
- }
325
- function E(t, e) {
326
- var r = t.__data__;
327
- return er(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
328
- }
329
- function L(t, e) {
330
- var r = ae(t, e);
331
- return Ge(r) ? r : void 0;
332
- }
333
- function Qe(t) {
334
- var e = p.call(t, d), r = t[d];
335
- try {
336
- t[d] = void 0;
337
- var n = !0;
338
- } catch {
325
+ },
326
+ {
327
+ key: process.env.NODE_ENV !== "production" && "getVirtualItems",
328
+ debug: () => this.options.debug
339
329
  }
340
- var i = at.call(t);
341
- return n && (e ? t[d] = r : delete t[d]), i;
342
- }
343
- function ke(t) {
344
- return typeof t.constructor == "function" && !gt(t) ? ge(st(t)) : {};
345
- }
346
- function dt(t, e) {
347
- var r = typeof t;
348
- return e = e ?? X, !!e && (r == "number" || r != "symbol" && te.test(t)) && t > -1 && t % 1 == 0 && t < e;
349
- }
350
- function tr(t, e, r) {
351
- if (!_(r))
352
- return !1;
353
- var n = typeof e;
354
- return (n == "number" ? q(r) && dt(e, r.length) : n == "string" && e in r) ? M(r[e], t) : !1;
355
- }
356
- function er(t) {
357
- var e = typeof t;
358
- return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
359
- }
360
- function rr(t) {
361
- return !!it && it in t;
362
- }
363
- function gt(t) {
364
- var e = t && t.constructor, r = typeof e == "function" && e.prototype || C;
365
- return t === r;
366
- }
367
- function nr(t) {
368
- var e = [];
369
- if (t != null)
370
- for (var r in Object(t))
371
- e.push(r);
372
- return e;
373
- }
374
- function ir(t) {
375
- return at.call(t);
376
- }
377
- function ar(t, e, r) {
378
- return e = ct(e === void 0 ? t.length - 1 : e, 0), function() {
379
- for (var n = arguments, i = -1, o = ct(n.length - e, 0), s = Array(o); ++i < o; )
380
- s[i] = n[e + i];
381
- i = -1;
382
- for (var a = Array(e + 1); ++i < e; )
383
- a[i] = n[i];
384
- return a[e] = r(s), re(t, this, a);
385
- };
386
- }
387
- function H(t, e) {
388
- if (!(e === "constructor" && typeof t[e] == "function") && e != "__proto__")
389
- return t[e];
390
- }
391
- var or = ur(qe);
392
- function ur(t) {
393
- var e = 0, r = 0;
394
- return function() {
395
- var n = de(), i = jt - (n - r);
396
- if (r = n, i > 0) {
397
- if (++e >= wt)
398
- return arguments[0];
330
+ ), this.getVirtualItemForOffset = (t) => {
331
+ const s = this.getMeasurements();
332
+ if (s.length !== 0)
333
+ return f(
334
+ s[x(
335
+ 0,
336
+ s.length - 1,
337
+ (e) => f(s[e]).start,
338
+ t
339
+ )]
340
+ );
341
+ }, this.getOffsetForAlignment = (t, s, e = 0) => {
342
+ const i = this.getSize(), n = this.getScrollOffset();
343
+ s === "auto" && (s = t >= n + i ? "end" : "start"), s === "center" ? t += (e - i) / 2 : s === "end" && (t -= i);
344
+ const o = this.options.horizontal ? "scrollWidth" : "scrollHeight", c = (this.scrollElement ? "document" in this.scrollElement ? this.scrollElement.document.documentElement[o] : this.scrollElement[o] : 0) - i;
345
+ return Math.max(Math.min(c, t), 0);
346
+ }, this.getOffsetForIndex = (t, s = "auto") => {
347
+ t = Math.max(0, Math.min(t, this.options.count - 1));
348
+ const e = this.measurementsCache[t];
349
+ if (!e)
350
+ return;
351
+ const i = this.getSize(), n = this.getScrollOffset();
352
+ if (s === "auto")
353
+ if (e.end >= n + i - this.options.scrollPaddingEnd)
354
+ s = "end";
355
+ else if (e.start <= n + this.options.scrollPaddingStart)
356
+ s = "start";
357
+ else
358
+ return [n, s];
359
+ const o = s === "end" ? e.end + this.options.scrollPaddingEnd : e.start - this.options.scrollPaddingStart;
360
+ return [
361
+ this.getOffsetForAlignment(o, s, e.size),
362
+ s
363
+ ];
364
+ }, this.isDynamicMode = () => this.elementsCache.size > 0, this.cancelScrollToIndex = () => {
365
+ this.scrollToIndexTimeoutId !== null && this.targetWindow && (this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId), this.scrollToIndexTimeoutId = null);
366
+ }, this.scrollToOffset = (t, { align: s = "start", behavior: e } = {}) => {
367
+ this.cancelScrollToIndex(), e === "smooth" && this.isDynamicMode() && console.warn(
368
+ "The `smooth` scroll behavior is not fully supported with dynamic size."
369
+ ), this._scrollToOffset(this.getOffsetForAlignment(t, s), {
370
+ adjustments: void 0,
371
+ behavior: e
372
+ });
373
+ }, this.scrollToIndex = (t, { align: s = "auto", behavior: e } = {}) => {
374
+ t = Math.max(0, Math.min(t, this.options.count - 1)), this.cancelScrollToIndex(), e === "smooth" && this.isDynamicMode() && console.warn(
375
+ "The `smooth` scroll behavior is not fully supported with dynamic size."
376
+ );
377
+ const i = this.getOffsetForIndex(t, s);
378
+ if (!i) return;
379
+ const [n, o] = i;
380
+ this._scrollToOffset(n, { adjustments: void 0, behavior: e }), e !== "smooth" && this.isDynamicMode() && this.targetWindow && (this.scrollToIndexTimeoutId = this.targetWindow.setTimeout(() => {
381
+ if (this.scrollToIndexTimeoutId = null, this.elementsCache.has(
382
+ this.options.getItemKey(t)
383
+ )) {
384
+ const [c] = f(
385
+ this.getOffsetForIndex(t, o)
386
+ );
387
+ M(c, this.getScrollOffset()) || this.scrollToIndex(t, { align: o, behavior: e });
399
388
  } else
400
- e = 0;
401
- return t.apply(void 0, arguments);
402
- };
403
- }
404
- function sr(t) {
405
- if (t != null) {
406
- try {
407
- return S.call(t);
408
- } catch {
409
- }
410
- try {
411
- return t + "";
412
- } catch {
389
+ this.scrollToIndex(t, { align: o, behavior: e });
390
+ }));
391
+ }, this.scrollBy = (t, { behavior: s } = {}) => {
392
+ this.cancelScrollToIndex(), s === "smooth" && this.isDynamicMode() && console.warn(
393
+ "The `smooth` scroll behavior is not fully supported with dynamic size."
394
+ ), this._scrollToOffset(this.getScrollOffset() + t, {
395
+ adjustments: void 0,
396
+ behavior: s
397
+ });
398
+ }, this.getTotalSize = () => {
399
+ var t;
400
+ const s = this.getMeasurements();
401
+ let e;
402
+ if (s.length === 0)
403
+ e = this.options.paddingStart;
404
+ else if (this.options.lanes === 1)
405
+ e = ((t = s[s.length - 1]) == null ? void 0 : t.end) ?? 0;
406
+ else {
407
+ const i = Array(this.options.lanes).fill(null);
408
+ let n = s.length - 1;
409
+ for (; n > 0 && i.some((o) => o === null); ) {
410
+ const o = s[n];
411
+ i[o.lane] === null && (i[o.lane] = o.end), n--;
413
412
  }
413
+ e = Math.max(...i.filter((o) => o !== null));
414
414
  }
415
- return "";
416
- }
417
- function M(t, e) {
418
- return t === e || t !== t && e !== e;
419
- }
420
- var B = ht(/* @__PURE__ */ function() {
421
- return arguments;
422
- }()) ? ht : function(t) {
423
- return A(t) && p.call(t, "callee") && !le.call(t, "callee");
424
- }, $ = Array.isArray;
425
- function q(t) {
426
- return t != null && bt(t.length) && !K(t);
427
- }
428
- function fr(t) {
429
- return A(t) && q(t);
430
- }
431
- var _t = pe || dr;
432
- function K(t) {
433
- if (!_(t))
434
- return !1;
435
- var e = P(t);
436
- return e == Z || e == Pt || e == St || e == Ft;
437
- }
438
- function bt(t) {
439
- return typeof t == "number" && t > -1 && t % 1 == 0 && t <= X;
440
- }
441
- function _(t) {
442
- var e = typeof t;
443
- return t != null && (e == "object" || e == "function");
444
- }
445
- function A(t) {
446
- return t != null && typeof t == "object";
447
- }
448
- function cr(t) {
449
- if (!A(t) || P(t) != Q)
450
- return !1;
451
- var e = st(t);
452
- if (e === null)
453
- return !0;
454
- var r = p.call(e, "constructor") && e.constructor;
455
- return typeof r == "function" && r instanceof r && S.call(r) == fe;
456
- }
457
- var yt = nt ? ie(nt) : Le;
458
- function lr(t) {
459
- return Xe(t, vt(t));
460
- }
461
- function vt(t) {
462
- return q(t) ? Re(t) : He(t);
463
- }
464
- var hr = Ye(function(t, e, r) {
465
- pt(t, e, r);
466
- });
467
- function pr(t) {
468
- return function() {
469
- return t;
470
- };
471
- }
472
- function Tt(t) {
473
- return t;
474
- }
475
- function dr() {
476
- return !1;
477
- }
478
- j.exports = hr;
479
- }(w, w.exports), w.exports);
415
+ return Math.max(
416
+ e - this.options.scrollMargin + this.options.paddingEnd,
417
+ 0
418
+ );
419
+ }, this._scrollToOffset = (t, {
420
+ adjustments: s,
421
+ behavior: e
422
+ }) => {
423
+ this.options.scrollToFn(t, { behavior: e, adjustments: s }, this);
424
+ }, this.measure = () => {
425
+ this.itemSizeCache = /* @__PURE__ */ new Map(), this.notify(!1);
426
+ }, this.setOptions(a);
427
+ }
428
+ }
429
+ const x = (r, a, t, s) => {
430
+ for (; r <= a; ) {
431
+ const e = (r + a) / 2 | 0, i = t(e);
432
+ if (i < s)
433
+ r = e + 1;
434
+ else if (i > s)
435
+ a = e - 1;
436
+ else
437
+ return e;
438
+ }
439
+ return r > 0 ? r - 1 : 0;
440
+ };
441
+ function C({
442
+ measurements: r,
443
+ outerSize: a,
444
+ scrollOffset: t,
445
+ lanes: s
446
+ }) {
447
+ const e = r.length - 1;
448
+ let n = x(
449
+ 0,
450
+ e,
451
+ (l) => r[l].start,
452
+ t
453
+ ), o = n;
454
+ if (s === 1)
455
+ for (; o < e && r[o].end < t + a; )
456
+ o++;
457
+ else if (s > 1) {
458
+ const l = Array(s).fill(0);
459
+ for (; o < e && l.some((h) => h < t + a); ) {
460
+ const h = r[o];
461
+ l[h.lane] = h.end, o++;
462
+ }
463
+ const c = Array(s).fill(t + a);
464
+ for (; n > 0 && c.some((h) => h >= t); ) {
465
+ const h = r[n];
466
+ c[h.lane] = h.start, n--;
467
+ }
468
+ n = Math.max(0, n - n % s), o = Math.min(e, o + (s - 1 - o % s));
469
+ }
470
+ return { startIndex: n, endIndex: o };
480
471
  }
481
472
  export {
482
- br as __require
473
+ D as Virtualizer,
474
+ M as approxEqual,
475
+ I as debounce,
476
+ z as defaultKeyExtractor,
477
+ y as defaultRangeExtractor,
478
+ A as elementScroll,
479
+ w as measureElement,
480
+ d as memo,
481
+ f as notUndefined,
482
+ _ as observeElementOffset,
483
+ R as observeElementRect
483
484
  };