virtua 0.52.6 → 0.52.8

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.
package/lib/vue/index.cjs CHANGED
@@ -11,93 +11,86 @@ var t, o = [], {min: r, max: n, abs: s, floor: l} = Math, i = (e, t, o) => r(o,
11
11
  return [ new Promise(t => {
12
12
  e = t;
13
13
  }), e ];
14
- }, p = e => e.ownerDocument, m = e => e.defaultView, g = () => (null == t && (t = /iP(hone|od|ad)/.test(navigator.userAgent) || "MacIntel" === navigator.platform && navigator.maxTouchPoints > 0),
15
- t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, S: c, t: a, h: u, v: f, I: d}, p = 0) => {
16
- let m = !!d, _ = !!p, $ = 1, S = 0, h = 0, w = 0, y = 0, z = 0, b = 0, x = 0, v = 0, I = null, k = [ 0, _ ? n(p - 1, 0) : -1 ], O = 0, T = !1;
17
- const R = /* @__PURE__ */ new Set, M = () => w - h, A = () => M() + z + y, N = e => o(e) - z, C = e => {
18
- e && (g() && 0 !== x || I && 1 === v ? z += e : y += e);
14
+ }, p = e => e.ownerDocument, m = e => e.defaultView, _ = () => (null == t && (t = /iP(hone|od|ad)/.test(navigator.userAgent) || "MacIntel" === navigator.platform && navigator.maxTouchPoints > 0),
15
+ t), g = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, t: c, h: a, S: u, v: f, I: d, k: p}, m = 0) => {
16
+ let g = !!m, $ = 1, h = 0, w = 0, y = 0, S = 0, b = 0, x = 0, z = 0, v = 0, I = null, k = [ 0, g ? n(m - 1, 0) : -1 ], O = !1;
17
+ const T = /* @__PURE__ */ new Set, R = () => y - w, M = () => R() + b + S, N = e => o(e) - b, E = e => {
18
+ if (2 === v) return !0;
19
+ if (I && 1 === v) return e < I[0];
20
+ const t = R(), o = N(e), r = l(e);
21
+ return 1 !== z && 0 === v ? o + r <= t : o < t && o + r < t + h;
22
+ }, A = e => {
23
+ e && (_() && 0 !== z || I && 1 === v ? b += e : S += e);
19
24
  };
20
25
  return {
21
- k: () => {
22
- R.clear();
26
+ O: () => {
27
+ T.clear();
23
28
  },
24
- O: () => $,
29
+ T: () => $,
25
30
  l: (t = 200) => {
26
- if (!T || _) return k;
31
+ if (!O || g) return k;
27
32
  let o, s;
28
- if (b) [o, s] = k; else {
29
- let l = n(0, A()), i = l + S;
30
- m || (t = n(0, t), 1 !== x && (l -= t), 2 !== x && (i += t)), [o, s] = k = e(n(0, l), n(0, i)),
33
+ if (x) [o, s] = k; else {
34
+ let l = n(0, M()), i = l + h;
35
+ f() || (t = n(0, t), 1 !== z && (l -= t), 2 !== z && (i += t)), [o, s] = k = e(n(0, l), n(0, i)),
31
36
  I && (o = r(o, I[0]), s = n(s, I[1]));
32
37
  }
33
- return [ n(o, 0), r(s, u() - 1) ];
38
+ return [ n(o, 0), r(s, a() - 1) ];
34
39
  },
35
- T: e => t(e - h),
36
- R: c,
40
+ R: e => t(e - w),
41
+ M: i,
37
42
  u: N,
38
43
  p: l,
39
- M: u,
40
- A: () => w,
41
- N: () => 0 !== x,
42
- o: () => S,
43
- C: () => h,
44
- t: a,
45
- j: () => (b = y, y = 0, [ b, 2 === v ]),
46
- q: (e, t) => {
44
+ N: a,
45
+ A: () => y,
46
+ C: () => 0 !== z,
47
+ o: () => h,
48
+ j: () => w,
49
+ t: c,
50
+ q: () => (x = S, S = 0, [ x, 2 === v ]),
51
+ P: (e, t) => {
47
52
  const o = [ e, t ];
48
- return R.add(o), () => {
49
- R.delete(o);
53
+ return T.add(o), () => {
54
+ T.delete(o);
50
55
  };
51
56
  },
52
- P: (o, r) => {
53
- let n, u, p = 0;
54
- switch (o) {
57
+ B: (t, o) => {
58
+ let r, n, l = 0;
59
+ switch (t) {
55
60
  case 1:
56
61
  {
57
- if (r === w && 0 === v) break;
58
- const e = b;
59
- b = 0;
60
- const t = r - w, o = s(t);
61
- e && o < s(e) + 1 || 0 !== v || (x = t < 0 ? 2 : 1), _ && (_ = !1), w = r, p = 4;
62
- const n = M();
63
- n >= -S && n <= a() && (p += 1, u = o > S);
62
+ if (o === y && 0 === v) break;
63
+ const e = x;
64
+ x = 0;
65
+ const t = o - y, r = s(t);
66
+ e && r < s(e) + 1 || 0 !== v || (z = t < 0 ? 2 : 1), g && (g = !1), y = o, l = 4;
67
+ const i = R();
68
+ i >= -h && i <= c() && (l += 1, n = r > h);
64
69
  break;
65
70
  }
66
71
 
67
72
  case 2:
68
- p = 8, 0 !== x && (n = !0, p += 1), x = 0, v = 0, I = null;
73
+ l = 8, 0 !== z && (r = !0, l += 1), z = 0, v = 0, I = null;
69
74
  break;
70
75
 
71
76
  case 3:
72
77
  {
73
- const e = r.filter(([e, t]) => !c(e, t));
78
+ const e = o.filter(([e, t]) => !i(e, t));
74
79
  if (!e.length) break;
75
- C(e.reduce((e, [t, o]) => {
76
- let r;
77
- if (2 === v) r = !0; else if (I && 1 === v) r = t < I[0]; else {
78
- const e = M(), o = N(t), n = l(t);
79
- r = 1 !== x && 0 === v ? o + n <= e : o < e && o + n < e + S;
80
- }
81
- return r && (e += o - l(t)), e;
82
- }, 0));
83
- for (const [t, o] of e) {
84
- const e = l(t), r = i(t, o);
85
- m && (O += r ? o : o - e);
86
- }
87
- m && S && O > S && (C(d(t(A()))), m = !1), p = 3, u = !0;
80
+ A(d(e, E, M(), h)), l = 3, n = !0;
88
81
  break;
89
82
  }
90
83
 
91
84
  case 4:
92
- S !== r && (S || (T = u = !0), S = r, p = 3);
85
+ h !== o && (h || (O = n = !0), h = o, l = 3);
93
86
  break;
94
87
 
95
88
  case 5:
96
- r[1] ? (C(f(r[0], !0)), v = 2, p = 1) : (f(r[0]), p = 1);
89
+ o[1] ? (A(u(o[0], !0)), v = 2, l = 1) : (u(o[0]), l = 1);
97
90
  break;
98
91
 
99
92
  case 6:
100
- h = r;
93
+ w = o;
101
94
  break;
102
95
 
103
96
  case 7:
@@ -105,153 +98,166 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, S: c, t: a, h:
105
98
  break;
106
99
 
107
100
  case 9:
108
- C(r), p = 3;
109
- break;
101
+ {
102
+ const e = p(o, M());
103
+ null != e && (A(e), l = 3);
104
+ break;
105
+ }
110
106
 
111
107
  case 8:
112
- I = e(r, r + S), p = 1;
108
+ I = e(o, o + h), l = 1;
113
109
  }
114
- p && ($ = 1 + (2147483647 & $), n && z && (y += z, z = 0), R.forEach(([e, t]) => {
115
- p & e && t(u);
110
+ l && ($ = 1 + (2147483647 & $), r && b && (S += b, b = 0), T.forEach(([e, t]) => {
111
+ l & e && t(n);
116
112
  }));
117
113
  }
118
114
  };
119
- }, S = (e, t, o, r = 0, n = t - 1) => {
115
+ }, h = (e, t, o) => {
116
+ const r = o ? "unshift" : "push";
117
+ for (let o = 0; o < t; o++) e[r](-1);
118
+ return e;
119
+ }, w = (e, t, o, r = 0, n = t - 1) => {
120
120
  let s = r;
121
121
  for (;r <= n; ) {
122
122
  const t = l((r + n) / 2);
123
123
  e(t) <= o ? (s = t, r = t + 1) : n = t - 1;
124
124
  }
125
125
  return i(s, 0, t - 1);
126
- }, h = (e, t, o) => {
127
- const r = o ? "unshift" : "push";
128
- for (let o = 0; o < t; o++) e[r](-1);
129
- return e;
130
- }, w = (e, t, o) => {
131
- let s = o && o[1] || t || 40, l = -1, i = 0;
132
- const a = o && o[0], u = a ? h(a.slice(0, r(e, a.length)), n(0, e - a.length)) : h([], e), f = h([], e + 1), d = e => {
133
- const t = u[e];
126
+ }, y = (e, t, o) => {
127
+ let s = o && o[1] || t || 40, l = -1, i = 0, a = !t, u = 0;
128
+ const f = o && o[0], d = f ? h(f.slice(0, r(e, f.length)), n(0, e - f.length)) : h([], e), p = h([], e + 1), m = e => {
129
+ const t = d[e];
134
130
  return -1 === t ? s : t;
135
- }, p = t => {
131
+ }, _ = t => {
136
132
  if (!e) return 0;
137
- if (l >= t) return f[t];
138
- l < 0 && (f[0] = 0, l = 0);
139
- let o = l, r = f[o];
140
- for (;o < t; ) r += d(o), f[++o] = r;
133
+ if (l >= t) return p[t];
134
+ l < 0 && (p[0] = 0, l = 0);
135
+ let o = l, r = p[o];
136
+ for (;o < t; ) r += m(o), p[++o] = r;
141
137
  return l = t, r;
142
138
  };
143
139
  return {
144
140
  l: (t, o) => {
145
141
  let n, s;
146
- return i = r(i, e - 1), p(i) <= t ? (s = S(p, e, o, i), n = S(p, e, t, i, s)) : (n = S(p, e, t, void 0, i),
147
- s = S(p, e, o, n)), i = n, [ n, s ];
142
+ return u = r(u, e - 1), _(u) <= t ? (s = w(_, e, o, u), n = w(_, e, t, u, s)) : (n = w(_, e, t, void 0, u),
143
+ s = w(_, e, o, n)), u = n, [ n, s ];
148
144
  },
149
- i: t => S(p, e, t),
150
- u: p,
151
- p: d,
152
- m: (e, t) => {
153
- const o = -1 === u[e];
154
- return u[e] = t, l = r(e, l), o;
145
+ i: t => w(_, e, t),
146
+ u: _,
147
+ p: m,
148
+ m: (e, t = -1) => d[e] === t,
149
+ I: (t, o, u, f) => {
150
+ let p = t.reduce((e, [t, r]) => o(t) ? e + (r - m(t)) : e, 0);
151
+ for (const [e, o] of t) i += -1 === d[e] ? o : o - m(e), d[e] = o, l = r(e, l);
152
+ if (a && f && i > f) {
153
+ let t = 0;
154
+ const o = w(_, e, u + p), r = [];
155
+ d.forEach((e, n) => {
156
+ -1 !== e && (e && r.push(e), n < o && t++);
157
+ }), l = -1, c(r);
158
+ const i = r.length, f = i / 2 | 0, m = i % 2 == 0 ? (r[f - 1] + r[f]) / 2 : r[f], g = s;
159
+ p += ((s = m) - g) * n(o - t, 0), a = !1;
160
+ }
161
+ return p;
155
162
  },
156
- S: (e, t = -1) => u[e] === t,
157
- t: () => p(e),
163
+ t: () => _(e),
158
164
  h: () => e,
159
- v: (t, o) => {
165
+ S: (t, o) => {
160
166
  const n = t - e;
161
- return l = o ? -1 : r(t - 1, l), e = t, n > 0 ? (h(f, n), h(u, n, o), s * n) : (f.splice(n),
162
- (o ? u.splice(0, -n) : u.splice(n)).reduce((e, t) => e - (-1 === t ? s : t), 0));
167
+ return l = o ? -1 : r(t - 1, l), e = t, n > 0 ? (h(p, n), h(d, n, o), s * n) : (p.splice(n),
168
+ (o ? d.splice(0, -n) : d.splice(n)).reduce((e, t) => e - (-1 === t ? s : t), 0));
163
169
  },
164
- I: t ? void 0 : e => {
165
- let t = 0;
166
- const o = [];
167
- u.forEach((r, n) => {
168
- -1 !== r && (r && o.push(r), n < e && t++);
169
- }), l = -1, c(o);
170
- const r = o.length, i = r / 2 | 0, a = r % 2 == 0 ? (o[i - 1] + o[i]) / 2 : o[i], f = s;
171
- return ((s = a) - f) * n(e - t, 0);
172
- },
173
- B: () => [ u.slice(), s ]
174
- };
175
- }, y = e => "number" == typeof e ? e : e.length, z = (e, t) => "number" == typeof e ? t : e[t], b = (e, t, o = 0) => {
176
- let s = 0, c = 0;
177
- const a = (e = 0, t = 0) => {
178
- s = e, c = t;
179
- }, u = e => r(s, e), f = e => n(e - c, u(e)), d = (e, t, r, s, l) => {
180
- const i = t(u(r)), c = t(r) - t(f(r)), a = s + (i ? i - o : 0);
181
- return e(a, n(a, l - (c ? c - o : 0)));
170
+ v: () => a,
171
+ H: () => [ d.slice(), s ]
182
172
  };
183
- if ("number" == typeof t) {
184
- let r = y(e), n = t;
185
- const s = e => n + o ? i(l(e / (n + o)), 0, r - 1) : 0, c = e => e * (n + o), p = (e, t) => [ s(e), s(t) ];
186
- return {
187
- l: (e, t) => d(p, c, r, e, t),
188
- i: s,
189
- u: c,
190
- p: () => n,
191
- m: () => !1,
192
- S: () => !1,
193
- t: () => r ? r * (n + o) - o : 0,
194
- h: () => r,
195
- v: e => (r = e, 0),
196
- L: () => !1,
197
- H: a,
198
- W: () => u(r),
199
- V: () => f(r),
200
- D: (e, t) => "number" == typeof t ? t : null,
201
- F: (e, t) => {
202
- if (null == e || e === n) return;
203
- const o = s(t) * (e - n);
204
- return n = e, o;
205
- }
206
- };
207
- }
208
- const p = "auto" === t;
209
- let m = null;
210
- const g = [], _ = w(y(e), void 0, [ [], 40 + o ]), $ = e => p || !!g[e];
173
+ }, S = e => "number" == typeof e ? e : e.length, b = (e, t) => "number" == typeof e ? t : e[t], x = (e, t, o = 0) => {
174
+ let s = S(e);
175
+ const a = "number" == typeof t, u = "auto" === t;
176
+ let f = (a ? t : 40) + o, d = -1, p = 0, m = u, _ = 0, g = 0, $ = null;
177
+ const y = [], b = [], x = [], z = e => u || !!x[e], v = () => {
178
+ y.length || h(y, s);
179
+ }, I = e => {
180
+ const t = y[e];
181
+ return -1 === t ? f : t;
182
+ }, k = e => {
183
+ if (!s) return 0;
184
+ if (!y.length) return e * f;
185
+ if (d >= e) return b[e];
186
+ d < 0 && (b[0] = 0, d = 0);
187
+ let t = d, o = b[t];
188
+ for (;t < e; ) o += I(t), b[++t] = o;
189
+ return d = e, o;
190
+ }, O = (e, t) => {
191
+ y[e] = t, d = r(e, d);
192
+ }, T = e => y.length ? w(k, s, e) : f ? i(l(e / f), 0, s - 1) : 0, R = () => r(_, s), M = () => n(s - g, R()), N = e => (y.length ? I(e) : f) - o;
211
193
  return {
212
- l: (e, t) => d(_.l, _.u, _.h(), e, t),
213
- i: _.i,
214
- u: _.u,
215
- p: e => _.p(e) - o,
216
- m: (e, t) => $(e) && _.m(e, t + o),
217
- S: (e, t) => _.S(e, t + o),
218
- t: () => _.h() ? _.t() - o : 0,
219
- h: _.h,
220
- v: _.v,
221
- I: p ? _.I : void 0,
222
- L: $,
223
- H: a,
224
- W: () => u(_.h()),
225
- V: () => f(_.h()),
226
- D: (e, t) => p || "string" != typeof t || "auto" === t ? null : e.map(e => null != e ? e[t] : null),
227
- F: (e, t) => {
228
- if (!e) return;
229
- const r = _.h();
230
- if (e === m && r === g.length) return;
231
- m = e, g.length = r;
232
- const n = _.i(t), s = _.u(n);
194
+ l: (e, t) => {
195
+ const r = k(R()), l = k(s) - k(M()), i = e + (r ? r - o : 0);
196
+ return [ T(i), T(n(i, t - (l ? l - o : 0))) ];
197
+ },
198
+ i: T,
199
+ u: k,
200
+ p: N,
201
+ I: (e, t, r, s) => {
202
+ let l = e.reduce((e, [o, r]) => z(o) && t(o) ? e + (r - N(o)) : e, 0);
203
+ for (const [t, r] of e) z(t) && (v(), p += -1 === y[t] ? r : r - N(t), O(t, r + o));
204
+ if (m && s && p > s) {
205
+ let e = 0;
206
+ const t = T(r + l), o = [];
207
+ y.forEach((r, n) => {
208
+ -1 !== r && (r && o.push(r), n < t && e++);
209
+ }), d = -1, c(o);
210
+ const s = o.length, i = s / 2 | 0, a = s % 2 == 0 ? (o[i - 1] + o[i]) / 2 : o[i], u = f;
211
+ l += ((f = a) - u) * n(t - e, 0), m = !1;
212
+ }
213
+ return l;
214
+ },
215
+ m: (e, t = -1) => {
216
+ const r = y.length ? y[e] : -1;
217
+ return -1 === t ? z(e) && -1 === r : r === t + o;
218
+ },
219
+ t: () => s ? k(s) - o : 0,
220
+ h: () => s,
221
+ S: e => {
222
+ const t = e - s;
223
+ return d = r(e - 1, d), s = e, y.length && (t > 0 ? h(y, t) : y.splice(t)), 0;
224
+ },
225
+ v: () => m,
226
+ L: z,
227
+ W: (e = 0, t = 0) => {
228
+ _ = e, g = t;
229
+ },
230
+ V: R,
231
+ F: M,
232
+ X: (e, t) => "number" == typeof t ? a ? t : null : a || u || "auto" === t ? null : e.map(e => null != e ? e[t] : null),
233
+ k: (e, t) => {
234
+ if (null == e) return;
235
+ if ("number" == typeof e) {
236
+ const r = e + o;
237
+ if (r === f) return;
238
+ const n = T(t) * (r - f);
239
+ return f = r, n;
240
+ }
241
+ if (e === $ && s === x.length) return;
242
+ $ = e, x.length = s, v();
243
+ const r = T(t), n = k(r);
233
244
  let l;
234
- for (let t = 0; t < r; t++) {
245
+ for (let t = 0; t < s; t++) {
235
246
  const r = e[t], n = "number" != typeof r;
236
- if (!n || !g[t]) {
237
- g[t] = n;
247
+ if (!n || !x[t]) {
248
+ x[t] = n;
238
249
  const e = n ? -1 : r + o;
239
- _.S(t, e) || (_.m(t, e), l = !0);
250
+ y[t] !== e && (O(t, e), l = !0);
240
251
  }
241
252
  }
242
- return l ? _.u(n) - s : void 0;
253
+ return l ? k(r) - n : void 0;
243
254
  }
244
255
  };
245
- }, x = (e, t, o, r, n, s) => {
246
- const l = y(o);
247
- t.H(n, s), l !== e.M() && e.P(5, [ l ]);
248
- const i = t.F(r, e.A() - e.u(0));
249
- null != i && e.P(9, i);
250
- }, v = /*#__PURE__*/ new WeakMap, I = (e, t, o) => {
256
+ }, z = /*#__PURE__*/ new WeakMap, v = (e, t, o) => {
251
257
  const r = [];
252
258
  for (const n of e) n >= t && n < o && r.push(n);
253
259
  return c(r);
254
- }, k = (e, t, o) => {
260
+ }, I = (e, t, o) => {
255
261
  if (t >= o) return -1;
256
262
  let r = 0, n = e.length;
257
263
  for (;r < n; ) {
@@ -259,34 +265,34 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, S: c, t: a, h:
259
265
  e[o] <= t ? r = o + 1 : n = o;
260
266
  }
261
267
  return r - 1;
262
- }, O = (e, t, o, r, n) => {
268
+ }, k = (e, t, o, r, n) => {
263
269
  const s = t.length;
264
270
  for (;o < s && t[o] < r; o++) {
265
271
  const r = t[o];
266
272
  r > n && (e.push(r), n = r);
267
273
  }
268
274
  return o;
269
- }, T = (e, t, o, r, n, s) => {
275
+ }, O = (e, t, o, r, n, s) => {
270
276
  const l = [];
271
277
  for (let e = 0; e < o; e++) l.push(e);
272
- const i = O(l, e, 0, r, o - 1);
278
+ const i = k(l, e, 0, r, o - 1);
273
279
  for (let e = r; e <= n; e++) l.push(e);
274
- O(l, e, i, s, n);
280
+ k(l, e, i, s, n);
275
281
  for (let e = s; e < t; e++) l.push(e);
276
282
  return l;
277
- }, R = (e, t) => r(e.rowIndex + (e.rowSpan || 1), t), M = (e, t) => r(e.colIndex + (e.colSpan || 1), t), A = (e, t, o, n, s, l) => {
283
+ }, T = (e, t) => r(e.rowIndex + (e.rowSpan || 1), t), R = (e, t) => r(e.colIndex + (e.colSpan || 1), t), M = (e, t, o, n, s, l) => {
278
284
  const i = t.length, c = n.length;
279
285
  let a = "[l0]", u = 0, f = 0, d = 0;
280
286
  for (;u < l; ) {
281
287
  for (;d < c && n[d] <= u; ) d++;
282
288
  const p = f < i ? t[f] : l;
283
- let m, g;
289
+ let m, _;
284
290
  if (p === u) {
285
291
  m = u + 1;
286
292
  const t = o[f];
287
- g = null == t ? e.p(u) + "px" : t ? s : "minmax(" + e.p(u) + "px,auto)", f++;
288
- } else m = r(p, d < c ? n[d] : l), g = "minmax(" + (e.u(m - 1) + e.p(m - 1) - e.u(u)) + "px,auto)";
289
- a += " " + g + " [l" + m + "]", u = m;
293
+ _ = null == t ? e.p(u) + "px" : t ? s : "minmax(" + e.p(u) + "px,auto)", f++;
294
+ } else m = r(p, d < c ? n[d] : l), _ = "minmax(" + (e.u(m - 1) + e.p(m - 1) - e.u(u)) + "px,auto)";
295
+ a += " " + _ + " [l" + m + "]", u = m;
290
296
  }
291
297
  return a;
292
298
  }, N = (e, t, o, r, n) => {
@@ -298,41 +304,41 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, S: c, t: a, h:
298
304
  gridRow: "l" + e + "/l" + t
299
305
  };
300
306
  return null != o && (s.position = "sticky", s[r] = o + "px", s.zIndex = n), s;
301
- }, C = e => {
307
+ }, E = e => {
302
308
  let t;
303
309
  return {
304
- X(o) {
310
+ Y(o) {
305
311
  (t || (t = new (m(p(o)).ResizeObserver)(e))).observe(o);
306
312
  },
307
- Y(e) {
313
+ J(e) {
308
314
  t.unobserve(e);
309
315
  },
310
- J() {
316
+ D() {
311
317
  t && t.disconnect();
312
318
  }
313
319
  };
314
- }, E = (e, t, o, r, n, s, l) => {
315
- let i, c, d = 0, p = !1, m = !1, _ = !1, $ = !1;
316
- const S = Date.now, h = r ? "scrollLeft" : "scrollTop", w = r ? "left" : "top", y = e => n ? -e : e, z = () => y(o[h]), b = (e, t) => {
320
+ }, A = (e, t, o, r, n, s, l) => {
321
+ let i, c, d = 0, p = !1, m = !1, g = !1, $ = !1;
322
+ const h = Date.now, w = r ? "scrollLeft" : "scrollTop", y = r ? "left" : "top", S = e => n ? -e : e, b = () => S(o[w]), x = (e, t) => {
317
323
  o.scrollTo({
318
- [w]: y(e),
324
+ [y]: S(e),
319
325
  behavior: t ? "smooth" : "instant"
320
326
  });
321
- }, x = () => {
327
+ }, z = () => {
322
328
  if (p || m) return p = !1, void v();
323
- _ = !1, e.P(2);
329
+ g = !1, e.B(2);
324
330
  }, v = () => {
325
- u(c), c = a(x, 150);
331
+ u(c), c = a(z, 150);
326
332
  }, I = () => {
327
- d = S(), _ && ($ = !0), l && e.P(6, l()), e.P(1, z()), v();
333
+ d = h(), g && ($ = !0), l && e.B(6, l()), e.B(1, b()), v();
328
334
  }, k = t => {
329
- if (p || !e.N() || t.ctrlKey) return;
330
- const o = S() - d;
335
+ if (p || !e.C() || t.ctrlKey) return;
336
+ const o = h() - d;
331
337
  150 > o && 50 < o && (r ? t.deltaX : t.deltaY) && (p = !0);
332
338
  }, O = () => {
333
- m = !0, _ = $ = !1;
339
+ m = !0, g = $ = !1;
334
340
  }, T = () => {
335
- m = !1, g() && (_ = !0);
341
+ m = !1, _() && (g = !0);
336
342
  };
337
343
  return t.addEventListener("scroll", I), t.addEventListener("wheel", k, {
338
344
  passive: !0
@@ -341,19 +347,19 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, S: c, t: a, h:
341
347
  }), t.addEventListener("touchend", T, {
342
348
  passive: !0
343
349
  }), {
344
- J: () => {
350
+ D: () => {
345
351
  t.removeEventListener("scroll", I), t.removeEventListener("wheel", k), t.removeEventListener("touchstart", O),
346
352
  t.removeEventListener("touchend", T), u(c);
347
353
  },
348
354
  U: () => {
349
- const [t, r] = e.j();
355
+ const [t, r] = e.q();
350
356
  if (!t) return;
351
357
  $ && s && s(), $ = !1;
352
- const n = e.A() + t;
353
- n <= 0 || n >= e.C() + e.t() - e.o() ? b(n) : o.scrollBy({
354
- [w]: y(t),
358
+ const n = e.A(), l = n + t, c = e.j() + e.t() - e.o();
359
+ l <= 0 || l >= c || n >= c ? x(l) : o.scrollBy({
360
+ [y]: S(t),
355
361
  behavior: "instant"
356
- }), r && (i && i(), e.o() > e.t() && e.P(1, z()));
362
+ }), r && (i && i(), e.o() > e.t() && e.B(1, b()));
357
363
  },
358
364
  G: (t, o) => {
359
365
  let r, n, s;
@@ -363,27 +369,27 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, S: c, t: a, h:
363
369
  }, c = () => {
364
370
  if (!r) {
365
371
  if (e.o() && (u(n), n = a(l, 150)), o) {
366
- for (let [t, o] = e.l(0); t <= o; t++) if (e.R(t)) return;
372
+ for (let [t, o] = e.l(0); t <= o; t++) if (e.M(t)) return;
367
373
  l();
368
374
  }
369
- e.P(7), b(t(), o);
375
+ e.B(7), x(t(), o);
370
376
  }
371
377
  }, d = () => {
372
378
  if (r) return;
373
379
  let t;
374
- s = e.q(2, () => {
380
+ s = e.P(2, () => {
375
381
  t || (t = !0, f(() => {
376
382
  t = !1, c();
377
383
  }));
378
384
  }), c();
379
385
  };
380
- o ? (e.P(8, t()), f(d)) : d();
386
+ o ? (e.B(8, t()), f(d)) : d();
381
387
  }
382
388
  };
383
- }, j = (e, t) => {
389
+ }, C = (e, t) => {
384
390
  e.K(() => t);
385
- }, q = (e, t, o, {align: r, smooth: n, offset: s = 0} = {}) => {
386
- if (o = i(o, 0, t.M() - 1), "nearest" === r) {
391
+ }, j = (e, t, o, {align: r, smooth: n, offset: s = 0} = {}) => {
392
+ if (o = i(o, 0, t.N() - 1), "nearest" === r) {
387
393
  const e = t.u(o), n = t.A();
388
394
  if (e < n) r = "start"; else {
389
395
  if (!(e + t.p(o) > n + t.o())) return;
@@ -391,15 +397,15 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, S: c, t: a, h:
391
397
  }
392
398
  }
393
399
  e.K(() => s + e.Z() + t.u(o) + ("end" === r ? t.p(o) - t.o() : "center" === r ? (t.p(o) - t.o()) / 2 : 0), n);
394
- }, P = (e, t, o, s, l, c, a) => {
395
- const u = t.M(), f = o.W(), d = o.V();
400
+ }, q = (e, t, o, s, l, c, a) => {
401
+ const u = t.N(), f = o.V(), d = o.F();
396
402
  l = i(l, 0, u - 1);
397
- const p = I(s, f, d), m = k(p, l, d), g = m < 0 ? -1 : p[m], _ = () => o.u(f) + (g < 0 || g === l ? 0 : o.u(g + 1) - o.u(g)), $ = () => o.u(u) - o.u(d);
403
+ const p = v(s, f, d), m = I(p, l, d), _ = m < 0 ? -1 : p[m], g = () => o.u(f) + (_ < 0 || _ === l ? 0 : o.u(_ + 1) - o.u(_)), $ = () => o.u(u) - o.u(d);
398
404
  if ("nearest" === c) {
399
405
  if (l < f || l >= d) return;
400
- const e = _(), o = t.A() + e, s = t.o() - e - $(), i = t.p(l);
406
+ const e = g(), o = t.A() + e, s = t.o() - e - $(), i = t.p(l);
401
407
  let a = t.u(l);
402
- if (g === l) {
408
+ if (_ === l) {
403
409
  const e = (m + 1 < p.length ? p[m + 1] : d) - 1;
404
410
  a = n(a, r(o, t.u(e) + t.p(e) - i));
405
411
  }
@@ -409,12 +415,12 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, S: c, t: a, h:
409
415
  }
410
416
  }
411
417
  e.K(a, () => {
412
- const e = _(), o = t.p(l) - (t.o() - e - $());
418
+ const e = g(), o = t.p(l) - (t.o() - e - $());
413
419
  return t.u(l) - e + ("end" === c ? o : "center" === c ? o / 2 : 0);
414
420
  });
415
- }, B = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => {
421
+ }, P = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => {
416
422
  const o = (0, e.ref)(), r = (0, e.computed)(() => t.ee.value && t.te.u(t.oe)), n = (0,
417
- e.computed)(() => t.ee.value && t.te.R(t.oe)), s = (0, e.computed)(() => t.re({
423
+ e.computed)(() => t.ee.value && t.te.M(t.oe)), s = (0, e.computed)(() => t.re({
418
424
  item: t.ne,
419
425
  index: t.oe
420
426
  }));
@@ -455,13 +461,13 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, S: c, t: a, h:
455
461
  ce: null,
456
462
  ae: null
457
463
  }
458
- }), L = (e, t) => {
464
+ }), B = (e, t) => {
459
465
  if (1 === e.length) {
460
466
  const t = e[0].key;
461
467
  if (null != t) return t;
462
468
  }
463
469
  return "_" + t;
464
- }, H = (e, t) => e[0] === t[0] && e[1] === t[1], W = /* @__PURE__ */ /* @__PURE__ */ (0,
470
+ }, H = (e, t) => e[0] === t[0] && e[1] === t[1], L = /* @__PURE__ */ /* @__PURE__ */ (0,
465
471
  e.defineComponent)({
466
472
  props: {
467
473
  data: {
@@ -493,30 +499,30 @@ e.defineComponent)({
493
499
  emits: [ "scroll", "scrollEnd" ],
494
500
  setup(t, {emit: o, expose: r, slots: n}) {
495
501
  let s = !!t.ssrCount;
496
- const l = t.horizontal, i = (0, e.ref)(), u = w(t.data.length, t.itemSize, t.cache), f = $(u, t.ssrCount), p = ((e, t) => {
502
+ const l = t.horizontal, i = (0, e.ref)(), u = y(t.data.length, t.itemSize, t.cache), f = $(u, t.ssrCount), p = ((e, t) => {
497
503
  let o, r, n = d();
498
- const s = /* @__PURE__ */ new WeakMap, l = C(r => {
504
+ const s = /* @__PURE__ */ new WeakMap, l = E(r => {
499
505
  const n = [];
500
- for (const {target: l, contentRect: {width: i, height: c}} of r) if (l === o) (i || c) && e.P(4, t ? i : c); else if (l.offsetParent) {
506
+ for (const {target: l, contentRect: {width: i, height: c}} of r) if (l === o) (i || c) && e.B(4, t ? i : c); else if (l.offsetParent) {
501
507
  const e = s.get(l);
502
508
  null != e && n.push([ e, t ? i : c ]);
503
509
  }
504
- n.length && e.P(3, n);
510
+ n.length && e.B(3, n);
505
511
  });
506
512
  return {
507
513
  ue(s, i = s.parentElement) {
508
- l.X(o = i), r = E(e, i, i, t, t && "rtl" === getComputedStyle(i).direction, () => {
514
+ l.Y(o = i), r = A(e, i, i, t, t && "rtl" === getComputedStyle(i).direction, () => {
509
515
  const e = t ? "overflowX" : "overflowY", o = i.style, r = o[e];
510
516
  o[e] = "hidden", a(() => {
511
517
  o[e] = r;
512
518
  });
513
519
  }), n[1](!0);
514
520
  },
515
- k() {
516
- l.J(), r && r.J(), n[1](!1), n = d();
521
+ O() {
522
+ l.D(), r && r.D(), n[1](!1), n = d();
517
523
  },
518
- fe: (e, t) => (s.set(e, t), l.X(e), () => {
519
- s.delete(e), l.Y(e);
524
+ fe: (e, t) => (s.set(e, t), l.Y(e), () => {
525
+ s.delete(e), l.J(e);
520
526
  }),
521
527
  async K(e, t) {
522
528
  await n[0] && r.G(e, t);
@@ -524,21 +530,21 @@ e.defineComponent)({
524
530
  de() {
525
531
  r && r.U();
526
532
  },
527
- Z: e.C
533
+ Z: e.j
528
534
  };
529
- })(f, l), m = (0, e.ref)(f.O());
530
- f.q(1, () => {
531
- m.value = f.O();
532
- }), f.q(4, () => {
535
+ })(f, l), m = (0, e.ref)(f.T());
536
+ f.P(1, () => {
537
+ m.value = f.T();
538
+ }), f.P(4, () => {
533
539
  o("scroll", f.A());
534
- }), f.q(8, () => {
540
+ }), f.P(8, () => {
535
541
  o("scrollEnd");
536
542
  });
537
- const g = (0, e.computed)(e => {
543
+ const _ = (0, e.computed)(e => {
538
544
  m.value;
539
545
  const o = f.l(t.bufferSize);
540
546
  return e && H(e, o) ? e : o;
541
- }), S = (0, e.computed)(() => m.value && f.N()), h = (0, e.computed)(() => m.value && f.t());
547
+ }), h = (0, e.computed)(() => m.value && f.C()), w = (0, e.computed)(() => m.value && f.t());
542
548
  return (0, e.onMounted)(() => {
543
549
  s = !1;
544
550
  const o = i.value, r = requestAnimationFrame(() => {
@@ -548,11 +554,11 @@ e.defineComponent)({
548
554
  cancelAnimationFrame(r);
549
555
  });
550
556
  }), (0, e.onUnmounted)(() => {
551
- f.k(), p.k();
557
+ f.O(), p.O();
552
558
  }), (0, e.watch)(() => t.data.length, e => {
553
- f.P(5, [ e, t.shift ]);
559
+ f.B(5, [ e, t.shift ]);
554
560
  }), (0, e.watch)(() => t.startMargin, e => {
555
- f.P(6, e);
561
+ f.B(6, e);
556
562
  }, {
557
563
  immediate: !0
558
564
  }), (0, e.watch)([ m ], () => {
@@ -561,33 +567,33 @@ e.defineComponent)({
561
567
  flush: "post"
562
568
  }), r({
563
569
  get cache() {
564
- return u.B();
570
+ return u.H();
565
571
  },
566
572
  get scrollOffset() {
567
573
  return f.A();
568
574
  },
569
575
  get scrollSize() {
570
- return _(f);
576
+ return g(f);
571
577
  },
572
578
  get viewportSize() {
573
579
  return f.o();
574
580
  },
575
- findItemIndex: f.T,
581
+ findItemIndex: f.R,
576
582
  getItemOffset: f.u,
577
583
  getItemSize: f.p,
578
- scrollToIndex: (e, t) => q(p, f, e, t),
579
- scrollTo: e => j(p, e),
584
+ scrollToIndex: (e, t) => j(p, f, e, t),
585
+ scrollTo: e => C(p, e),
580
586
  scrollBy: e => ((e, t, o) => {
581
- j(e, o + t.A());
587
+ C(e, o + t.A());
582
588
  })(p, f, e)
583
589
  }), () => {
584
- const o = t.as, r = t.item, a = h.value, u = [], d = o => {
590
+ const o = t.as, r = t.item, a = w.value, u = [], d = o => {
585
591
  const i = n.default({
586
592
  item: t.data[o],
587
593
  index: o
588
594
  });
589
- return (0, e.createVNode)(B, {
590
- key: L(i, o),
595
+ return (0, e.createVNode)(P, {
596
+ key: B(i, o),
591
597
  ee: m,
592
598
  te: f,
593
599
  se: p.fe,
@@ -602,11 +608,11 @@ e.defineComponent)({
602
608
  };
603
609
  if (t.keepMounted) {
604
610
  const e = t.data.length, o = new Set(t.keepMounted);
605
- for (let [e, t] = g.value; e <= t; e++) o.add(e);
611
+ for (let [e, t] = _.value; e <= t; e++) o.add(e);
606
612
  c([ ...o ]).forEach(t => {
607
613
  t < e && u.push(d(t));
608
614
  });
609
- } else for (let [e, t] = g.value; e <= t; e++) u.push(d(e));
615
+ } else for (let [e, t] = _.value; e <= t; e++) u.push(d(e));
610
616
  return (0, e.createVNode)(o, {
611
617
  ref: i,
612
618
  style: {
@@ -616,17 +622,17 @@ e.defineComponent)({
616
622
  position: "relative",
617
623
  width: l ? a + "px" : "100%",
618
624
  height: l ? "100%" : a + "px",
619
- pointerEvents: S.value ? "none" : void 0
625
+ pointerEvents: h.value ? "none" : void 0
620
626
  }
621
- }, "function" == typeof (_ = u) || "[object Object]" === Object.prototype.toString.call(_) && !(0,
622
- e.isVNode)(_) ? u : {
627
+ }, "function" == typeof (g = u) || "[object Object]" === Object.prototype.toString.call(g) && !(0,
628
+ e.isVNode)(g) ? u : {
623
629
  default: () => [ u ],
624
630
  _: 2
625
631
  }, 8, [ "style" ]);
626
- var _;
632
+ var g;
627
633
  };
628
634
  }
629
- }), V = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
635
+ }), W = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
630
636
  props: {
631
637
  data: {
632
638
  type: Array,
@@ -676,7 +682,7 @@ e.defineComponent)({
676
682
  width: "100%",
677
683
  height: "100%"
678
684
  }
679
- }, [ (0, e.createVNode)(W, {
685
+ }, [ (0, e.createVNode)(L, {
680
686
  ref: c,
681
687
  data: t.data,
682
688
  bufferSize: t.bufferSize,
@@ -697,7 +703,7 @@ e.defineComponent)({
697
703
  var o;
698
704
  };
699
705
  }
700
- }), D = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
706
+ }), V = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
701
707
  props: {
702
708
  data: {
703
709
  type: Array,
@@ -721,33 +727,33 @@ e.defineComponent)({
721
727
  emits: [ "scroll", "scrollEnd" ],
722
728
  setup(t, {emit: o, slots: r, expose: n}) {
723
729
  let s = !!t.ssrCount;
724
- const l = t.horizontal, i = (0, e.ref)(), c = w(t.data.length, t.itemSize, t.cache), a = $(c, t.ssrCount), u = ((e, t) => {
730
+ const l = t.horizontal, i = (0, e.ref)(), c = y(t.data.length, t.itemSize, t.cache), a = $(c, t.ssrCount), u = ((e, t) => {
725
731
  let o, r, n, s, l, i = d();
726
- const c = /* @__PURE__ */ new WeakMap, a = C(r => {
732
+ const c = /* @__PURE__ */ new WeakMap, a = E(r => {
727
733
  const n = [];
728
734
  for (const {target: e, contentRect: {width: s, height: i}} of r) if (e === o) l && l(); else if (e.offsetParent) {
729
735
  const o = c.get(e);
730
736
  null != o && n.push([ o, t ? s : i ]);
731
737
  }
732
- n.length && e.P(3, n);
738
+ n.length && e.B(3, n);
733
739
  });
734
740
  return {
735
741
  ue(c) {
736
- const u = p(c), f = m(u), d = o = u.scrollingElement, g = t && "rtl" === getComputedStyle(d).direction, _ = (e, t, o, r, n = 0) => {
737
- const s = r ? "offsetLeft" : "offsetTop", l = n + (g ? t.clientWidth - e[s] - e.offsetWidth : e[s]), i = e.offsetParent;
738
- return e !== o && i ? _(i, t, o, r, l) : l;
739
- }, $ = s = () => _(c, d, u.body, t), S = l = () => {
740
- e.P(4, d[t ? "clientWidth" : "clientHeight"]);
742
+ const u = p(c), f = m(u), d = o = u.scrollingElement, _ = t && "rtl" === getComputedStyle(d).direction, g = (e, t, o, r, n = 0) => {
743
+ const s = r ? "offsetLeft" : "offsetTop", l = n + (_ ? t.clientWidth - e[s] - e.offsetWidth : e[s]), i = e.offsetParent;
744
+ return e !== o && i ? g(i, t, o, r, l) : l;
745
+ }, $ = s = () => g(c, d, u.body, t), h = l = () => {
746
+ e.B(4, d[t ? "clientWidth" : "clientHeight"]);
741
747
  };
742
- f.addEventListener("resize", S), a.X(d), n = () => {
743
- f.removeEventListener("resize", S);
744
- }, r = E(e, f, d, t, g, null, $), i[1](!0);
748
+ f.addEventListener("resize", h), a.Y(d), n = () => {
749
+ f.removeEventListener("resize", h);
750
+ }, r = A(e, f, d, t, _, null, $), i[1](!0);
745
751
  },
746
- k() {
747
- n && n(), a.J(), r && r.J(), i[1](!1), i = d();
752
+ O() {
753
+ n && n(), a.D(), r && r.D(), i[1](!1), i = d();
748
754
  },
749
- fe: (e, t) => (c.set(e, t), a.X(e), () => {
750
- c.delete(e), a.Y(e);
755
+ fe: (e, t) => (c.set(e, t), a.Y(e), () => {
756
+ c.delete(e), a.J(e);
751
757
  }),
752
758
  async K(e, t) {
753
759
  await i[0] && r.G(e, t);
@@ -757,34 +763,34 @@ e.defineComponent)({
757
763
  },
758
764
  Z: () => s()
759
765
  };
760
- })(a, l), f = (0, e.ref)(a.O());
761
- a.q(1, () => {
762
- f.value = a.O();
763
- }), a.q(4, () => {
766
+ })(a, l), f = (0, e.ref)(a.T());
767
+ a.P(1, () => {
768
+ f.value = a.T();
769
+ }), a.P(4, () => {
764
770
  o("scroll");
765
- }), a.q(8, () => {
771
+ }), a.P(8, () => {
766
772
  o("scrollEnd");
767
773
  });
768
- const g = (0, e.computed)(e => {
774
+ const _ = (0, e.computed)(e => {
769
775
  f.value;
770
776
  const o = a.l(t.bufferSize);
771
777
  return e && H(e, o) ? e : o;
772
- }), _ = (0, e.computed)(() => f.value && a.N()), S = (0, e.computed)(() => f.value && a.t());
778
+ }), g = (0, e.computed)(() => f.value && a.C()), h = (0, e.computed)(() => f.value && a.t());
773
779
  return (0, e.onMounted)(() => {
774
780
  s = !1;
775
781
  const e = i.value;
776
782
  e && u.ue(e);
777
783
  }), (0, e.onUnmounted)(() => {
778
- a.k(), u.k();
784
+ a.O(), u.O();
779
785
  }), (0, e.watch)(() => t.data.length, e => {
780
- a.P(5, [ e, t.shift ]);
786
+ a.B(5, [ e, t.shift ]);
781
787
  }), (0, e.watch)([ f ], () => {
782
788
  u.de();
783
789
  }, {
784
790
  flush: "post"
785
791
  }), n({
786
792
  get cache() {
787
- return c.B();
793
+ return c.H();
788
794
  },
789
795
  get scrollOffset() {
790
796
  return a.A();
@@ -792,19 +798,19 @@ e.defineComponent)({
792
798
  get viewportSize() {
793
799
  return a.o();
794
800
  },
795
- findItemIndex: a.T,
801
+ findItemIndex: a.R,
796
802
  getItemOffset: a.u,
797
803
  getItemSize: a.p,
798
- scrollToIndex: (e, t) => q(u, a, e, t)
804
+ scrollToIndex: (e, t) => j(u, a, e, t)
799
805
  }), () => {
800
- const o = t.as, n = t.item, c = S.value, d = [];
801
- for (let [o, i] = g.value; o <= i; o++) {
806
+ const o = t.as, n = t.item, c = h.value, d = [];
807
+ for (let [o, i] = _.value; o <= i; o++) {
802
808
  const i = r.default({
803
809
  item: t.data[o],
804
810
  index: o
805
811
  });
806
- d.push((0, e.createVNode)(B, {
807
- key: L(i, o),
812
+ d.push((0, e.createVNode)(P, {
813
+ key: B(i, o),
808
814
  ee: f,
809
815
  te: a,
810
816
  se: u.fe,
@@ -825,7 +831,7 @@ e.defineComponent)({
825
831
  position: "relative",
826
832
  width: l ? c + "px" : "100%",
827
833
  height: l ? "100%" : c + "px",
828
- pointerEvents: _.value ? "none" : void 0
834
+ pointerEvents: g.value ? "none" : void 0
829
835
  }
830
836
  }, "function" == typeof (p = d) || "[object Object]" === Object.prototype.toString.call(p) && !(0,
831
837
  e.isVNode)(p) ? d : {
@@ -837,12 +843,12 @@ e.defineComponent)({
837
843
  }
838
844
  }), F = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => {
839
845
  const o = (0, e.ref)();
840
- return (0, e.watch)([ o, () => t.me.pe, () => t.me.ge ], ([e, o, r], n, s) => {
846
+ return (0, e.watch)([ o, () => t.me.pe, () => t.me._e ], ([e, o, r], n, s) => {
841
847
  !e || null == o && null == r || s(t.se(e, o, r));
842
848
  }, {
843
849
  flush: "post"
844
850
  }), () => {
845
- const {_e: r, $e: n, Se: s, he: l, we: i, ye: c} = t.me;
851
+ const {ge: r, $e: n, he: s, we: l, ye: i, Se: c} = t.me;
846
852
  return (0, e.createVNode)("div", {
847
853
  ref: o,
848
854
  role: l,
@@ -852,10 +858,10 @@ e.defineComponent)({
852
858
  "aria-sort": i,
853
859
  style: c
854
860
  }, [ t.re({
855
- row: t.ze,
856
- col: t.be,
861
+ row: t.be,
862
+ col: t.xe,
857
863
  cell: {
858
- rowIndex: t.xe,
864
+ rowIndex: t.ze,
859
865
  colIndex: r
860
866
  }
861
867
  }) ], 12, [ "role", "aria-colindex", "aria-rowspan", "aria-colspan", "aria-sort" ]);
@@ -864,36 +870,36 @@ e.defineComponent)({
864
870
  props: {
865
871
  me: null,
866
872
  re: null,
867
- ze: null,
868
873
  be: null,
869
874
  xe: null,
875
+ ze: null,
870
876
  se: null
871
877
  }
872
878
  }), X = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => () => {
873
- const {ve: o, Ie: r, ye: n} = t.me;
879
+ const {ve: o, Ie: r, Se: n} = t.me;
874
880
  return (0, e.createVNode)("div", {
875
881
  role: "row",
876
882
  "aria-rowindex": o + 1,
877
883
  style: n
878
884
  }, [ r.map(r => (0, e.createVNode)(F, {
879
- key: r._e,
885
+ key: r.ge,
880
886
  me: r,
881
887
  re: t.re,
882
- ze: t.ze,
883
- be: z(t.ke, r._e),
884
- xe: o,
888
+ be: t.be,
889
+ xe: b(t.ke, r.ge),
890
+ ze: o,
885
891
  se: t.se
886
- }, null, 8, [ "me", "re", "ze", "be", "xe", "se" ])) ], 12, [ "aria-rowindex" ]);
892
+ }, null, 8, [ "me", "re", "be", "xe", "ze", "se" ])) ], 12, [ "aria-rowindex" ]);
887
893
  }, {
888
894
  props: {
889
895
  me: null,
890
896
  re: null,
891
- ze: null,
897
+ be: null,
892
898
  ke: null,
893
899
  se: null
894
900
  }
895
901
  }), Y = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => () => {
896
- const {Oe: o, ye: r} = t.me;
902
+ const {Oe: o, Se: r} = t.me;
897
903
  return (0, e.createVNode)("div", {
898
904
  role: "rowgroup",
899
905
  style: r
@@ -901,10 +907,10 @@ e.defineComponent)({
901
907
  key: o.ve,
902
908
  me: o,
903
909
  re: t.re,
904
- ze: z(t.Te, o.ve),
910
+ be: b(t.Te, o.ve),
905
911
  ke: t.ke,
906
912
  se: t.se
907
- }, null, 8, [ "me", "re", "ze", "ke", "se" ])) ], 4);
913
+ }, null, 8, [ "me", "re", "be", "ke", "se" ])) ], 4);
908
914
  }, {
909
915
  props: {
910
916
  me: null,
@@ -947,8 +953,8 @@ e.defineComponent)({
947
953
  },
948
954
  emits: [ "verticalScroll", "horizontalScroll", "scrollEnd" ],
949
955
  setup(t, {emit: s, expose: l, slots: u}) {
950
- const f = (0, e.ref)(), p = b(t.rows, t.rowHeight, t.gap), m = b(t.cols, t.colWidth, t.gap), g = (0,
951
- e.computed)(() => p.D(t.rows, t.rowHeight)), S = (0, e.computed)(() => m.D(t.cols, t.colWidth)), h = (0,
956
+ const f = (0, e.ref)(), p = x(t.rows, t.rowHeight, t.gap), m = x(t.cols, t.colWidth, t.gap), _ = (0,
957
+ e.computed)(() => p.X(t.rows, t.rowHeight)), h = (0, e.computed)(() => m.X(t.cols, t.colWidth)), w = (0,
952
958
  e.computed)(() => ((e = o) => {
953
959
  const t = /* @__PURE__ */ new Map;
954
960
  for (const o of e) {
@@ -959,16 +965,16 @@ e.defineComponent)({
959
965
  }
960
966
  }
961
967
  return t;
962
- })(t.spans)), w = $(p), y = $(m), O = ((e, t) => {
968
+ })(t.spans)), y = $(p), k = $(m), C = ((e, t) => {
963
969
  let o, r, n, s = d();
964
- const l = /* @__PURE__ */ new WeakMap, i = /* @__PURE__ */ new WeakMap, c = C(r => {
970
+ const l = /* @__PURE__ */ new WeakMap, i = /* @__PURE__ */ new WeakMap, c = E(r => {
965
971
  const n = [], s = [];
966
- for (const {target: c, contentRect: {width: a, height: u}} of r) if (c === o) (a || u) && (e.P(4, u),
967
- t.P(4, a)); else if (c.offsetParent) {
972
+ for (const {target: c, contentRect: {width: a, height: u}} of r) if (c === o) (a || u) && (e.B(4, u),
973
+ t.B(4, a)); else if (c.offsetParent) {
968
974
  const e = l.get(c), t = i.get(c);
969
975
  null != e && n.push([ e, u ]), null != t && s.push([ t, a ]);
970
976
  }
971
- n.length && e.P(3, n), s.length && t.P(3, s);
977
+ n.length && e.B(3, n), s.length && t.B(3, s);
972
978
  });
973
979
  return {
974
980
  async K(e, t) {
@@ -976,8 +982,8 @@ e.defineComponent)({
976
982
  },
977
983
  ue(l) {
978
984
  const i = o = l.parentElement;
979
- c.X(i);
980
- const u = (e, t) => E(e, i, i, t, t && "rtl" === getComputedStyle(i).direction, () => {
985
+ c.Y(i);
986
+ const u = (e, t) => A(e, i, i, t, t && "rtl" === getComputedStyle(i).direction, () => {
981
987
  const e = t ? "overflowX" : "overflowY", o = i.style, r = o[e];
982
988
  o[e] = "hidden", a(() => {
983
989
  o[e] = r;
@@ -985,185 +991,185 @@ e.defineComponent)({
985
991
  });
986
992
  r = u(e, !1), n = u(t, !0), s[1](!0);
987
993
  },
988
- k() {
989
- c.J(), r && r.J(), n && n.J(), s[1](!1), s = d();
994
+ O() {
995
+ c.D(), r && r.D(), n && n.D(), s[1](!1), s = d();
990
996
  },
991
- fe: (e, t, o) => (null != t && l.set(e, t), null != o && i.set(e, o), c.X(e), () => {
992
- l.delete(e), i.delete(e), c.Y(e);
997
+ fe: (e, t, o) => (null != t && l.set(e, t), null != o && i.set(e, o), c.Y(e), () => {
998
+ l.delete(e), i.delete(e), c.J(e);
993
999
  }),
994
1000
  de() {
995
1001
  r && r.U(), n && n.U();
996
1002
  }
997
1003
  };
998
- })(w, y), j = (0, e.ref)(w.O() + y.O()), q = () => {
999
- j.value = w.O() + y.O();
1004
+ })(y, k), j = (0, e.ref)(y.T() + k.T()), P = () => {
1005
+ j.value = y.T() + k.T();
1000
1006
  };
1001
- w.q(1, q), y.q(1, q);
1007
+ y.P(1, P), k.P(1, P);
1002
1008
  let B = !1;
1003
- w.q(4, () => {
1004
- B = !0, s("verticalScroll", w.A());
1005
- }), y.q(4, () => {
1006
- B = !0, s("horizontalScroll", y.A());
1009
+ y.P(4, () => {
1010
+ B = !0, s("verticalScroll", y.A());
1011
+ }), k.P(4, () => {
1012
+ B = !0, s("horizontalScroll", k.A());
1007
1013
  });
1008
- const L = () => {
1009
- !B || w.N() || y.N() || (B = !1, s("scrollEnd"));
1014
+ const H = () => {
1015
+ !B || y.C() || k.C() || (B = !1, s("scrollEnd"));
1010
1016
  };
1011
- w.q(8, L), y.q(8, L), (0, e.watchEffect)(() => {
1012
- x(w, p, t.rows, g.value, t.headerRows, t.footerRows);
1013
- }), (0, e.watchEffect)(() => {
1014
- x(y, m, t.cols, S.value, t.headerCols, t.footerCols);
1017
+ y.P(8, H), k.P(8, H), (0, e.watchEffect)(() => {
1018
+ p.W(t.headerRows, t.footerRows), m.W(t.headerCols, t.footerCols);
1019
+ const e = S(t.rows), o = S(t.cols);
1020
+ e !== y.N() && y.B(5, [ e ]), o !== k.N() && k.B(5, [ o ]), y.B(9, _.value), k.B(9, h.value);
1015
1021
  });
1016
- const H = (0, e.computed)(() => j.value && w.M()), W = (0, e.computed)(() => j.value && y.M()), V = (0,
1022
+ const L = (0, e.computed)(() => j.value && y.N()), W = (0, e.computed)(() => j.value && k.N()), V = (0,
1017
1023
  e.computed)(() => (j.value, ((e, t, [s, l], [a, u], f, d = o, p = o, m) => {
1018
- const g = e.h(), _ = t.h(), $ = e.W(), S = e.V(), h = t.W(), w = t.V();
1019
- s = i(s, $, S), l = r(l, S - 1), a = i(a, h, w), u = r(u, w - 1);
1020
- const y = I(d, $, S), z = n(h - 1, 0), b = [], x = [], O = [];
1021
- for (const e of p) e.rowIndex < g && e.colIndex < _ && (O.push(e), b.push(e.rowIndex));
1022
- const C = O.length, E = k(y, s, S), j = E < 0 ? -1 : y[E];
1023
- j >= 0 && b.push(j);
1024
- const q = T(c(b), g, $, s, l, S);
1024
+ const _ = e.h(), g = t.h(), $ = e.V(), h = e.F(), w = t.V(), y = t.F();
1025
+ s = i(s, $, h), l = r(l, h - 1), a = i(a, w, y), u = r(u, y - 1);
1026
+ const S = v(d, $, h), b = n(w - 1, 0), x = [], k = [], E = [];
1027
+ for (const e of p) e.rowIndex < _ && e.colIndex < g && (E.push(e), x.push(e.rowIndex));
1028
+ const A = E.length, C = I(S, s, h), j = C < 0 ? -1 : S[C];
1029
+ j >= 0 && x.push(j);
1030
+ const q = O(c(x), _, $, s, l, h);
1025
1031
  for (let e = 0; e < q.length; e++) for (const t of f.get(q[e]) || o) {
1026
- const {rowIndex: o, colIndex: i} = t, c = R(t, g), f = M(t, _);
1027
- if ((e < 1 || q[e - 1] < o) && i < _ && (c - o > 1 || f - i > 1)) {
1028
- let e = (o < $ || n(o, s) < r(c, l + 1) || S < c || j >= o && j < c) && (i < h || n(i, a) < r(f, u + 1) || w < f);
1029
- for (let t = 0; !e && t < C; t++) {
1030
- const r = O[t];
1032
+ const {rowIndex: o, colIndex: i} = t, c = T(t, _), f = R(t, g);
1033
+ if ((e < 1 || q[e - 1] < o) && i < g && (c - o > 1 || f - i > 1)) {
1034
+ let e = (o < $ || n(o, s) < r(c, l + 1) || h < c || j >= o && j < c) && (i < w || n(i, a) < r(f, u + 1) || y < f);
1035
+ for (let t = 0; !e && t < A; t++) {
1036
+ const r = E[t];
1031
1037
  e = r.rowIndex >= o && r.rowIndex < c && r.colIndex >= i && r.colIndex < f;
1032
1038
  }
1033
- e && O.push(t);
1039
+ e && E.push(t);
1034
1040
  }
1035
1041
  }
1036
- for (const {rowIndex: e, colIndex: t} of O) {
1037
- const o = k(y, e, S);
1038
- b.push(e), o >= 0 && b.push(y[o]), x.push(t);
1042
+ for (const {rowIndex: e, colIndex: t} of E) {
1043
+ const o = I(S, e, h);
1044
+ x.push(e), o >= 0 && x.push(S[o]), k.push(t);
1039
1045
  }
1040
- c(b), c(x);
1041
- const P = T(b, g, $, s, l, S), B = T(x, _, h, a, u, w), L = P.length, H = B.length, W = /* @__PURE__ */ new Map, V = [], D = [];
1042
- for (const e of O) {
1043
- const t = R(e, g), o = M(e, _);
1044
- V.push(t), D.push(o);
1046
+ c(x), c(k);
1047
+ const P = O(x, _, $, s, l, h), B = O(k, g, w, a, u, y), H = P.length, L = B.length, W = /* @__PURE__ */ new Map, V = [], F = [];
1048
+ for (const e of E) {
1049
+ const t = T(e, _), o = R(e, g);
1050
+ V.push(t), F.push(o);
1045
1051
  const r = B.indexOf(e.colIndex);
1046
- for (let n = P.indexOf(e.rowIndex); n < L && P[n] < t; n++) {
1047
- const t = P[n] * _;
1048
- for (let n = r; n < H && B[n] < o; n++) W.set(t + B[n], e);
1052
+ for (let n = P.indexOf(e.rowIndex); n < H && P[n] < t; n++) {
1053
+ const t = P[n] * g;
1054
+ for (let n = r; n < L && B[n] < o; n++) W.set(t + B[n], e);
1049
1055
  }
1050
1056
  }
1051
- const F = [];
1052
- for (const e of B) F.push(!t.L(e) && null);
1053
- const X = [], Y = e.u($), J = [];
1054
- let U = J;
1055
- const G = v.get(e), K = /* @__PURE__ */ new Map;
1057
+ const X = [];
1058
+ for (const e of B) X.push(!t.L(e) && null);
1059
+ const Y = [], J = e.u($), D = [];
1060
+ let U = D;
1061
+ const G = z.get(e), K = /* @__PURE__ */ new Map;
1056
1062
  for (const o of P) {
1057
- const r = o < $, i = o >= S, c = k(y, o, S), f = r ? 0 : i ? S : c < 0 ? -1 : y[c];
1063
+ const r = o < $, i = o >= h, c = I(S, o, h), f = r ? 0 : i ? h : c < 0 ? -1 : S[c];
1058
1064
  if (o === f) {
1059
- const e = r ? $ : i ? g : c + 1 < y.length ? y[c + 1] : S;
1065
+ const e = r ? $ : i ? _ : c + 1 < S.length ? S[c + 1] : h;
1060
1066
  V.push(e);
1061
1067
  const t = [];
1062
- J.push({
1068
+ D.push({
1063
1069
  Re: r ? -1 : i ? -2 : -3 - f,
1064
1070
  Oe: t,
1065
- ye: N(f, e, r || i ? 0 : null, i ? "bottom" : "top", 4)
1071
+ Se: N(f, e, r || i ? 0 : null, i ? "bottom" : "top", 4)
1066
1072
  }), U = t;
1067
- } else f < 0 && (U = J);
1068
- const d = c >= 0 && o === f, p = r || i || o === j || o >= s && o <= l, b = d ? Y : null, x = o * _, v = G && G.get(o), I = v && v.Ie, O = [];
1069
- let T = 0, A = !e.L(o) && null, C = o + 1, E = !1;
1070
- for (let e = 0; e < H; e++) {
1071
- const s = B[e], l = s < h, i = s >= w, c = l || i || s >= a && s <= u, f = W.get(x + s);
1073
+ } else f < 0 && (U = D);
1074
+ const d = c >= 0 && o === f, p = r || i || o === j || o >= s && o <= l, x = d ? J : null, z = o * g, v = G && G.get(o), k = v && v.Ie, O = [];
1075
+ let M = 0, E = !e.L(o) && null, A = o + 1, C = !1;
1076
+ for (let e = 0; e < L; e++) {
1077
+ const s = B[e], l = s < w, i = s >= y, c = l || i || s >= a && s <= u, f = W.get(z + s);
1072
1078
  if (f ? f.rowIndex === o && f.colIndex === s : p && c) {
1073
- const c = f ? R(f, g) : o + 1, a = f ? M(f, _) : s + 1, u = c - o, p = a - s, $ = u > 1, S = p > 1, h = $ || S;
1074
- let w, y;
1075
- C = n(C, c);
1076
- const b = l ? t.u(s) : null, x = i ? t.u(_) - t.u(a) : null;
1077
- !1 !== A || $ || (w = o, A = !0), !1 !== F[e] || S || (y = s, F[e] = !0);
1078
- const v = r ? "columnheader" : s === z && (l || d) ? "rowheader" : "cell", k = h ? u : void 0, N = h ? p : void 0, j = "cell" !== v && m && m.rowIndex === o && m.colIndex === s ? m.order : void 0;
1079
+ const c = f ? T(f, _) : o + 1, a = f ? R(f, g) : s + 1, u = c - o, p = a - s, $ = u > 1, h = p > 1, w = $ || h;
1080
+ let y, S;
1081
+ A = n(A, c);
1082
+ const x = l ? t.u(s) : null, z = i ? t.u(g) - t.u(a) : null;
1083
+ !1 !== E || $ || (y = o, E = !0), !1 !== X[e] || h || (S = s, X[e] = !0);
1084
+ const v = r ? "columnheader" : s === b && (l || d) ? "rowheader" : "cell", I = w ? u : void 0, N = w ? p : void 0, j = "cell" !== v && m && m.rowIndex === o && m.colIndex === s ? m.order : void 0;
1079
1085
  let q;
1080
- if (I) {
1081
- const e = I.length;
1082
- for (;T < e && I[T]._e < s; ) T++;
1083
- T < e && I[T]._e === s && (q = I[T]);
1086
+ if (k) {
1087
+ const e = k.length;
1088
+ for (;M < e && k[M].ge < s; ) M++;
1089
+ M < e && k[M].ge === s && (q = k[M]);
1084
1090
  }
1085
- if (!q || q.$e !== k || q.Se !== N || q.Me !== b || q.Ae !== x || q.pe !== w || q.ge !== y || q.he !== v || q.we !== j) {
1091
+ if (!q || q.$e !== I || q.he !== N || q.Me !== x || q.Ne !== z || q.pe !== y || q._e !== S || q.we !== v || q.ye !== j) {
1086
1092
  let e = "1/l" + s;
1087
- h && (e += "/l" + c + "/l" + a);
1093
+ w && (e += "/l" + c + "/l" + a);
1088
1094
  const t = {
1089
1095
  contain: "layout style",
1090
1096
  display: "grid",
1091
1097
  gridArea: e
1092
1098
  };
1093
- $ && (t.height = "0px", t.minHeight = "100%", t.zIndex = 1), S && (t.width = "0px",
1094
- t.minWidth = "100%"), (l || i) && (t[l ? "insetInlineStart" : "insetInlineEnd"] = (l ? b : x) + "px",
1099
+ $ && (t.height = "0px", t.minHeight = "100%", t.zIndex = 1), h && (t.width = "0px",
1100
+ t.minWidth = "100%"), (l || i) && (t[l ? "insetInlineStart" : "insetInlineEnd"] = (l ? x : z) + "px",
1095
1101
  t.position = "sticky", t.zIndex = 2), q = {
1096
- _e: s,
1097
- $e: k,
1098
- Se: N,
1099
- pe: w,
1100
- ge: y,
1101
- he: v,
1102
- we: j,
1103
- ye: t,
1104
- Me: b,
1105
- Ae: x
1106
- }, E = !0;
1102
+ ge: s,
1103
+ $e: I,
1104
+ he: N,
1105
+ pe: y,
1106
+ _e: S,
1107
+ we: v,
1108
+ ye: j,
1109
+ Se: t,
1110
+ Me: x,
1111
+ Ne: z
1112
+ }, C = !0;
1107
1113
  }
1108
1114
  O.push(q);
1109
1115
  }
1110
1116
  }
1111
- if (X.push(A), O.length) {
1112
- const e = v && !E && v.Ie.length === O.length && v.Ne === b ? v : {
1117
+ if (Y.push(E), O.length) {
1118
+ const e = v && !C && v.Ie.length === O.length && v.Ee === x ? v : {
1113
1119
  ve: o,
1114
1120
  Ie: O,
1115
- ye: N(o, C, b, "top", 3),
1116
- Ne: b
1121
+ Se: N(o, A, x, "top", 3),
1122
+ Ee: x
1117
1123
  };
1118
1124
  K.set(o, e), U.push(e);
1119
1125
  }
1120
1126
  }
1121
- return v.set(e, K), {
1122
- Ce: A(e, P, X, c(V), "max-content", g),
1123
- Ee: A(t, B, F, c(D), "minmax(max-content,auto)", _),
1124
- je: J
1127
+ return z.set(e, K), {
1128
+ Ae: M(e, P, Y, c(V), "max-content", _),
1129
+ Ce: M(t, B, X, c(F), "minmax(max-content,auto)", g),
1130
+ je: D
1125
1131
  };
1126
- })(p, m, w.l(t.bufferSize), y.l(t.bufferSize), h.value, t.sectionRows, t.keepMounted, t.ariaSort))), D = (0,
1127
- e.computed)(() => j.value && (w.N() || y.N()));
1132
+ })(p, m, y.l(t.bufferSize), k.l(t.bufferSize), w.value, t.sectionRows, t.keepMounted, t.ariaSort))), F = (0,
1133
+ e.computed)(() => j.value && (y.C() || k.C()));
1128
1134
  return (0, e.onMounted)(() => {
1129
- O.ue(f.value);
1135
+ C.ue(f.value);
1130
1136
  }), (0, e.onUnmounted)(() => {
1131
- w.k(), y.k(), O.k();
1137
+ y.O(), k.O(), C.O();
1132
1138
  }), (0, e.watch)([ j ], () => {
1133
- O.de();
1139
+ C.de();
1134
1140
  }, {
1135
1141
  flush: "post"
1136
1142
  }), l({
1137
1143
  get verticalScrollOffset() {
1138
- return w.A();
1144
+ return y.A();
1139
1145
  },
1140
1146
  get horizontalScrollOffset() {
1141
- return y.A();
1147
+ return k.A();
1142
1148
  },
1143
1149
  get scrollHeight() {
1144
- return _(w);
1150
+ return g(y);
1145
1151
  },
1146
1152
  get scrollWidth() {
1147
- return _(y);
1153
+ return g(k);
1148
1154
  },
1149
1155
  get viewportHeight() {
1150
- return w.o();
1156
+ return y.o();
1151
1157
  },
1152
1158
  get viewportWidth() {
1153
- return y.o();
1159
+ return k.o();
1154
1160
  },
1155
- findRowIndex: w.T,
1156
- findColIndex: y.T,
1157
- getRowOffset: w.u,
1158
- getColOffset: y.u,
1159
- getRowSize: w.p,
1160
- getColSize: y.p,
1161
+ findRowIndex: y.R,
1162
+ findColIndex: k.R,
1163
+ getRowOffset: y.u,
1164
+ getColOffset: k.u,
1165
+ getRowSize: y.p,
1166
+ getColSize: k.p,
1161
1167
  scrollToIndex: e => ((e, t, r, n, s, l = o, {rowIndex: i, colIndex: c, rowAlign: a, colAlign: u}) => {
1162
- null != i && P(e, t, n, l, i, a, !1), null != c && P(e, r, s, o, c, u, !0);
1163
- })(O, w, y, p, m, t.sectionRows, e),
1168
+ null != i && q(e, t, n, l, i, a, !1), null != c && q(e, r, s, o, c, u, !0);
1169
+ })(C, y, k, p, m, t.sectionRows, e),
1164
1170
  scrollTo: ({vertical: e, horizontal: t}) => ((e, t, o) => {
1165
1171
  null != t && e.K(!1, () => t), null != o && e.K(!0, () => o);
1166
- })(O, e, t),
1172
+ })(C, e, t),
1167
1173
  scrollBy: ({vertical: e, horizontal: t}) => ((e, t, o, r, n) => {
1168
1174
  if (null != r) {
1169
1175
  const o = r + t.A();
@@ -1173,9 +1179,9 @@ e.defineComponent)({
1173
1179
  const t = n + o.A();
1174
1180
  e.K(!0, () => t);
1175
1181
  }
1176
- })(O, w, y, e, t)
1182
+ })(C, y, k, e, t)
1177
1183
  }), () => {
1178
- const {Ce: o, Ee: r, je: n} = V.value, s = w.u(0), l = y.u(0), i = {
1184
+ const {Ae: o, Ce: r, je: n} = V.value, s = y.u(0), l = k.u(0), i = {
1179
1185
  contain: "size style",
1180
1186
  overflowAnchor: "none",
1181
1187
  flex: "none",
@@ -1185,12 +1191,12 @@ e.defineComponent)({
1185
1191
  gap: t.gap + "px",
1186
1192
  marginTop: s + "px",
1187
1193
  marginInlineStart: l + "px",
1188
- height: _(w) - s + "px",
1189
- pointerEvents: D.value ? "none" : void 0
1194
+ height: g(y) - s + "px",
1195
+ pointerEvents: F.value ? "none" : void 0
1190
1196
  };
1191
1197
  return (0, e.createVNode)("div", {
1192
1198
  role: "table",
1193
- "aria-rowcount": H.value,
1199
+ "aria-rowcount": L.value,
1194
1200
  "aria-colcount": W.value,
1195
1201
  style: {
1196
1202
  overflow: "auto",
@@ -1207,18 +1213,18 @@ e.defineComponent)({
1207
1213
  re: u.default,
1208
1214
  Te: t.rows,
1209
1215
  ke: t.cols,
1210
- se: O.fe
1216
+ se: C.fe
1211
1217
  }, null, 8, [ "me", "re", "Te", "ke", "se" ]) : (0, e.createVNode)(X, {
1212
1218
  key: o.ve,
1213
1219
  me: o,
1214
1220
  re: u.default,
1215
- ze: z(t.rows, o.ve),
1221
+ be: b(t.rows, o.ve),
1216
1222
  ke: t.cols,
1217
- se: O.fe
1218
- }, null, 8, [ "me", "re", "ze", "ke", "se" ])) ], 4) ], 8, [ "aria-rowcount", "aria-colcount" ]);
1223
+ se: C.fe
1224
+ }, null, 8, [ "me", "re", "be", "ke", "se" ])) ], 4) ], 8, [ "aria-rowcount", "aria-colcount" ]);
1219
1225
  };
1220
1226
  }
1221
1227
  });
1222
1228
 
1223
- exports.VGrid = J, exports.VList = V, exports.Virtualizer = W, exports.WindowVirtualizer = D;
1229
+ exports.VGrid = J, exports.VList = W, exports.Virtualizer = L, exports.WindowVirtualizer = V;
1224
1230
  //# sourceMappingURL=index.cjs.map