@yester/virtual-table 1.2.2 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import * as oe from "react";
2
- import Ye, { version as Pr, isValidElement as jr, forwardRef as Ar, useMemo as ye, memo as Jt, useState as Ie, useImperativeHandle as Mr, useEffect as Qe, createElement as It, useLayoutEffect as _t, useRef as ze, useCallback as ge } from "react";
3
- import $t from "react-dom";
1
+ import * as ne from "react";
2
+ import Ke, { version as Pr, isValidElement as jr, forwardRef as Ar, useMemo as ye, memo as Xt, useState as $e, useImperativeHandle as Mr, useEffect as tt, createElement as $t, useLayoutEffect as xt, useRef as Le, useCallback as ge } from "react";
3
+ import kt from "react-dom";
4
4
  function zr(e) {
5
5
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6
6
  }
7
- var ht = { exports: {} }, We = {};
7
+ var vt = { exports: {} }, He = {};
8
8
  /**
9
9
  * @license React
10
10
  * react-jsx-runtime.production.min.js
@@ -14,25 +14,25 @@ var ht = { exports: {} }, We = {};
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
17
- var Lt;
17
+ var Dt;
18
18
  function Ir() {
19
- if (Lt)
20
- return We;
21
- Lt = 1;
22
- var e = Ye, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
23
- function a(h, l, c) {
24
- var f, E = {}, b = null, I = null;
25
- c !== void 0 && (b = "" + c), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (I = l.ref);
26
- for (f in l)
27
- n.call(l, f) && !s.hasOwnProperty(f) && (E[f] = l[f]);
28
- if (h && h.defaultProps)
29
- for (f in l = h.defaultProps, l)
30
- E[f] === void 0 && (E[f] = l[f]);
31
- return { $$typeof: t, type: h, key: b, ref: I, props: E, _owner: i.current };
19
+ if (Dt)
20
+ return He;
21
+ Dt = 1;
22
+ var e = Ke, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
23
+ function l(d, a, h) {
24
+ var u, w = {}, m = null, A = null;
25
+ h !== void 0 && (m = "" + h), a.key !== void 0 && (m = "" + a.key), a.ref !== void 0 && (A = a.ref);
26
+ for (u in a)
27
+ r.call(a, u) && !s.hasOwnProperty(u) && (w[u] = a[u]);
28
+ if (d && d.defaultProps)
29
+ for (u in a = d.defaultProps, a)
30
+ w[u] === void 0 && (w[u] = a[u]);
31
+ return { $$typeof: t, type: d, key: m, ref: A, props: w, _owner: i.current };
32
32
  }
33
- return We.Fragment = r, We.jsx = a, We.jsxs = a, We;
33
+ return He.Fragment = n, He.jsx = l, He.jsxs = l, He;
34
34
  }
35
- var Ve = {};
35
+ var Be = {};
36
36
  /**
37
37
  * @license React
38
38
  * react-jsx-runtime.development.js
@@ -42,91 +42,91 @@ var Ve = {};
42
42
  * This source code is licensed under the MIT license found in the
43
43
  * LICENSE file in the root directory of this source tree.
44
44
  */
45
- var kt;
46
- function $r() {
47
- return kt || (kt = 1, process.env.NODE_ENV !== "production" && function() {
48
- var e = Ye, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), h = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), A = Symbol.iterator, T = "@@iterator";
49
- function u(o) {
45
+ var Ft;
46
+ function Lr() {
47
+ return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
48
+ var e = Ke, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), M = Symbol.iterator, R = "@@iterator";
49
+ function c(o) {
50
50
  if (o === null || typeof o != "object")
51
51
  return null;
52
- var d = A && o[A] || o[T];
53
- return typeof d == "function" ? d : null;
52
+ var f = M && o[M] || o[R];
53
+ return typeof f == "function" ? f : null;
54
54
  }
55
- var j = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
56
- function P(o) {
55
+ var P = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
56
+ function S(o) {
57
57
  {
58
- for (var d = arguments.length, y = new Array(d > 1 ? d - 1 : 0), L = 1; L < d; L++)
59
- y[L - 1] = arguments[L];
60
- J("error", o, y);
58
+ for (var f = arguments.length, _ = new Array(f > 1 ? f - 1 : 0), D = 1; D < f; D++)
59
+ _[D - 1] = arguments[D];
60
+ Z("error", o, _);
61
61
  }
62
62
  }
63
- function J(o, d, y) {
63
+ function Z(o, f, _) {
64
64
  {
65
- var L = j.ReactDebugCurrentFrame, G = L.getStackAddendum();
66
- G !== "" && (d += "%s", y = y.concat([G]));
67
- var X = y.map(function(B) {
68
- return String(B);
65
+ var D = P.ReactDebugCurrentFrame, U = D.getStackAddendum();
66
+ U !== "" && (f += "%s", _ = _.concat([U]));
67
+ var Q = _.map(function(K) {
68
+ return String(K);
69
69
  });
70
- X.unshift("Warning: " + d), Function.prototype.apply.call(console[o], console, X);
70
+ Q.unshift("Warning: " + f), Function.prototype.apply.call(console[o], console, Q);
71
71
  }
72
72
  }
73
- var z = !1, N = !1, D = !1, k = !1, p = !1, F;
74
- F = Symbol.for("react.module.reference");
75
- function M(o) {
76
- return !!(typeof o == "string" || typeof o == "function" || o === n || o === s || p || o === i || o === c || o === f || k || o === I || z || N || D || typeof o == "object" && o !== null && (o.$$typeof === b || o.$$typeof === E || o.$$typeof === a || o.$$typeof === h || o.$$typeof === l || // This needs to include all possible module reference object
73
+ var I = !1, G = !1, L = !1, $ = !1, j = !1, T;
74
+ T = Symbol.for("react.module.reference");
75
+ function F(o) {
76
+ return !!(typeof o == "string" || typeof o == "function" || o === r || o === s || j || o === i || o === h || o === u || $ || o === A || I || G || L || typeof o == "object" && o !== null && (o.$$typeof === m || o.$$typeof === w || o.$$typeof === l || o.$$typeof === d || o.$$typeof === a || // This needs to include all possible module reference object
77
77
  // types supported by any Flight configuration anywhere since
78
78
  // we don't know which Flight build this will end up being used
79
79
  // with.
80
- o.$$typeof === F || o.getModuleId !== void 0));
80
+ o.$$typeof === T || o.getModuleId !== void 0));
81
81
  }
82
- function W(o, d, y) {
83
- var L = o.displayName;
84
- if (L)
85
- return L;
86
- var G = d.displayName || d.name || "";
87
- return G !== "" ? y + "(" + G + ")" : y;
82
+ function N(o, f, _) {
83
+ var D = o.displayName;
84
+ if (D)
85
+ return D;
86
+ var U = f.displayName || f.name || "";
87
+ return U !== "" ? _ + "(" + U + ")" : _;
88
88
  }
89
89
  function H(o) {
90
90
  return o.displayName || "Context";
91
91
  }
92
- function K(o) {
92
+ function W(o) {
93
93
  if (o == null)
94
94
  return null;
95
- if (typeof o.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
95
+ if (typeof o.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
96
96
  return o.displayName || o.name || null;
97
97
  if (typeof o == "string")
98
98
  return o;
99
99
  switch (o) {
100
- case n:
101
- return "Fragment";
102
100
  case r:
101
+ return "Fragment";
102
+ case n:
103
103
  return "Portal";
104
104
  case s:
105
105
  return "Profiler";
106
106
  case i:
107
107
  return "StrictMode";
108
- case c:
108
+ case h:
109
109
  return "Suspense";
110
- case f:
110
+ case u:
111
111
  return "SuspenseList";
112
112
  }
113
113
  if (typeof o == "object")
114
114
  switch (o.$$typeof) {
115
- case h:
116
- var d = o;
117
- return H(d) + ".Consumer";
118
- case a:
119
- var y = o;
120
- return H(y._context) + ".Provider";
115
+ case d:
116
+ var f = o;
117
+ return H(f) + ".Consumer";
121
118
  case l:
122
- return W(o, o.render, "ForwardRef");
123
- case E:
124
- var L = o.displayName || null;
125
- return L !== null ? L : K(o.type) || "Memo";
126
- case b: {
127
- var G = o, X = G._payload, B = G._init;
119
+ var _ = o;
120
+ return H(_._context) + ".Provider";
121
+ case a:
122
+ return N(o, o.render, "ForwardRef");
123
+ case w:
124
+ var D = o.displayName || null;
125
+ return D !== null ? D : W(o.type) || "Memo";
126
+ case m: {
127
+ var U = o, Q = U._payload, K = U._init;
128
128
  try {
129
- return K(B(X));
129
+ return W(K(Q));
130
130
  } catch {
131
131
  return null;
132
132
  }
@@ -134,18 +134,18 @@ function $r() {
134
134
  }
135
135
  return null;
136
136
  }
137
- var re = Object.assign, he = 0, be, Te, _e, Ee, Se, v, C;
138
- function w() {
137
+ var te = Object.assign, de = 0, be, Se, Re, ue, Te, Pe, y;
138
+ function g() {
139
139
  }
140
- w.__reactDisabledLog = !0;
141
- function m() {
140
+ g.__reactDisabledLog = !0;
141
+ function v() {
142
142
  {
143
- if (he === 0) {
144
- be = console.log, Te = console.info, _e = console.warn, Ee = console.error, Se = console.group, v = console.groupCollapsed, C = console.groupEnd;
143
+ if (de === 0) {
144
+ be = console.log, Se = console.info, Re = console.warn, ue = console.error, Te = console.group, Pe = console.groupCollapsed, y = console.groupEnd;
145
145
  var o = {
146
146
  configurable: !0,
147
147
  enumerable: !0,
148
- value: w,
148
+ value: g,
149
149
  writable: !0
150
150
  };
151
151
  Object.defineProperties(console, {
@@ -158,336 +158,336 @@ function $r() {
158
158
  groupEnd: o
159
159
  });
160
160
  }
161
- he++;
161
+ de++;
162
162
  }
163
163
  }
164
- function g() {
164
+ function C() {
165
165
  {
166
- if (he--, he === 0) {
166
+ if (de--, de === 0) {
167
167
  var o = {
168
168
  configurable: !0,
169
169
  enumerable: !0,
170
170
  writable: !0
171
171
  };
172
172
  Object.defineProperties(console, {
173
- log: re({}, o, {
173
+ log: te({}, o, {
174
174
  value: be
175
175
  }),
176
- info: re({}, o, {
177
- value: Te
176
+ info: te({}, o, {
177
+ value: Se
178
178
  }),
179
- warn: re({}, o, {
180
- value: _e
179
+ warn: te({}, o, {
180
+ value: Re
181
181
  }),
182
- error: re({}, o, {
183
- value: Ee
182
+ error: te({}, o, {
183
+ value: ue
184
184
  }),
185
- group: re({}, o, {
186
- value: Se
185
+ group: te({}, o, {
186
+ value: Te
187
187
  }),
188
- groupCollapsed: re({}, o, {
189
- value: v
188
+ groupCollapsed: te({}, o, {
189
+ value: Pe
190
190
  }),
191
- groupEnd: re({}, o, {
192
- value: C
191
+ groupEnd: te({}, o, {
192
+ value: y
193
193
  })
194
194
  });
195
195
  }
196
- he < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
+ de < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
197
197
  }
198
198
  }
199
- var x = j.ReactCurrentDispatcher, _;
200
- function R(o, d, y) {
199
+ var p = P.ReactCurrentDispatcher, x;
200
+ function b(o, f, _) {
201
201
  {
202
- if (_ === void 0)
202
+ if (x === void 0)
203
203
  try {
204
204
  throw Error();
205
- } catch (G) {
206
- var L = G.stack.trim().match(/\n( *(at )?)/);
207
- _ = L && L[1] || "";
205
+ } catch (U) {
206
+ var D = U.stack.trim().match(/\n( *(at )?)/);
207
+ x = D && D[1] || "";
208
208
  }
209
209
  return `
210
- ` + _ + o;
210
+ ` + x + o;
211
211
  }
212
212
  }
213
- var S = !1, $;
213
+ var O = !1, z;
214
214
  {
215
- var Y = typeof WeakMap == "function" ? WeakMap : Map;
216
- $ = new Y();
215
+ var V = typeof WeakMap == "function" ? WeakMap : Map;
216
+ z = new V();
217
217
  }
218
- function ne(o, d) {
219
- if (!o || S)
218
+ function k(o, f) {
219
+ if (!o || O)
220
220
  return "";
221
221
  {
222
- var y = $.get(o);
223
- if (y !== void 0)
224
- return y;
222
+ var _ = z.get(o);
223
+ if (_ !== void 0)
224
+ return _;
225
225
  }
226
- var L;
227
- S = !0;
228
- var G = Error.prepareStackTrace;
226
+ var D;
227
+ O = !0;
228
+ var U = Error.prepareStackTrace;
229
229
  Error.prepareStackTrace = void 0;
230
- var X;
231
- X = x.current, x.current = null, m();
230
+ var Q;
231
+ Q = p.current, p.current = null, v();
232
232
  try {
233
- if (d) {
234
- var B = function() {
233
+ if (f) {
234
+ var K = function() {
235
235
  throw Error();
236
236
  };
237
- if (Object.defineProperty(B.prototype, "props", {
237
+ if (Object.defineProperty(K.prototype, "props", {
238
238
  set: function() {
239
239
  throw Error();
240
240
  }
241
241
  }), typeof Reflect == "object" && Reflect.construct) {
242
242
  try {
243
- Reflect.construct(B, []);
244
- } catch (ve) {
245
- L = ve;
243
+ Reflect.construct(K, []);
244
+ } catch (pe) {
245
+ D = pe;
246
246
  }
247
- Reflect.construct(o, [], B);
247
+ Reflect.construct(o, [], K);
248
248
  } else {
249
249
  try {
250
- B.call();
251
- } catch (ve) {
252
- L = ve;
250
+ K.call();
251
+ } catch (pe) {
252
+ D = pe;
253
253
  }
254
- o.call(B.prototype);
254
+ o.call(K.prototype);
255
255
  }
256
256
  } else {
257
257
  try {
258
258
  throw Error();
259
- } catch (ve) {
260
- L = ve;
259
+ } catch (pe) {
260
+ D = pe;
261
261
  }
262
262
  o();
263
263
  }
264
- } catch (ve) {
265
- if (ve && L && typeof ve.stack == "string") {
266
- for (var V = ve.stack.split(`
267
- `), de = L.stack.split(`
268
- `), ie = V.length - 1, le = de.length - 1; ie >= 1 && le >= 0 && V[ie] !== de[le]; )
269
- le--;
270
- for (; ie >= 1 && le >= 0; ie--, le--)
271
- if (V[ie] !== de[le]) {
272
- if (ie !== 1 || le !== 1)
264
+ } catch (pe) {
265
+ if (pe && D && typeof pe.stack == "string") {
266
+ for (var Y = pe.stack.split(`
267
+ `), he = D.stack.split(`
268
+ `), ie = Y.length - 1, ae = he.length - 1; ie >= 1 && ae >= 0 && Y[ie] !== he[ae]; )
269
+ ae--;
270
+ for (; ie >= 1 && ae >= 0; ie--, ae--)
271
+ if (Y[ie] !== he[ae]) {
272
+ if (ie !== 1 || ae !== 1)
273
273
  do
274
- if (ie--, le--, le < 0 || V[ie] !== de[le]) {
275
- var we = `
276
- ` + V[ie].replace(" at new ", " at ");
277
- return o.displayName && we.includes("<anonymous>") && (we = we.replace("<anonymous>", o.displayName)), typeof o == "function" && $.set(o, we), we;
274
+ if (ie--, ae--, ae < 0 || Y[ie] !== he[ae]) {
275
+ var Ee = `
276
+ ` + Y[ie].replace(" at new ", " at ");
277
+ return o.displayName && Ee.includes("<anonymous>") && (Ee = Ee.replace("<anonymous>", o.displayName)), typeof o == "function" && z.set(o, Ee), Ee;
278
278
  }
279
- while (ie >= 1 && le >= 0);
279
+ while (ie >= 1 && ae >= 0);
280
280
  break;
281
281
  }
282
282
  }
283
283
  } finally {
284
- S = !1, x.current = X, g(), Error.prepareStackTrace = G;
284
+ O = !1, p.current = Q, C(), Error.prepareStackTrace = U;
285
285
  }
286
- var ke = o ? o.displayName || o.name : "", Me = ke ? R(ke) : "";
287
- return typeof o == "function" && $.set(o, Me), Me;
286
+ var De = o ? o.displayName || o.name : "", Ie = De ? b(De) : "";
287
+ return typeof o == "function" && z.set(o, Ie), Ie;
288
288
  }
289
- function ee(o, d, y) {
290
- return ne(o, !1);
289
+ function B(o, f, _) {
290
+ return k(o, !1);
291
291
  }
292
- function O(o) {
293
- var d = o.prototype;
294
- return !!(d && d.isReactComponent);
292
+ function E(o) {
293
+ var f = o.prototype;
294
+ return !!(f && f.isReactComponent);
295
295
  }
296
- function Z(o, d, y) {
296
+ function le(o, f, _) {
297
297
  if (o == null)
298
298
  return "";
299
299
  if (typeof o == "function")
300
- return ne(o, O(o));
300
+ return k(o, E(o));
301
301
  if (typeof o == "string")
302
- return R(o);
302
+ return b(o);
303
303
  switch (o) {
304
- case c:
305
- return R("Suspense");
306
- case f:
307
- return R("SuspenseList");
304
+ case h:
305
+ return b("Suspense");
306
+ case u:
307
+ return b("SuspenseList");
308
308
  }
309
309
  if (typeof o == "object")
310
310
  switch (o.$$typeof) {
311
- case l:
312
- return ee(o.render);
313
- case E:
314
- return Z(o.type, d, y);
315
- case b: {
316
- var L = o, G = L._payload, X = L._init;
311
+ case a:
312
+ return B(o.render);
313
+ case w:
314
+ return le(o.type, f, _);
315
+ case m: {
316
+ var D = o, U = D._payload, Q = D._init;
317
317
  try {
318
- return Z(X(G), d, y);
318
+ return le(Q(U), f, _);
319
319
  } catch {
320
320
  }
321
321
  }
322
322
  }
323
323
  return "";
324
324
  }
325
- var te = Object.prototype.hasOwnProperty, fe = {}, $e = j.ReactDebugCurrentFrame;
326
- function pe(o) {
325
+ var q = Object.prototype.hasOwnProperty, oe = {}, xe = P.ReactDebugCurrentFrame;
326
+ function we(o) {
327
327
  if (o) {
328
- var d = o._owner, y = Z(o.type, o._source, d ? d.type : null);
329
- $e.setExtraStackFrame(y);
328
+ var f = o._owner, _ = le(o.type, o._source, f ? f.type : null);
329
+ xe.setExtraStackFrame(_);
330
330
  } else
331
- $e.setExtraStackFrame(null);
331
+ xe.setExtraStackFrame(null);
332
332
  }
333
- function se(o, d, y, L, G) {
333
+ function _e(o, f, _, D, U) {
334
334
  {
335
- var X = Function.call.bind(te);
336
- for (var B in o)
337
- if (X(o, B)) {
338
- var V = void 0;
335
+ var Q = Function.call.bind(q);
336
+ for (var K in o)
337
+ if (Q(o, K)) {
338
+ var Y = void 0;
339
339
  try {
340
- if (typeof o[B] != "function") {
341
- var de = Error((L || "React class") + ": " + y + " type `" + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[B] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
342
- throw de.name = "Invariant Violation", de;
340
+ if (typeof o[K] != "function") {
341
+ var he = Error((D || "React class") + ": " + _ + " type `" + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[K] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
342
+ throw he.name = "Invariant Violation", he;
343
343
  }
344
- V = o[B](d, B, L, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
+ Y = o[K](f, K, D, _, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
345
  } catch (ie) {
346
- V = ie;
346
+ Y = ie;
347
347
  }
348
- V && !(V instanceof Error) && (pe(G), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", L || "React class", y, B, typeof V), pe(null)), V instanceof Error && !(V.message in fe) && (fe[V.message] = !0, pe(G), P("Failed %s type: %s", y, V.message), pe(null));
348
+ Y && !(Y instanceof Error) && (we(U), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", D || "React class", _, K, typeof Y), we(null)), Y instanceof Error && !(Y.message in oe) && (oe[Y.message] = !0, we(U), S("Failed %s type: %s", _, Y.message), we(null));
349
349
  }
350
350
  }
351
351
  }
352
- var ae = Array.isArray;
353
- function ce(o) {
354
- return ae(o);
352
+ var se = Array.isArray;
353
+ function re(o) {
354
+ return se(o);
355
355
  }
356
- function je(o) {
356
+ function fe(o) {
357
357
  {
358
- var d = typeof Symbol == "function" && Symbol.toStringTag, y = d && o[Symbol.toStringTag] || o.constructor.name || "Object";
359
- return y;
358
+ var f = typeof Symbol == "function" && Symbol.toStringTag, _ = f && o[Symbol.toStringTag] || o.constructor.name || "Object";
359
+ return _;
360
360
  }
361
361
  }
362
- function Ke(o) {
362
+ function Me(o) {
363
363
  try {
364
- return Ae(o), !1;
364
+ return We(o), !1;
365
365
  } catch {
366
366
  return !0;
367
367
  }
368
368
  }
369
- function Ae(o) {
369
+ function We(o) {
370
370
  return "" + o;
371
371
  }
372
- function Ne(o) {
373
- if (Ke(o))
374
- return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", je(o)), Ae(o);
372
+ function ze(o) {
373
+ if (Me(o))
374
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", fe(o)), We(o);
375
375
  }
376
- var Ce = j.ReactCurrentOwner, fr = {
376
+ var je = P.ReactCurrentOwner, Ve = {
377
377
  key: !0,
378
378
  ref: !0,
379
379
  __self: !0,
380
380
  __source: !0
381
- }, Ct, xt, tt;
382
- tt = {};
381
+ }, Ot, Tt, nt;
382
+ nt = {};
383
383
  function dr(o) {
384
- if (te.call(o, "ref")) {
385
- var d = Object.getOwnPropertyDescriptor(o, "ref").get;
386
- if (d && d.isReactWarning)
384
+ if (q.call(o, "ref")) {
385
+ var f = Object.getOwnPropertyDescriptor(o, "ref").get;
386
+ if (f && f.isReactWarning)
387
387
  return !1;
388
388
  }
389
389
  return o.ref !== void 0;
390
390
  }
391
391
  function hr(o) {
392
- if (te.call(o, "key")) {
393
- var d = Object.getOwnPropertyDescriptor(o, "key").get;
394
- if (d && d.isReactWarning)
392
+ if (q.call(o, "key")) {
393
+ var f = Object.getOwnPropertyDescriptor(o, "key").get;
394
+ if (f && f.isReactWarning)
395
395
  return !1;
396
396
  }
397
397
  return o.key !== void 0;
398
398
  }
399
- function pr(o, d) {
400
- if (typeof o.ref == "string" && Ce.current && d && Ce.current.stateNode !== d) {
401
- var y = K(Ce.current.type);
402
- tt[y] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', K(Ce.current.type), o.ref), tt[y] = !0);
399
+ function pr(o, f) {
400
+ if (typeof o.ref == "string" && je.current && f && je.current.stateNode !== f) {
401
+ var _ = W(je.current.type);
402
+ nt[_] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(je.current.type), o.ref), nt[_] = !0);
403
403
  }
404
404
  }
405
- function vr(o, d) {
405
+ function vr(o, f) {
406
406
  {
407
- var y = function() {
408
- Ct || (Ct = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
407
+ var _ = function() {
408
+ Ot || (Ot = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", f));
409
409
  };
410
- y.isReactWarning = !0, Object.defineProperty(o, "key", {
411
- get: y,
410
+ _.isReactWarning = !0, Object.defineProperty(o, "key", {
411
+ get: _,
412
412
  configurable: !0
413
413
  });
414
414
  }
415
415
  }
416
- function mr(o, d) {
416
+ function mr(o, f) {
417
417
  {
418
- var y = function() {
419
- xt || (xt = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
418
+ var _ = function() {
419
+ Tt || (Tt = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", f));
420
420
  };
421
- y.isReactWarning = !0, Object.defineProperty(o, "ref", {
422
- get: y,
421
+ _.isReactWarning = !0, Object.defineProperty(o, "ref", {
422
+ get: _,
423
423
  configurable: !0
424
424
  });
425
425
  }
426
426
  }
427
- var gr = function(o, d, y, L, G, X, B) {
428
- var V = {
427
+ var gr = function(o, f, _, D, U, Q, K) {
428
+ var Y = {
429
429
  // This tag allows us to uniquely identify this as a React Element
430
430
  $$typeof: t,
431
431
  // Built-in properties that belong on the element
432
432
  type: o,
433
- key: d,
434
- ref: y,
435
- props: B,
433
+ key: f,
434
+ ref: _,
435
+ props: K,
436
436
  // Record the component responsible for creating this element.
437
- _owner: X
437
+ _owner: Q
438
438
  };
439
- return V._store = {}, Object.defineProperty(V._store, "validated", {
439
+ return Y._store = {}, Object.defineProperty(Y._store, "validated", {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !0,
443
443
  value: !1
444
- }), Object.defineProperty(V, "_self", {
444
+ }), Object.defineProperty(Y, "_self", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
- value: L
449
- }), Object.defineProperty(V, "_source", {
448
+ value: D
449
+ }), Object.defineProperty(Y, "_source", {
450
450
  configurable: !1,
451
451
  enumerable: !1,
452
452
  writable: !1,
453
- value: G
454
- }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
453
+ value: U
454
+ }), Object.freeze && (Object.freeze(Y.props), Object.freeze(Y)), Y;
455
455
  };
456
- function yr(o, d, y, L, G) {
456
+ function yr(o, f, _, D, U) {
457
457
  {
458
- var X, B = {}, V = null, de = null;
459
- y !== void 0 && (Ne(y), V = "" + y), hr(d) && (Ne(d.key), V = "" + d.key), dr(d) && (de = d.ref, pr(d, G));
460
- for (X in d)
461
- te.call(d, X) && !fr.hasOwnProperty(X) && (B[X] = d[X]);
458
+ var Q, K = {}, Y = null, he = null;
459
+ _ !== void 0 && (ze(_), Y = "" + _), hr(f) && (ze(f.key), Y = "" + f.key), dr(f) && (he = f.ref, pr(f, U));
460
+ for (Q in f)
461
+ q.call(f, Q) && !Ve.hasOwnProperty(Q) && (K[Q] = f[Q]);
462
462
  if (o && o.defaultProps) {
463
463
  var ie = o.defaultProps;
464
- for (X in ie)
465
- B[X] === void 0 && (B[X] = ie[X]);
464
+ for (Q in ie)
465
+ K[Q] === void 0 && (K[Q] = ie[Q]);
466
466
  }
467
- if (V || de) {
468
- var le = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
469
- V && vr(B, le), de && mr(B, le);
467
+ if (Y || he) {
468
+ var ae = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
469
+ Y && vr(K, ae), he && mr(K, ae);
470
470
  }
471
- return gr(o, V, de, G, L, Ce.current, B);
471
+ return gr(o, Y, he, U, D, je.current, K);
472
472
  }
473
473
  }
474
- var rt = j.ReactCurrentOwner, Ot = j.ReactDebugCurrentFrame;
475
- function Le(o) {
474
+ var ot = P.ReactCurrentOwner, Pt = P.ReactDebugCurrentFrame;
475
+ function ke(o) {
476
476
  if (o) {
477
- var d = o._owner, y = Z(o.type, o._source, d ? d.type : null);
478
- Ot.setExtraStackFrame(y);
477
+ var f = o._owner, _ = le(o.type, o._source, f ? f.type : null);
478
+ Pt.setExtraStackFrame(_);
479
479
  } else
480
- Ot.setExtraStackFrame(null);
480
+ Pt.setExtraStackFrame(null);
481
481
  }
482
- var nt;
483
- nt = !1;
484
- function ot(o) {
482
+ var it;
483
+ it = !1;
484
+ function st(o) {
485
485
  return typeof o == "object" && o !== null && o.$$typeof === t;
486
486
  }
487
- function Tt() {
487
+ function jt() {
488
488
  {
489
- if (rt.current) {
490
- var o = K(rt.current.type);
489
+ if (ot.current) {
490
+ var o = W(ot.current.type);
491
491
  if (o)
492
492
  return `
493
493
 
@@ -499,255 +499,257 @@ Check the render method of \`` + o + "`.";
499
499
  function br(o) {
500
500
  {
501
501
  if (o !== void 0) {
502
- var d = o.fileName.replace(/^.*[\\\/]/, ""), y = o.lineNumber;
502
+ var f = o.fileName.replace(/^.*[\\\/]/, ""), _ = o.lineNumber;
503
503
  return `
504
504
 
505
- Check your code at ` + d + ":" + y + ".";
505
+ Check your code at ` + f + ":" + _ + ".";
506
506
  }
507
507
  return "";
508
508
  }
509
509
  }
510
- var Pt = {};
511
- function Er(o) {
510
+ var At = {};
511
+ function wr(o) {
512
512
  {
513
- var d = Tt();
514
- if (!d) {
515
- var y = typeof o == "string" ? o : o.displayName || o.name;
516
- y && (d = `
513
+ var f = jt();
514
+ if (!f) {
515
+ var _ = typeof o == "string" ? o : o.displayName || o.name;
516
+ _ && (f = `
517
517
 
518
- Check the top-level render call using <` + y + ">.");
518
+ Check the top-level render call using <` + _ + ">.");
519
519
  }
520
- return d;
520
+ return f;
521
521
  }
522
522
  }
523
- function jt(o, d) {
523
+ function Mt(o, f) {
524
524
  {
525
525
  if (!o._store || o._store.validated || o.key != null)
526
526
  return;
527
527
  o._store.validated = !0;
528
- var y = Er(d);
529
- if (Pt[y])
528
+ var _ = wr(f);
529
+ if (At[_])
530
530
  return;
531
- Pt[y] = !0;
532
- var L = "";
533
- o && o._owner && o._owner !== rt.current && (L = " It was passed a child from " + K(o._owner.type) + "."), Le(o), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, L), Le(null);
531
+ At[_] = !0;
532
+ var D = "";
533
+ o && o._owner && o._owner !== ot.current && (D = " It was passed a child from " + W(o._owner.type) + "."), ke(o), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', _, D), ke(null);
534
534
  }
535
535
  }
536
- function At(o, d) {
536
+ function zt(o, f) {
537
537
  {
538
538
  if (typeof o != "object")
539
539
  return;
540
- if (ce(o))
541
- for (var y = 0; y < o.length; y++) {
542
- var L = o[y];
543
- ot(L) && jt(L, d);
540
+ if (re(o))
541
+ for (var _ = 0; _ < o.length; _++) {
542
+ var D = o[_];
543
+ st(D) && Mt(D, f);
544
544
  }
545
- else if (ot(o))
545
+ else if (st(o))
546
546
  o._store && (o._store.validated = !0);
547
547
  else if (o) {
548
- var G = u(o);
549
- if (typeof G == "function" && G !== o.entries)
550
- for (var X = G.call(o), B; !(B = X.next()).done; )
551
- ot(B.value) && jt(B.value, d);
548
+ var U = c(o);
549
+ if (typeof U == "function" && U !== o.entries)
550
+ for (var Q = U.call(o), K; !(K = Q.next()).done; )
551
+ st(K.value) && Mt(K.value, f);
552
552
  }
553
553
  }
554
554
  }
555
- function wr(o) {
555
+ function Er(o) {
556
556
  {
557
- var d = o.type;
558
- if (d == null || typeof d == "string")
557
+ var f = o.type;
558
+ if (f == null || typeof f == "string")
559
559
  return;
560
- var y;
561
- if (typeof d == "function")
562
- y = d.propTypes;
563
- else if (typeof d == "object" && (d.$$typeof === l || // Note: Memo only checks outer props here.
560
+ var _;
561
+ if (typeof f == "function")
562
+ _ = f.propTypes;
563
+ else if (typeof f == "object" && (f.$$typeof === a || // Note: Memo only checks outer props here.
564
564
  // Inner props are checked in the reconciler.
565
- d.$$typeof === E))
566
- y = d.propTypes;
565
+ f.$$typeof === w))
566
+ _ = f.propTypes;
567
567
  else
568
568
  return;
569
- if (y) {
570
- var L = K(d);
571
- se(y, o.props, "prop", L, o);
572
- } else if (d.PropTypes !== void 0 && !nt) {
573
- nt = !0;
574
- var G = K(d);
575
- P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
569
+ if (_) {
570
+ var D = W(f);
571
+ _e(_, o.props, "prop", D, o);
572
+ } else if (f.PropTypes !== void 0 && !it) {
573
+ it = !0;
574
+ var U = W(f);
575
+ S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", U || "Unknown");
576
576
  }
577
- typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
577
+ typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
578
578
  }
579
579
  }
580
580
  function _r(o) {
581
581
  {
582
- for (var d = Object.keys(o.props), y = 0; y < d.length; y++) {
583
- var L = d[y];
584
- if (L !== "children" && L !== "key") {
585
- Le(o), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", L), Le(null);
582
+ for (var f = Object.keys(o.props), _ = 0; _ < f.length; _++) {
583
+ var D = f[_];
584
+ if (D !== "children" && D !== "key") {
585
+ ke(o), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", D), ke(null);
586
586
  break;
587
587
  }
588
588
  }
589
- o.ref !== null && (Le(o), P("Invalid attribute `ref` supplied to `React.Fragment`."), Le(null));
589
+ o.ref !== null && (ke(o), S("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
590
590
  }
591
591
  }
592
- var Mt = {};
593
- function zt(o, d, y, L, G, X) {
592
+ var It = {};
593
+ function Lt(o, f, _, D, U, Q) {
594
594
  {
595
- var B = M(o);
596
- if (!B) {
597
- var V = "";
598
- (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (V += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
599
- var de = br(G);
600
- de ? V += de : V += Tt();
595
+ var K = F(o);
596
+ if (!K) {
597
+ var Y = "";
598
+ (o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (Y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
599
+ var he = br(U);
600
+ he ? Y += he : Y += jt();
601
601
  var ie;
602
- o === null ? ie = "null" : ce(o) ? ie = "array" : o !== void 0 && o.$$typeof === t ? (ie = "<" + (K(o.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : ie = typeof o, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ie, V);
602
+ o === null ? ie = "null" : re(o) ? ie = "array" : o !== void 0 && o.$$typeof === t ? (ie = "<" + (W(o.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : ie = typeof o, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ie, Y);
603
603
  }
604
- var le = yr(o, d, y, G, X);
605
- if (le == null)
606
- return le;
607
- if (B) {
608
- var we = d.children;
609
- if (we !== void 0)
610
- if (L)
611
- if (ce(we)) {
612
- for (var ke = 0; ke < we.length; ke++)
613
- At(we[ke], o);
614
- Object.freeze && Object.freeze(we);
604
+ var ae = yr(o, f, _, U, Q);
605
+ if (ae == null)
606
+ return ae;
607
+ if (K) {
608
+ var Ee = f.children;
609
+ if (Ee !== void 0)
610
+ if (D)
611
+ if (re(Ee)) {
612
+ for (var De = 0; De < Ee.length; De++)
613
+ zt(Ee[De], o);
614
+ Object.freeze && Object.freeze(Ee);
615
615
  } else
616
- P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
616
+ S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
617
617
  else
618
- At(we, o);
618
+ zt(Ee, o);
619
619
  }
620
- if (te.call(d, "key")) {
621
- var Me = K(o), ve = Object.keys(d).filter(function(Tr) {
620
+ if (q.call(f, "key")) {
621
+ var Ie = W(o), pe = Object.keys(f).filter(function(Tr) {
622
622
  return Tr !== "key";
623
- }), it = ve.length > 0 ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}";
624
- if (!Mt[Me + it]) {
625
- var Or = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
626
- P(`A props object containing a "key" prop is being spread into JSX:
623
+ }), at = pe.length > 0 ? "{key: someKey, " + pe.join(": ..., ") + ": ...}" : "{key: someKey}";
624
+ if (!It[Ie + at]) {
625
+ var Or = pe.length > 0 ? "{" + pe.join(": ..., ") + ": ...}" : "{}";
626
+ S(`A props object containing a "key" prop is being spread into JSX:
627
627
  let props = %s;
628
628
  <%s {...props} />
629
629
  React keys must be passed directly to JSX without using spread:
630
630
  let props = %s;
631
- <%s key={someKey} {...props} />`, it, Me, Or, Me), Mt[Me + it] = !0;
631
+ <%s key={someKey} {...props} />`, at, Ie, Or, Ie), It[Ie + at] = !0;
632
632
  }
633
633
  }
634
- return o === n ? _r(le) : wr(le), le;
634
+ return o === r ? _r(ae) : Er(ae), ae;
635
635
  }
636
636
  }
637
- function Rr(o, d, y) {
638
- return zt(o, d, y, !0);
637
+ function Rr(o, f, _) {
638
+ return Lt(o, f, _, !0);
639
639
  }
640
- function Sr(o, d, y) {
641
- return zt(o, d, y, !1);
640
+ function xr(o, f, _) {
641
+ return Lt(o, f, _, !1);
642
642
  }
643
- var Cr = Sr, xr = Rr;
644
- Ve.Fragment = n, Ve.jsx = Cr, Ve.jsxs = xr;
645
- }()), Ve;
643
+ var Cr = xr, Sr = Rr;
644
+ Be.Fragment = r, Be.jsx = Cr, Be.jsxs = Sr;
645
+ }()), Be;
646
646
  }
647
- process.env.NODE_ENV === "production" ? ht.exports = Ir() : ht.exports = $r();
648
- var Q = ht.exports;
649
- function pt() {
650
- return pt = Object.assign ? Object.assign.bind() : function(e) {
647
+ process.env.NODE_ENV === "production" ? vt.exports = Ir() : vt.exports = Lr();
648
+ var ee = vt.exports;
649
+ function mt() {
650
+ return mt = Object.assign ? Object.assign.bind() : function(e) {
651
651
  for (var t = 1; t < arguments.length; t++) {
652
- var r = arguments[t];
653
- for (var n in r)
654
- ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
652
+ var n = arguments[t];
653
+ for (var r in n)
654
+ ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
655
655
  }
656
656
  return e;
657
- }, pt.apply(null, arguments);
657
+ }, mt.apply(null, arguments);
658
658
  }
659
- function Re(e) {
659
+ function Ce(e) {
660
660
  "@babel/helpers - typeof";
661
- return Re = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
661
+ return Ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
662
662
  return typeof t;
663
663
  } : function(t) {
664
664
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
665
- }, Re(e);
665
+ }, Ce(e);
666
666
  }
667
- var Lr = Symbol.for("react.element"), kr = Symbol.for("react.transitional.element"), Dr = Symbol.for("react.fragment");
668
- function Xt(e) {
667
+ var $r = Symbol.for("react.element"), kr = Symbol.for("react.transitional.element"), Dr = Symbol.for("react.fragment");
668
+ function Zt(e) {
669
669
  return (
670
670
  // Base object type
671
- e && Re(e) === "object" && // React Element type
672
- (e.$$typeof === Lr || e.$$typeof === kr) && // React Fragment type
671
+ e && Ce(e) === "object" && // React Element type
672
+ (e.$$typeof === $r || e.$$typeof === kr) && // React Fragment type
673
673
  e.type === Dr
674
674
  );
675
675
  }
676
- function vt(e) {
677
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [];
678
- return Ye.Children.forEach(e, function(n) {
679
- n == null && !t.keepEmpty || (Array.isArray(n) ? r = r.concat(vt(n)) : Xt(n) && n.props ? r = r.concat(vt(n.props.children, t)) : r.push(n));
680
- }), r;
676
+ function gt(e) {
677
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [];
678
+ return Ke.Children.forEach(e, function(r) {
679
+ r == null && !t.keepEmpty || (Array.isArray(r) ? n = n.concat(gt(r)) : Zt(r) && r.props ? n = n.concat(gt(r.props.children, t)) : n.push(r));
680
+ }), n;
681
681
  }
682
682
  var Fr = [];
683
- function Dt(e, t) {
684
- if (process.env.NODE_ENV !== "production" && !e && console !== void 0)
685
- var r = Fr.reduce(function(n, i) {
686
- return i(n ?? "", "warning");
683
+ function Nt(e, t) {
684
+ if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
685
+ var n = Fr.reduce(function(r, i) {
686
+ return i(r ?? "", "warning");
687
687
  }, t);
688
+ n && console.error("Warning: ".concat(n));
689
+ }
688
690
  }
689
691
  function Nr(e, t) {
690
- if (Re(e) != "object" || !e)
692
+ if (Ce(e) != "object" || !e)
691
693
  return e;
692
- var r = e[Symbol.toPrimitive];
693
- if (r !== void 0) {
694
- var n = r.call(e, t || "default");
695
- if (Re(n) != "object")
696
- return n;
694
+ var n = e[Symbol.toPrimitive];
695
+ if (n !== void 0) {
696
+ var r = n.call(e, t || "default");
697
+ if (Ce(r) != "object")
698
+ return r;
697
699
  throw new TypeError("@@toPrimitive must return a primitive value.");
698
700
  }
699
701
  return (t === "string" ? String : Number)(e);
700
702
  }
701
- function Zt(e) {
703
+ function Qt(e) {
702
704
  var t = Nr(e, "string");
703
- return Re(t) == "symbol" ? t : t + "";
705
+ return Ce(t) == "symbol" ? t : t + "";
704
706
  }
705
- function Wr(e, t, r) {
706
- return (t = Zt(t)) in e ? Object.defineProperty(e, t, {
707
- value: r,
707
+ function Wr(e, t, n) {
708
+ return (t = Qt(t)) in e ? Object.defineProperty(e, t, {
709
+ value: n,
708
710
  enumerable: !0,
709
711
  configurable: !0,
710
712
  writable: !0
711
- }) : e[t] = r, e;
713
+ }) : e[t] = n, e;
712
714
  }
713
- function Ft(e, t) {
714
- var r = Object.keys(e);
715
+ function Wt(e, t) {
716
+ var n = Object.keys(e);
715
717
  if (Object.getOwnPropertySymbols) {
716
- var n = Object.getOwnPropertySymbols(e);
717
- t && (n = n.filter(function(i) {
718
+ var r = Object.getOwnPropertySymbols(e);
719
+ t && (r = r.filter(function(i) {
718
720
  return Object.getOwnPropertyDescriptor(e, i).enumerable;
719
- })), r.push.apply(r, n);
721
+ })), n.push.apply(n, r);
720
722
  }
721
- return r;
723
+ return n;
722
724
  }
723
- function Nt(e) {
725
+ function Vt(e) {
724
726
  for (var t = 1; t < arguments.length; t++) {
725
- var r = arguments[t] != null ? arguments[t] : {};
726
- t % 2 ? Ft(Object(r), !0).forEach(function(n) {
727
- Wr(e, n, r[n]);
728
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ft(Object(r)).forEach(function(n) {
729
- Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
727
+ var n = arguments[t] != null ? arguments[t] : {};
728
+ t % 2 ? Wt(Object(n), !0).forEach(function(r) {
729
+ Wr(e, r, n[r]);
730
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Wt(Object(n)).forEach(function(r) {
731
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
730
732
  });
731
733
  }
732
734
  return e;
733
735
  }
734
- function Wt(e) {
736
+ function Ht(e) {
735
737
  return e instanceof HTMLElement || e instanceof SVGElement;
736
738
  }
737
739
  function Vr(e) {
738
- return e && Re(e) === "object" && Wt(e.nativeElement) ? e.nativeElement : Wt(e) ? e : null;
740
+ return e && Ce(e) === "object" && Ht(e.nativeElement) ? e.nativeElement : Ht(e) ? e : null;
739
741
  }
740
- function st(e) {
742
+ function lt(e) {
741
743
  var t = Vr(e);
742
744
  if (t)
743
745
  return t;
744
- if (e instanceof Ye.Component) {
745
- var r;
746
- return (r = $t.findDOMNode) === null || r === void 0 ? void 0 : r.call($t, e);
746
+ if (e instanceof Ke.Component) {
747
+ var n;
748
+ return (n = kt.findDOMNode) === null || n === void 0 ? void 0 : n.call(kt, e);
747
749
  }
748
750
  return null;
749
751
  }
750
- var mt = { exports: {} }, U = {};
752
+ var yt = { exports: {} }, J = {};
751
753
  /**
752
754
  * @license React
753
755
  * react-is.production.min.js
@@ -757,76 +759,76 @@ var mt = { exports: {} }, U = {};
757
759
  * This source code is licensed under the MIT license found in the
758
760
  * LICENSE file in the root directory of this source tree.
759
761
  */
760
- var Vt;
762
+ var Bt;
761
763
  function Hr() {
762
- if (Vt)
763
- return U;
764
- Vt = 1;
765
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), h = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), A;
766
- A = Symbol.for("react.module.reference");
767
- function T(u) {
768
- if (typeof u == "object" && u !== null) {
769
- var j = u.$$typeof;
770
- switch (j) {
764
+ if (Bt)
765
+ return J;
766
+ Bt = 1;
767
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), d = Symbol.for("react.server_context"), a = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), M;
768
+ M = Symbol.for("react.module.reference");
769
+ function R(c) {
770
+ if (typeof c == "object" && c !== null) {
771
+ var P = c.$$typeof;
772
+ switch (P) {
771
773
  case e:
772
- switch (u = u.type, u) {
773
- case r:
774
- case i:
774
+ switch (c = c.type, c) {
775
775
  case n:
776
- case c:
777
- case f:
778
- return u;
776
+ case i:
777
+ case r:
778
+ case h:
779
+ case u:
780
+ return c;
779
781
  default:
780
- switch (u = u && u.$$typeof, u) {
781
- case h:
782
- case a:
782
+ switch (c = c && c.$$typeof, c) {
783
+ case d:
783
784
  case l:
784
- case b:
785
- case E:
785
+ case a:
786
+ case m:
787
+ case w:
786
788
  case s:
787
- return u;
789
+ return c;
788
790
  default:
789
- return j;
791
+ return P;
790
792
  }
791
793
  }
792
794
  case t:
793
- return j;
795
+ return P;
794
796
  }
795
797
  }
796
798
  }
797
- return U.ContextConsumer = a, U.ContextProvider = s, U.Element = e, U.ForwardRef = l, U.Fragment = r, U.Lazy = b, U.Memo = E, U.Portal = t, U.Profiler = i, U.StrictMode = n, U.Suspense = c, U.SuspenseList = f, U.isAsyncMode = function() {
799
+ return J.ContextConsumer = l, J.ContextProvider = s, J.Element = e, J.ForwardRef = a, J.Fragment = n, J.Lazy = m, J.Memo = w, J.Portal = t, J.Profiler = i, J.StrictMode = r, J.Suspense = h, J.SuspenseList = u, J.isAsyncMode = function() {
798
800
  return !1;
799
- }, U.isConcurrentMode = function() {
801
+ }, J.isConcurrentMode = function() {
800
802
  return !1;
801
- }, U.isContextConsumer = function(u) {
802
- return T(u) === a;
803
- }, U.isContextProvider = function(u) {
804
- return T(u) === s;
805
- }, U.isElement = function(u) {
806
- return typeof u == "object" && u !== null && u.$$typeof === e;
807
- }, U.isForwardRef = function(u) {
808
- return T(u) === l;
809
- }, U.isFragment = function(u) {
810
- return T(u) === r;
811
- }, U.isLazy = function(u) {
812
- return T(u) === b;
813
- }, U.isMemo = function(u) {
814
- return T(u) === E;
815
- }, U.isPortal = function(u) {
816
- return T(u) === t;
817
- }, U.isProfiler = function(u) {
818
- return T(u) === i;
819
- }, U.isStrictMode = function(u) {
820
- return T(u) === n;
821
- }, U.isSuspense = function(u) {
822
- return T(u) === c;
823
- }, U.isSuspenseList = function(u) {
824
- return T(u) === f;
825
- }, U.isValidElementType = function(u) {
826
- return typeof u == "string" || typeof u == "function" || u === r || u === i || u === n || u === c || u === f || u === I || typeof u == "object" && u !== null && (u.$$typeof === b || u.$$typeof === E || u.$$typeof === s || u.$$typeof === a || u.$$typeof === l || u.$$typeof === A || u.getModuleId !== void 0);
827
- }, U.typeOf = T, U;
828
- }
829
- var q = {};
803
+ }, J.isContextConsumer = function(c) {
804
+ return R(c) === l;
805
+ }, J.isContextProvider = function(c) {
806
+ return R(c) === s;
807
+ }, J.isElement = function(c) {
808
+ return typeof c == "object" && c !== null && c.$$typeof === e;
809
+ }, J.isForwardRef = function(c) {
810
+ return R(c) === a;
811
+ }, J.isFragment = function(c) {
812
+ return R(c) === n;
813
+ }, J.isLazy = function(c) {
814
+ return R(c) === m;
815
+ }, J.isMemo = function(c) {
816
+ return R(c) === w;
817
+ }, J.isPortal = function(c) {
818
+ return R(c) === t;
819
+ }, J.isProfiler = function(c) {
820
+ return R(c) === i;
821
+ }, J.isStrictMode = function(c) {
822
+ return R(c) === r;
823
+ }, J.isSuspense = function(c) {
824
+ return R(c) === h;
825
+ }, J.isSuspenseList = function(c) {
826
+ return R(c) === u;
827
+ }, J.isValidElementType = function(c) {
828
+ return typeof c == "string" || typeof c == "function" || c === n || c === i || c === r || c === h || c === u || c === A || typeof c == "object" && c !== null && (c.$$typeof === m || c.$$typeof === w || c.$$typeof === s || c.$$typeof === l || c.$$typeof === a || c.$$typeof === M || c.getModuleId !== void 0);
829
+ }, J.typeOf = R, J;
830
+ }
831
+ var X = {};
830
832
  /**
831
833
  * @license React
832
834
  * react-is.development.js
@@ -836,166 +838,166 @@ var q = {};
836
838
  * This source code is licensed under the MIT license found in the
837
839
  * LICENSE file in the root directory of this source tree.
838
840
  */
839
- var Ht;
841
+ var Yt;
840
842
  function Br() {
841
- return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
842
- var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), h = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), A = !1, T = !1, u = !1, j = !1, P = !1, J;
843
- J = Symbol.for("react.module.reference");
844
- function z(O) {
845
- return !!(typeof O == "string" || typeof O == "function" || O === r || O === i || P || O === n || O === c || O === f || j || O === I || A || T || u || typeof O == "object" && O !== null && (O.$$typeof === b || O.$$typeof === E || O.$$typeof === s || O.$$typeof === a || O.$$typeof === l || // This needs to include all possible module reference object
843
+ return Yt || (Yt = 1, process.env.NODE_ENV !== "production" && function() {
844
+ var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), d = Symbol.for("react.server_context"), a = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), M = !1, R = !1, c = !1, P = !1, S = !1, Z;
845
+ Z = Symbol.for("react.module.reference");
846
+ function I(E) {
847
+ return !!(typeof E == "string" || typeof E == "function" || E === n || E === i || S || E === r || E === h || E === u || P || E === A || M || R || c || typeof E == "object" && E !== null && (E.$$typeof === m || E.$$typeof === w || E.$$typeof === s || E.$$typeof === l || E.$$typeof === a || // This needs to include all possible module reference object
846
848
  // types supported by any Flight configuration anywhere since
847
849
  // we don't know which Flight build this will end up being used
848
850
  // with.
849
- O.$$typeof === J || O.getModuleId !== void 0));
851
+ E.$$typeof === Z || E.getModuleId !== void 0));
850
852
  }
851
- function N(O) {
852
- if (typeof O == "object" && O !== null) {
853
- var Z = O.$$typeof;
854
- switch (Z) {
853
+ function G(E) {
854
+ if (typeof E == "object" && E !== null) {
855
+ var le = E.$$typeof;
856
+ switch (le) {
855
857
  case e:
856
- var te = O.type;
857
- switch (te) {
858
- case r:
859
- case i:
858
+ var q = E.type;
859
+ switch (q) {
860
860
  case n:
861
- case c:
862
- case f:
863
- return te;
861
+ case i:
862
+ case r:
863
+ case h:
864
+ case u:
865
+ return q;
864
866
  default:
865
- var fe = te && te.$$typeof;
866
- switch (fe) {
867
- case h:
868
- case a:
867
+ var oe = q && q.$$typeof;
868
+ switch (oe) {
869
+ case d:
869
870
  case l:
870
- case b:
871
- case E:
871
+ case a:
872
+ case m:
873
+ case w:
872
874
  case s:
873
- return fe;
875
+ return oe;
874
876
  default:
875
- return Z;
877
+ return le;
876
878
  }
877
879
  }
878
880
  case t:
879
- return Z;
881
+ return le;
880
882
  }
881
883
  }
882
884
  }
883
- var D = a, k = s, p = e, F = l, M = r, W = b, H = E, K = t, re = i, he = n, be = c, Te = f, _e = !1, Ee = !1;
884
- function Se(O) {
885
- return _e || (_e = !0), !1;
885
+ var L = l, $ = s, j = e, T = a, F = n, N = m, H = w, W = t, te = i, de = r, be = h, Se = u, Re = !1, ue = !1;
886
+ function Te(E) {
887
+ return Re || (Re = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
886
888
  }
887
- function v(O) {
888
- return Ee || (Ee = !0), !1;
889
+ function Pe(E) {
890
+ return ue || (ue = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
889
891
  }
890
- function C(O) {
891
- return N(O) === a;
892
+ function y(E) {
893
+ return G(E) === l;
892
894
  }
893
- function w(O) {
894
- return N(O) === s;
895
+ function g(E) {
896
+ return G(E) === s;
895
897
  }
896
- function m(O) {
897
- return typeof O == "object" && O !== null && O.$$typeof === e;
898
+ function v(E) {
899
+ return typeof E == "object" && E !== null && E.$$typeof === e;
898
900
  }
899
- function g(O) {
900
- return N(O) === l;
901
+ function C(E) {
902
+ return G(E) === a;
901
903
  }
902
- function x(O) {
903
- return N(O) === r;
904
+ function p(E) {
905
+ return G(E) === n;
904
906
  }
905
- function _(O) {
906
- return N(O) === b;
907
+ function x(E) {
908
+ return G(E) === m;
907
909
  }
908
- function R(O) {
909
- return N(O) === E;
910
+ function b(E) {
911
+ return G(E) === w;
910
912
  }
911
- function S(O) {
912
- return N(O) === t;
913
+ function O(E) {
914
+ return G(E) === t;
913
915
  }
914
- function $(O) {
915
- return N(O) === i;
916
+ function z(E) {
917
+ return G(E) === i;
916
918
  }
917
- function Y(O) {
918
- return N(O) === n;
919
+ function V(E) {
920
+ return G(E) === r;
919
921
  }
920
- function ne(O) {
921
- return N(O) === c;
922
+ function k(E) {
923
+ return G(E) === h;
922
924
  }
923
- function ee(O) {
924
- return N(O) === f;
925
+ function B(E) {
926
+ return G(E) === u;
925
927
  }
926
- q.ContextConsumer = D, q.ContextProvider = k, q.Element = p, q.ForwardRef = F, q.Fragment = M, q.Lazy = W, q.Memo = H, q.Portal = K, q.Profiler = re, q.StrictMode = he, q.Suspense = be, q.SuspenseList = Te, q.isAsyncMode = Se, q.isConcurrentMode = v, q.isContextConsumer = C, q.isContextProvider = w, q.isElement = m, q.isForwardRef = g, q.isFragment = x, q.isLazy = _, q.isMemo = R, q.isPortal = S, q.isProfiler = $, q.isStrictMode = Y, q.isSuspense = ne, q.isSuspenseList = ee, q.isValidElementType = z, q.typeOf = N;
927
- }()), q;
928
+ X.ContextConsumer = L, X.ContextProvider = $, X.Element = j, X.ForwardRef = T, X.Fragment = F, X.Lazy = N, X.Memo = H, X.Portal = W, X.Profiler = te, X.StrictMode = de, X.Suspense = be, X.SuspenseList = Se, X.isAsyncMode = Te, X.isConcurrentMode = Pe, X.isContextConsumer = y, X.isContextProvider = g, X.isElement = v, X.isForwardRef = C, X.isFragment = p, X.isLazy = x, X.isMemo = b, X.isPortal = O, X.isProfiler = z, X.isStrictMode = V, X.isSuspense = k, X.isSuspenseList = B, X.isValidElementType = I, X.typeOf = G;
929
+ }()), X;
928
930
  }
929
- process.env.NODE_ENV === "production" ? mt.exports = Hr() : mt.exports = Br();
930
- var at = mt.exports;
931
- function Yr(e, t, r) {
932
- var n = oe.useRef({});
933
- return (!("value" in n.current) || r(n.current.condition, t)) && (n.current.value = e(), n.current.condition = t), n.current.value;
931
+ process.env.NODE_ENV === "production" ? yt.exports = Hr() : yt.exports = Br();
932
+ var ct = yt.exports;
933
+ function Yr(e, t, n) {
934
+ var r = ne.useRef({});
935
+ return (!("value" in r.current) || n(r.current.condition, t)) && (r.current.value = e(), r.current.condition = t), r.current.value;
934
936
  }
935
- var Kr = Number(Pr.split(".")[0]), Gr = function(t, r) {
936
- typeof t == "function" ? t(r) : Re(t) === "object" && t && "current" in t && (t.current = r);
937
+ var Kr = Number(Pr.split(".")[0]), Gr = function(t, n) {
938
+ typeof t == "function" ? t(n) : Ce(t) === "object" && t && "current" in t && (t.current = n);
937
939
  }, Ur = function() {
938
- for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
939
- r[n] = arguments[n];
940
- var i = r.filter(Boolean);
940
+ for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
941
+ n[r] = arguments[r];
942
+ var i = n.filter(Boolean);
941
943
  return i.length <= 1 ? i[0] : function(s) {
942
- r.forEach(function(a) {
943
- Gr(a, s);
944
+ n.forEach(function(l) {
945
+ Gr(l, s);
944
946
  });
945
947
  };
946
948
  }, qr = function() {
947
- for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
948
- r[n] = arguments[n];
949
+ for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
950
+ n[r] = arguments[r];
949
951
  return Yr(function() {
950
- return Ur.apply(void 0, r);
951
- }, r, function(i, s) {
952
- return i.length !== s.length || i.every(function(a, h) {
953
- return a !== s[h];
952
+ return Ur.apply(void 0, n);
953
+ }, n, function(i, s) {
954
+ return i.length !== s.length || i.every(function(l, d) {
955
+ return l !== s[d];
954
956
  });
955
957
  });
956
958
  }, Jr = function(t) {
957
- var r, n;
959
+ var n, r;
958
960
  if (!t)
959
961
  return !1;
960
- if (Qt(t) && Kr >= 19)
962
+ if (er(t) && Kr >= 19)
961
963
  return !0;
962
- var i = at.isMemo(t) ? t.type.type : t.type;
963
- return !(typeof i == "function" && !((r = i.prototype) !== null && r !== void 0 && r.render) && i.$$typeof !== at.ForwardRef || typeof t == "function" && !((n = t.prototype) !== null && n !== void 0 && n.render) && t.$$typeof !== at.ForwardRef);
964
+ var i = ct.isMemo(t) ? t.type.type : t.type;
965
+ return !(typeof i == "function" && !((n = i.prototype) !== null && n !== void 0 && n.render) && i.$$typeof !== ct.ForwardRef || typeof t == "function" && !((r = t.prototype) !== null && r !== void 0 && r.render) && t.$$typeof !== ct.ForwardRef);
964
966
  };
965
- function Qt(e) {
966
- return /* @__PURE__ */ jr(e) && !Xt(e);
967
+ function er(e) {
968
+ return /* @__PURE__ */ jr(e) && !Zt(e);
967
969
  }
968
970
  var Xr = function(t) {
969
- if (t && Qt(t)) {
970
- var r = t;
971
- return r.props.propertyIsEnumerable("ref") ? r.props.ref : r.ref;
971
+ if (t && er(t)) {
972
+ var n = t;
973
+ return n.props.propertyIsEnumerable("ref") ? n.props.ref : n.ref;
972
974
  }
973
975
  return null;
974
- }, gt = /* @__PURE__ */ oe.createContext(null);
976
+ }, bt = /* @__PURE__ */ ne.createContext(null);
975
977
  function Zr(e) {
976
- var t = e.children, r = e.onBatchResize, n = oe.useRef(0), i = oe.useRef([]), s = oe.useContext(gt), a = oe.useCallback(function(h, l, c) {
977
- n.current += 1;
978
- var f = n.current;
978
+ var t = e.children, n = e.onBatchResize, r = ne.useRef(0), i = ne.useRef([]), s = ne.useContext(bt), l = ne.useCallback(function(d, a, h) {
979
+ r.current += 1;
980
+ var u = r.current;
979
981
  i.current.push({
980
- size: h,
981
- element: l,
982
- data: c
982
+ size: d,
983
+ element: a,
984
+ data: h
983
985
  }), Promise.resolve().then(function() {
984
- f === n.current && (r == null || r(i.current), i.current = []);
985
- }), s == null || s(h, l, c);
986
- }, [r, s]);
987
- return /* @__PURE__ */ oe.createElement(gt.Provider, {
988
- value: a
986
+ u === r.current && (n == null || n(i.current), i.current = []);
987
+ }), s == null || s(d, a, h);
988
+ }, [n, s]);
989
+ return /* @__PURE__ */ ne.createElement(bt.Provider, {
990
+ value: l
989
991
  }, t);
990
992
  }
991
- var er = function() {
993
+ var tr = function() {
992
994
  if (typeof Map < "u")
993
995
  return Map;
994
- function e(t, r) {
995
- var n = -1;
996
+ function e(t, n) {
997
+ var r = -1;
996
998
  return t.some(function(i, s) {
997
- return i[0] === r ? (n = s, !0) : !1;
998
- }), n;
999
+ return i[0] === n ? (r = s, !0) : !1;
1000
+ }), r;
999
1001
  }
1000
1002
  return (
1001
1003
  /** @class */
@@ -1012,56 +1014,56 @@ var er = function() {
1012
1014
  },
1013
1015
  enumerable: !0,
1014
1016
  configurable: !0
1015
- }), t.prototype.get = function(r) {
1016
- var n = e(this.__entries__, r), i = this.__entries__[n];
1017
+ }), t.prototype.get = function(n) {
1018
+ var r = e(this.__entries__, n), i = this.__entries__[r];
1017
1019
  return i && i[1];
1018
- }, t.prototype.set = function(r, n) {
1019
- var i = e(this.__entries__, r);
1020
- ~i ? this.__entries__[i][1] = n : this.__entries__.push([r, n]);
1021
- }, t.prototype.delete = function(r) {
1022
- var n = this.__entries__, i = e(n, r);
1023
- ~i && n.splice(i, 1);
1024
- }, t.prototype.has = function(r) {
1025
- return !!~e(this.__entries__, r);
1020
+ }, t.prototype.set = function(n, r) {
1021
+ var i = e(this.__entries__, n);
1022
+ ~i ? this.__entries__[i][1] = r : this.__entries__.push([n, r]);
1023
+ }, t.prototype.delete = function(n) {
1024
+ var r = this.__entries__, i = e(r, n);
1025
+ ~i && r.splice(i, 1);
1026
+ }, t.prototype.has = function(n) {
1027
+ return !!~e(this.__entries__, n);
1026
1028
  }, t.prototype.clear = function() {
1027
1029
  this.__entries__.splice(0);
1028
- }, t.prototype.forEach = function(r, n) {
1029
- n === void 0 && (n = null);
1030
+ }, t.prototype.forEach = function(n, r) {
1031
+ r === void 0 && (r = null);
1030
1032
  for (var i = 0, s = this.__entries__; i < s.length; i++) {
1031
- var a = s[i];
1032
- r.call(n, a[1], a[0]);
1033
+ var l = s[i];
1034
+ n.call(r, l[1], l[0]);
1033
1035
  }
1034
1036
  }, t;
1035
1037
  }()
1036
1038
  );
1037
- }(), yt = typeof window < "u" && typeof document < "u" && window.document === document, Ue = function() {
1039
+ }(), wt = typeof window < "u" && typeof document < "u" && window.document === document, Je = function() {
1038
1040
  return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
1039
1041
  }(), Qr = function() {
1040
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Ue) : function(e) {
1042
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Je) : function(e) {
1041
1043
  return setTimeout(function() {
1042
1044
  return e(Date.now());
1043
1045
  }, 1e3 / 60);
1044
1046
  };
1045
1047
  }(), en = 2;
1046
1048
  function tn(e, t) {
1047
- var r = !1, n = !1, i = 0;
1049
+ var n = !1, r = !1, i = 0;
1048
1050
  function s() {
1049
- r && (r = !1, e()), n && h();
1051
+ n && (n = !1, e()), r && d();
1050
1052
  }
1051
- function a() {
1053
+ function l() {
1052
1054
  Qr(s);
1053
1055
  }
1054
- function h() {
1055
- var l = Date.now();
1056
- if (r) {
1057
- if (l - i < en)
1056
+ function d() {
1057
+ var a = Date.now();
1058
+ if (n) {
1059
+ if (a - i < en)
1058
1060
  return;
1059
- n = !0;
1061
+ r = !0;
1060
1062
  } else
1061
- r = !0, n = !1, setTimeout(a, t);
1062
- i = l;
1063
+ n = !0, r = !1, setTimeout(l, t);
1064
+ i = a;
1063
1065
  }
1064
- return h;
1066
+ return d;
1065
1067
  }
1066
1068
  var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], on = typeof MutationObserver < "u", sn = (
1067
1069
  /** @class */
@@ -1072,39 +1074,39 @@ var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size",
1072
1074
  return e.prototype.addObserver = function(t) {
1073
1075
  ~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_();
1074
1076
  }, e.prototype.removeObserver = function(t) {
1075
- var r = this.observers_, n = r.indexOf(t);
1076
- ~n && r.splice(n, 1), !r.length && this.connected_ && this.disconnect_();
1077
+ var n = this.observers_, r = n.indexOf(t);
1078
+ ~r && n.splice(r, 1), !n.length && this.connected_ && this.disconnect_();
1077
1079
  }, e.prototype.refresh = function() {
1078
1080
  var t = this.updateObservers_();
1079
1081
  t && this.refresh();
1080
1082
  }, e.prototype.updateObservers_ = function() {
1081
- var t = this.observers_.filter(function(r) {
1082
- return r.gatherActive(), r.hasActive();
1083
+ var t = this.observers_.filter(function(n) {
1084
+ return n.gatherActive(), n.hasActive();
1083
1085
  });
1084
- return t.forEach(function(r) {
1085
- return r.broadcastActive();
1086
+ return t.forEach(function(n) {
1087
+ return n.broadcastActive();
1086
1088
  }), t.length > 0;
1087
1089
  }, e.prototype.connect_ = function() {
1088
- !yt || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), on ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1090
+ !wt || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), on ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1089
1091
  attributes: !0,
1090
1092
  childList: !0,
1091
1093
  characterData: !0,
1092
1094
  subtree: !0
1093
1095
  })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
1094
1096
  }, e.prototype.disconnect_ = function() {
1095
- !yt || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
1097
+ !wt || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
1096
1098
  }, e.prototype.onTransitionEnd_ = function(t) {
1097
- var r = t.propertyName, n = r === void 0 ? "" : r, i = nn.some(function(s) {
1098
- return !!~n.indexOf(s);
1099
+ var n = t.propertyName, r = n === void 0 ? "" : n, i = nn.some(function(s) {
1100
+ return !!~r.indexOf(s);
1099
1101
  });
1100
1102
  i && this.refresh();
1101
1103
  }, e.getInstance = function() {
1102
1104
  return this.instance_ || (this.instance_ = new e()), this.instance_;
1103
1105
  }, e.instance_ = null, e;
1104
1106
  }()
1105
- ), tr = function(e, t) {
1106
- for (var r = 0, n = Object.keys(t); r < n.length; r++) {
1107
- var i = n[r];
1107
+ ), rr = function(e, t) {
1108
+ for (var n = 0, r = Object.keys(t); n < r.length; n++) {
1109
+ var i = r[n];
1108
1110
  Object.defineProperty(e, i, {
1109
1111
  value: t[i],
1110
1112
  enumerable: !1,
@@ -1113,77 +1115,77 @@ var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size",
1113
1115
  });
1114
1116
  }
1115
1117
  return e;
1116
- }, Fe = function(e) {
1118
+ }, Ne = function(e) {
1117
1119
  var t = e && e.ownerDocument && e.ownerDocument.defaultView;
1118
- return t || Ue;
1119
- }, rr = et(0, 0, 0, 0);
1120
- function qe(e) {
1120
+ return t || Je;
1121
+ }, nr = rt(0, 0, 0, 0);
1122
+ function Xe(e) {
1121
1123
  return parseFloat(e) || 0;
1122
1124
  }
1123
- function Bt(e) {
1124
- for (var t = [], r = 1; r < arguments.length; r++)
1125
- t[r - 1] = arguments[r];
1126
- return t.reduce(function(n, i) {
1125
+ function Kt(e) {
1126
+ for (var t = [], n = 1; n < arguments.length; n++)
1127
+ t[n - 1] = arguments[n];
1128
+ return t.reduce(function(r, i) {
1127
1129
  var s = e["border-" + i + "-width"];
1128
- return n + qe(s);
1130
+ return r + Xe(s);
1129
1131
  }, 0);
1130
1132
  }
1131
1133
  function an(e) {
1132
- for (var t = ["top", "right", "bottom", "left"], r = {}, n = 0, i = t; n < i.length; n++) {
1133
- var s = i[n], a = e["padding-" + s];
1134
- r[s] = qe(a);
1134
+ for (var t = ["top", "right", "bottom", "left"], n = {}, r = 0, i = t; r < i.length; r++) {
1135
+ var s = i[r], l = e["padding-" + s];
1136
+ n[s] = Xe(l);
1135
1137
  }
1136
- return r;
1138
+ return n;
1137
1139
  }
1138
1140
  function ln(e) {
1139
1141
  var t = e.getBBox();
1140
- return et(0, 0, t.width, t.height);
1142
+ return rt(0, 0, t.width, t.height);
1141
1143
  }
1142
1144
  function cn(e) {
1143
- var t = e.clientWidth, r = e.clientHeight;
1144
- if (!t && !r)
1145
- return rr;
1146
- var n = Fe(e).getComputedStyle(e), i = an(n), s = i.left + i.right, a = i.top + i.bottom, h = qe(n.width), l = qe(n.height);
1147
- if (n.boxSizing === "border-box" && (Math.round(h + s) !== t && (h -= Bt(n, "left", "right") + s), Math.round(l + a) !== r && (l -= Bt(n, "top", "bottom") + a)), !fn(e)) {
1148
- var c = Math.round(h + s) - t, f = Math.round(l + a) - r;
1149
- Math.abs(c) !== 1 && (h -= c), Math.abs(f) !== 1 && (l -= f);
1145
+ var t = e.clientWidth, n = e.clientHeight;
1146
+ if (!t && !n)
1147
+ return nr;
1148
+ var r = Ne(e).getComputedStyle(e), i = an(r), s = i.left + i.right, l = i.top + i.bottom, d = Xe(r.width), a = Xe(r.height);
1149
+ if (r.boxSizing === "border-box" && (Math.round(d + s) !== t && (d -= Kt(r, "left", "right") + s), Math.round(a + l) !== n && (a -= Kt(r, "top", "bottom") + l)), !fn(e)) {
1150
+ var h = Math.round(d + s) - t, u = Math.round(a + l) - n;
1151
+ Math.abs(h) !== 1 && (d -= h), Math.abs(u) !== 1 && (a -= u);
1150
1152
  }
1151
- return et(i.left, i.top, h, l);
1153
+ return rt(i.left, i.top, d, a);
1152
1154
  }
1153
1155
  var un = function() {
1154
1156
  return typeof SVGGraphicsElement < "u" ? function(e) {
1155
- return e instanceof Fe(e).SVGGraphicsElement;
1157
+ return e instanceof Ne(e).SVGGraphicsElement;
1156
1158
  } : function(e) {
1157
- return e instanceof Fe(e).SVGElement && typeof e.getBBox == "function";
1159
+ return e instanceof Ne(e).SVGElement && typeof e.getBBox == "function";
1158
1160
  };
1159
1161
  }();
1160
1162
  function fn(e) {
1161
- return e === Fe(e).document.documentElement;
1163
+ return e === Ne(e).document.documentElement;
1162
1164
  }
1163
1165
  function dn(e) {
1164
- return yt ? un(e) ? ln(e) : cn(e) : rr;
1166
+ return wt ? un(e) ? ln(e) : cn(e) : nr;
1165
1167
  }
1166
1168
  function hn(e) {
1167
- var t = e.x, r = e.y, n = e.width, i = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, a = Object.create(s.prototype);
1168
- return tr(a, {
1169
+ var t = e.x, n = e.y, r = e.width, i = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, l = Object.create(s.prototype);
1170
+ return rr(l, {
1169
1171
  x: t,
1170
- y: r,
1171
- width: n,
1172
+ y: n,
1173
+ width: r,
1172
1174
  height: i,
1173
- top: r,
1174
- right: t + n,
1175
- bottom: i + r,
1175
+ top: n,
1176
+ right: t + r,
1177
+ bottom: i + n,
1176
1178
  left: t
1177
- }), a;
1179
+ }), l;
1178
1180
  }
1179
- function et(e, t, r, n) {
1180
- return { x: e, y: t, width: r, height: n };
1181
+ function rt(e, t, n, r) {
1182
+ return { x: e, y: t, width: n, height: r };
1181
1183
  }
1182
1184
  var pn = (
1183
1185
  /** @class */
1184
1186
  function() {
1185
1187
  function e(t) {
1186
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = et(0, 0, 0, 0), this.target = t;
1188
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = rt(0, 0, 0, 0), this.target = t;
1187
1189
  }
1188
1190
  return e.prototype.isActive = function() {
1189
1191
  var t = dn(this.target);
@@ -1196,51 +1198,51 @@ var pn = (
1196
1198
  ), vn = (
1197
1199
  /** @class */
1198
1200
  function() {
1199
- function e(t, r) {
1200
- var n = hn(r);
1201
- tr(this, { target: t, contentRect: n });
1201
+ function e(t, n) {
1202
+ var r = hn(n);
1203
+ rr(this, { target: t, contentRect: r });
1202
1204
  }
1203
1205
  return e;
1204
1206
  }()
1205
1207
  ), mn = (
1206
1208
  /** @class */
1207
1209
  function() {
1208
- function e(t, r, n) {
1209
- if (this.activeObservations_ = [], this.observations_ = new er(), typeof t != "function")
1210
+ function e(t, n, r) {
1211
+ if (this.activeObservations_ = [], this.observations_ = new tr(), typeof t != "function")
1210
1212
  throw new TypeError("The callback provided as parameter 1 is not a function.");
1211
- this.callback_ = t, this.controller_ = r, this.callbackCtx_ = n;
1213
+ this.callback_ = t, this.controller_ = n, this.callbackCtx_ = r;
1212
1214
  }
1213
1215
  return e.prototype.observe = function(t) {
1214
1216
  if (!arguments.length)
1215
1217
  throw new TypeError("1 argument required, but only 0 present.");
1216
1218
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
1217
- if (!(t instanceof Fe(t).Element))
1219
+ if (!(t instanceof Ne(t).Element))
1218
1220
  throw new TypeError('parameter 1 is not of type "Element".');
1219
- var r = this.observations_;
1220
- r.has(t) || (r.set(t, new pn(t)), this.controller_.addObserver(this), this.controller_.refresh());
1221
+ var n = this.observations_;
1222
+ n.has(t) || (n.set(t, new pn(t)), this.controller_.addObserver(this), this.controller_.refresh());
1221
1223
  }
1222
1224
  }, e.prototype.unobserve = function(t) {
1223
1225
  if (!arguments.length)
1224
1226
  throw new TypeError("1 argument required, but only 0 present.");
1225
1227
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
1226
- if (!(t instanceof Fe(t).Element))
1228
+ if (!(t instanceof Ne(t).Element))
1227
1229
  throw new TypeError('parameter 1 is not of type "Element".');
1228
- var r = this.observations_;
1229
- r.has(t) && (r.delete(t), r.size || this.controller_.removeObserver(this));
1230
+ var n = this.observations_;
1231
+ n.has(t) && (n.delete(t), n.size || this.controller_.removeObserver(this));
1230
1232
  }
1231
1233
  }, e.prototype.disconnect = function() {
1232
1234
  this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
1233
1235
  }, e.prototype.gatherActive = function() {
1234
1236
  var t = this;
1235
- this.clearActive(), this.observations_.forEach(function(r) {
1236
- r.isActive() && t.activeObservations_.push(r);
1237
+ this.clearActive(), this.observations_.forEach(function(n) {
1238
+ n.isActive() && t.activeObservations_.push(n);
1237
1239
  });
1238
1240
  }, e.prototype.broadcastActive = function() {
1239
1241
  if (this.hasActive()) {
1240
- var t = this.callbackCtx_, r = this.activeObservations_.map(function(n) {
1241
- return new vn(n.target, n.broadcastRect());
1242
+ var t = this.callbackCtx_, n = this.activeObservations_.map(function(r) {
1243
+ return new vn(r.target, r.broadcastRect());
1242
1244
  });
1243
- this.callback_.call(t, r, t), this.clearActive();
1245
+ this.callback_.call(t, n, t), this.clearActive();
1244
1246
  }
1245
1247
  }, e.prototype.clearActive = function() {
1246
1248
  this.activeObservations_.splice(0);
@@ -1248,7 +1250,7 @@ var pn = (
1248
1250
  return this.activeObservations_.length > 0;
1249
1251
  }, e;
1250
1252
  }()
1251
- ), nr = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new er(), or = (
1253
+ ), or = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new tr(), ir = (
1252
1254
  /** @class */
1253
1255
  function() {
1254
1256
  function e(t) {
@@ -1256,8 +1258,8 @@ var pn = (
1256
1258
  throw new TypeError("Cannot call a class as a function.");
1257
1259
  if (!arguments.length)
1258
1260
  throw new TypeError("1 argument required, but only 0 present.");
1259
- var r = sn.getInstance(), n = new mn(t, r, this);
1260
- nr.set(this, n);
1261
+ var n = sn.getInstance(), r = new mn(t, n, this);
1262
+ or.set(this, r);
1261
1263
  }
1262
1264
  return e;
1263
1265
  }()
@@ -1267,50 +1269,50 @@ var pn = (
1267
1269
  "unobserve",
1268
1270
  "disconnect"
1269
1271
  ].forEach(function(e) {
1270
- or.prototype[e] = function() {
1272
+ ir.prototype[e] = function() {
1271
1273
  var t;
1272
- return (t = nr.get(this))[e].apply(t, arguments);
1274
+ return (t = or.get(this))[e].apply(t, arguments);
1273
1275
  };
1274
1276
  });
1275
1277
  var gn = function() {
1276
- return typeof Ue.ResizeObserver < "u" ? Ue.ResizeObserver : or;
1278
+ return typeof Je.ResizeObserver < "u" ? Je.ResizeObserver : ir;
1277
1279
  }(), Oe = /* @__PURE__ */ new Map();
1278
- function ir(e) {
1280
+ function sr(e) {
1279
1281
  e.forEach(function(t) {
1280
- var r, n = t.target;
1281
- (r = Oe.get(n)) === null || r === void 0 || r.forEach(function(i) {
1282
- return i(n);
1282
+ var n, r = t.target;
1283
+ (n = Oe.get(r)) === null || n === void 0 || n.forEach(function(i) {
1284
+ return i(r);
1283
1285
  });
1284
1286
  });
1285
1287
  }
1286
- var sr = new gn(ir);
1288
+ var ar = new gn(sr);
1287
1289
  process.env.NODE_ENV;
1288
1290
  process.env.NODE_ENV;
1289
1291
  function yn(e, t) {
1290
- Oe.has(e) || (Oe.set(e, /* @__PURE__ */ new Set()), sr.observe(e)), Oe.get(e).add(t);
1292
+ Oe.has(e) || (Oe.set(e, /* @__PURE__ */ new Set()), ar.observe(e)), Oe.get(e).add(t);
1291
1293
  }
1292
1294
  function bn(e, t) {
1293
- Oe.has(e) && (Oe.get(e).delete(t), Oe.get(e).size || (sr.unobserve(e), Oe.delete(e)));
1295
+ Oe.has(e) && (Oe.get(e).delete(t), Oe.get(e).size || (ar.unobserve(e), Oe.delete(e)));
1294
1296
  }
1295
- function En(e, t) {
1297
+ function wn(e, t) {
1296
1298
  if (!(e instanceof t))
1297
1299
  throw new TypeError("Cannot call a class as a function");
1298
1300
  }
1299
- function Yt(e, t) {
1300
- for (var r = 0; r < t.length; r++) {
1301
- var n = t[r];
1302
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Zt(n.key), n);
1301
+ function Gt(e, t) {
1302
+ for (var n = 0; n < t.length; n++) {
1303
+ var r = t[n];
1304
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Qt(r.key), r);
1303
1305
  }
1304
1306
  }
1305
- function wn(e, t, r) {
1306
- return t && Yt(e.prototype, t), r && Yt(e, r), Object.defineProperty(e, "prototype", {
1307
+ function En(e, t, n) {
1308
+ return t && Gt(e.prototype, t), n && Gt(e, n), Object.defineProperty(e, "prototype", {
1307
1309
  writable: !1
1308
1310
  }), e;
1309
1311
  }
1310
- function bt(e, t) {
1311
- return bt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
1312
- return r.__proto__ = n, r;
1313
- }, bt(e, t);
1312
+ function Et(e, t) {
1313
+ return Et = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
1314
+ return n.__proto__ = r, n;
1315
+ }, Et(e, t);
1314
1316
  }
1315
1317
  function _n(e, t) {
1316
1318
  if (typeof t != "function" && t !== null)
@@ -1323,20 +1325,20 @@ function _n(e, t) {
1323
1325
  }
1324
1326
  }), Object.defineProperty(e, "prototype", {
1325
1327
  writable: !1
1326
- }), t && bt(e, t);
1328
+ }), t && Et(e, t);
1327
1329
  }
1328
- function Je(e) {
1329
- return Je = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
1330
+ function Ze(e) {
1331
+ return Ze = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
1330
1332
  return t.__proto__ || Object.getPrototypeOf(t);
1331
- }, Je(e);
1333
+ }, Ze(e);
1332
1334
  }
1333
- function ar() {
1335
+ function lr() {
1334
1336
  try {
1335
1337
  var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1336
1338
  }));
1337
1339
  } catch {
1338
1340
  }
1339
- return (ar = function() {
1341
+ return (lr = function() {
1340
1342
  return !!e;
1341
1343
  })();
1342
1344
  }
@@ -1345,101 +1347,101 @@ function Rn(e) {
1345
1347
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1346
1348
  return e;
1347
1349
  }
1348
- function Sn(e, t) {
1349
- if (t && (Re(t) == "object" || typeof t == "function"))
1350
+ function xn(e, t) {
1351
+ if (t && (Ce(t) == "object" || typeof t == "function"))
1350
1352
  return t;
1351
1353
  if (t !== void 0)
1352
1354
  throw new TypeError("Derived constructors may only return object or undefined");
1353
1355
  return Rn(e);
1354
1356
  }
1355
1357
  function Cn(e) {
1356
- var t = ar();
1358
+ var t = lr();
1357
1359
  return function() {
1358
- var r, n = Je(e);
1360
+ var n, r = Ze(e);
1359
1361
  if (t) {
1360
- var i = Je(this).constructor;
1361
- r = Reflect.construct(n, arguments, i);
1362
+ var i = Ze(this).constructor;
1363
+ n = Reflect.construct(r, arguments, i);
1362
1364
  } else
1363
- r = n.apply(this, arguments);
1364
- return Sn(this, r);
1365
+ n = r.apply(this, arguments);
1366
+ return xn(this, n);
1365
1367
  };
1366
1368
  }
1367
- var xn = /* @__PURE__ */ function(e) {
1368
- _n(r, e);
1369
- var t = Cn(r);
1370
- function r() {
1371
- return En(this, r), t.apply(this, arguments);
1369
+ var Sn = /* @__PURE__ */ function(e) {
1370
+ _n(n, e);
1371
+ var t = Cn(n);
1372
+ function n() {
1373
+ return wn(this, n), t.apply(this, arguments);
1372
1374
  }
1373
- return wn(r, [{
1375
+ return En(n, [{
1374
1376
  key: "render",
1375
1377
  value: function() {
1376
1378
  return this.props.children;
1377
1379
  }
1378
- }]), r;
1379
- }(oe.Component);
1380
+ }]), n;
1381
+ }(ne.Component);
1380
1382
  function On(e, t) {
1381
- var r = e.children, n = e.disabled, i = oe.useRef(null), s = oe.useRef(null), a = oe.useContext(gt), h = typeof r == "function", l = h ? r(i) : r, c = oe.useRef({
1383
+ var n = e.children, r = e.disabled, i = ne.useRef(null), s = ne.useRef(null), l = ne.useContext(bt), d = typeof n == "function", a = d ? n(i) : n, h = ne.useRef({
1382
1384
  width: -1,
1383
1385
  height: -1,
1384
1386
  offsetWidth: -1,
1385
1387
  offsetHeight: -1
1386
- }), f = !h && /* @__PURE__ */ oe.isValidElement(l) && Jr(l), E = f ? Xr(l) : null, b = qr(E, i), I = function() {
1387
- var j;
1388
- return st(i.current) || // Support `nativeElement` format
1389
- (i.current && Re(i.current) === "object" ? st((j = i.current) === null || j === void 0 ? void 0 : j.nativeElement) : null) || st(s.current);
1388
+ }), u = !d && /* @__PURE__ */ ne.isValidElement(a) && Jr(a), w = u ? Xr(a) : null, m = qr(w, i), A = function() {
1389
+ var P;
1390
+ return lt(i.current) || // Support `nativeElement` format
1391
+ (i.current && Ce(i.current) === "object" ? lt((P = i.current) === null || P === void 0 ? void 0 : P.nativeElement) : null) || lt(s.current);
1390
1392
  };
1391
- oe.useImperativeHandle(t, function() {
1392
- return I();
1393
+ ne.useImperativeHandle(t, function() {
1394
+ return A();
1393
1395
  });
1394
- var A = oe.useRef(e);
1395
- A.current = e;
1396
- var T = oe.useCallback(function(u) {
1397
- var j = A.current, P = j.onResize, J = j.data, z = u.getBoundingClientRect(), N = z.width, D = z.height, k = u.offsetWidth, p = u.offsetHeight, F = Math.floor(N), M = Math.floor(D);
1398
- if (c.current.width !== F || c.current.height !== M || c.current.offsetWidth !== k || c.current.offsetHeight !== p) {
1399
- var W = {
1400
- width: F,
1401
- height: M,
1402
- offsetWidth: k,
1403
- offsetHeight: p
1396
+ var M = ne.useRef(e);
1397
+ M.current = e;
1398
+ var R = ne.useCallback(function(c) {
1399
+ var P = M.current, S = P.onResize, Z = P.data, I = c.getBoundingClientRect(), G = I.width, L = I.height, $ = c.offsetWidth, j = c.offsetHeight, T = Math.floor(G), F = Math.floor(L);
1400
+ if (h.current.width !== T || h.current.height !== F || h.current.offsetWidth !== $ || h.current.offsetHeight !== j) {
1401
+ var N = {
1402
+ width: T,
1403
+ height: F,
1404
+ offsetWidth: $,
1405
+ offsetHeight: j
1404
1406
  };
1405
- c.current = W;
1406
- var H = k === Math.round(N) ? N : k, K = p === Math.round(D) ? D : p, re = Nt(Nt({}, W), {}, {
1407
+ h.current = N;
1408
+ var H = $ === Math.round(G) ? G : $, W = j === Math.round(L) ? L : j, te = Vt(Vt({}, N), {}, {
1407
1409
  offsetWidth: H,
1408
- offsetHeight: K
1410
+ offsetHeight: W
1409
1411
  });
1410
- a == null || a(re, u, J), P && Promise.resolve().then(function() {
1411
- P(re, u);
1412
+ l == null || l(te, c, Z), S && Promise.resolve().then(function() {
1413
+ S(te, c);
1412
1414
  });
1413
1415
  }
1414
1416
  }, []);
1415
- return oe.useEffect(function() {
1416
- var u = I();
1417
- return u && !n && yn(u, T), function() {
1418
- return bn(u, T);
1417
+ return ne.useEffect(function() {
1418
+ var c = A();
1419
+ return c && !r && yn(c, R), function() {
1420
+ return bn(c, R);
1419
1421
  };
1420
- }, [i.current, n]), /* @__PURE__ */ oe.createElement(xn, {
1422
+ }, [i.current, r]), /* @__PURE__ */ ne.createElement(Sn, {
1421
1423
  ref: s
1422
- }, f ? /* @__PURE__ */ oe.cloneElement(l, {
1423
- ref: b
1424
- }) : l);
1424
+ }, u ? /* @__PURE__ */ ne.cloneElement(a, {
1425
+ ref: m
1426
+ }) : a);
1425
1427
  }
1426
- var lr = /* @__PURE__ */ oe.forwardRef(On);
1427
- process.env.NODE_ENV !== "production" && (lr.displayName = "SingleObserver");
1428
+ var cr = /* @__PURE__ */ ne.forwardRef(On);
1429
+ process.env.NODE_ENV !== "production" && (cr.displayName = "SingleObserver");
1428
1430
  var Tn = "rc-observer-key";
1429
1431
  function Pn(e, t) {
1430
- var r = e.children, n = typeof r == "function" ? [r] : vt(r);
1431
- return process.env.NODE_ENV !== "production" && (n.length > 1 ? Dt(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : n.length === 0 && Dt(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), n.map(function(i, s) {
1432
- var a = (i == null ? void 0 : i.key) || "".concat(Tn, "-").concat(s);
1433
- return /* @__PURE__ */ oe.createElement(lr, pt({}, e, {
1434
- key: a,
1432
+ var n = e.children, r = typeof n == "function" ? [n] : gt(n);
1433
+ return process.env.NODE_ENV !== "production" && (r.length > 1 ? Nt(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : r.length === 0 && Nt(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), r.map(function(i, s) {
1434
+ var l = (i == null ? void 0 : i.key) || "".concat(Tn, "-").concat(s);
1435
+ return /* @__PURE__ */ ne.createElement(cr, mt({}, e, {
1436
+ key: l,
1435
1437
  ref: s === 0 ? t : void 0
1436
1438
  }), i);
1437
1439
  });
1438
1440
  }
1439
- var Rt = /* @__PURE__ */ oe.forwardRef(Pn);
1440
- process.env.NODE_ENV !== "production" && (Rt.displayName = "ResizeObserver");
1441
- Rt.Collection = Zr;
1442
- var cr = { exports: {} };
1441
+ var Ct = /* @__PURE__ */ ne.forwardRef(Pn);
1442
+ process.env.NODE_ENV !== "production" && (Ct.displayName = "ResizeObserver");
1443
+ Ct.Collection = Zr;
1444
+ var ur = { exports: {} };
1443
1445
  /*!
1444
1446
  Copyright (c) 2018 Jed Watson.
1445
1447
  Licensed under the MIT License (MIT), see
@@ -1448,118 +1450,118 @@ var cr = { exports: {} };
1448
1450
  (function(e) {
1449
1451
  (function() {
1450
1452
  var t = {}.hasOwnProperty;
1451
- function r() {
1452
- for (var s = "", a = 0; a < arguments.length; a++) {
1453
- var h = arguments[a];
1454
- h && (s = i(s, n(h)));
1453
+ function n() {
1454
+ for (var s = "", l = 0; l < arguments.length; l++) {
1455
+ var d = arguments[l];
1456
+ d && (s = i(s, r(d)));
1455
1457
  }
1456
1458
  return s;
1457
1459
  }
1458
- function n(s) {
1460
+ function r(s) {
1459
1461
  if (typeof s == "string" || typeof s == "number")
1460
1462
  return s;
1461
1463
  if (typeof s != "object")
1462
1464
  return "";
1463
1465
  if (Array.isArray(s))
1464
- return r.apply(null, s);
1466
+ return n.apply(null, s);
1465
1467
  if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
1466
1468
  return s.toString();
1467
- var a = "";
1468
- for (var h in s)
1469
- t.call(s, h) && s[h] && (a = i(a, h));
1470
- return a;
1469
+ var l = "";
1470
+ for (var d in s)
1471
+ t.call(s, d) && s[d] && (l = i(l, d));
1472
+ return l;
1471
1473
  }
1472
- function i(s, a) {
1473
- return a ? s ? s + " " + a : s + a : s;
1474
+ function i(s, l) {
1475
+ return l ? s ? s + " " + l : s + l : s;
1474
1476
  }
1475
- e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
1477
+ e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
1476
1478
  })();
1477
- })(cr);
1478
- var jn = cr.exports;
1479
+ })(ur);
1480
+ var jn = ur.exports;
1479
1481
  const St = /* @__PURE__ */ zr(jn);
1480
- const An = Ar(({ columns: e, width: t, onScroll: r, meta: n }, i) => {
1482
+ const An = Ar(({ columns: e, width: t, onScroll: n, meta: r }, i) => {
1481
1483
  const s = ye(() => {
1482
- const a = [], h = (f) => {
1483
- let E = 0;
1484
- return f.forEach((b) => {
1485
- if (b.children && b.children.length > 0) {
1486
- const I = h(b.children);
1487
- I > E && (E = I);
1484
+ const l = [], d = (u) => {
1485
+ let w = 0;
1486
+ return u.forEach((m) => {
1487
+ if (m.children && m.children.length > 0) {
1488
+ const A = d(m.children);
1489
+ A > w && (w = A);
1488
1490
  }
1489
- }), E + 1;
1490
- }, l = h(e), c = (f, E) => {
1491
- a[E] || (a[E] = []), f.forEach((b) => {
1492
- var u, j;
1493
- let I = "left";
1494
- (u = b.style) != null && u.textAlign && (I = b.style.textAlign);
1495
- let A = n == null ? void 0 : n.find((P) => P.field === b.field);
1496
- if (!A) {
1497
- const P = b.field.split("||");
1498
- if (P.length > 1) {
1499
- const J = P[P.length - 1];
1500
- A = n == null ? void 0 : n.find((z) => z.field === J);
1491
+ }), w + 1;
1492
+ }, a = d(e), h = (u, w) => {
1493
+ l[w] || (l[w] = []), u.forEach((m) => {
1494
+ var c, P;
1495
+ let A = "left";
1496
+ (c = m.style) != null && c.textAlign && (A = m.style.textAlign);
1497
+ let M = r == null ? void 0 : r.find((S) => S.field === m.field);
1498
+ if (!M) {
1499
+ const S = m.field.split("||");
1500
+ if (S.length > 1) {
1501
+ const Z = S[S.length - 1];
1502
+ M = r == null ? void 0 : r.find((I) => I.field === Z);
1501
1503
  } else
1502
- b.field.includes("__") && (A = n == null ? void 0 : n.find((J) => b.field.startsWith(`${J.field}_`)));
1504
+ m.field.includes("__") && (M = r == null ? void 0 : r.find((Z) => m.field.startsWith(`${Z.field}_`)));
1503
1505
  }
1504
- (j = A == null ? void 0 : A.style) != null && j.textAlign && (I = A.style.textAlign);
1505
- const T = {
1506
- key: b.field || b.dataIndex || b.title || String(Math.random()),
1507
- title: b.title,
1508
- width: b.width,
1509
- align: I,
1510
- className: b.field,
1506
+ (P = M == null ? void 0 : M.style) != null && P.textAlign && (A = M.style.textAlign);
1507
+ const R = {
1508
+ key: m.field || m.dataIndex || m.title || String(Math.random()),
1509
+ title: m.title,
1510
+ width: m.width,
1511
+ align: A,
1512
+ className: m.field,
1511
1513
  // col.className not in type, ignore
1512
1514
  colSpan: 1,
1513
1515
  rowSpan: 1
1514
1516
  };
1515
- if (b.children && b.children.length > 0) {
1516
- const P = (J) => J.children && J.children.length > 0 ? J.children.reduce((z, N) => z + P(N), 0) : 1;
1517
- T.colSpan = P(b), a[E].push(T), c(b.children, E + 1);
1517
+ if (m.children && m.children.length > 0) {
1518
+ const S = (Z) => Z.children && Z.children.length > 0 ? Z.children.reduce((I, G) => I + S(G), 0) : 1;
1519
+ R.colSpan = S(m), l[w].push(R), h(m.children, w + 1);
1518
1520
  } else
1519
- T.rowSpan = l - E, a[E].push(T);
1521
+ R.rowSpan = a - w, l[w].push(R);
1520
1522
  });
1521
1523
  };
1522
- return c(e, 0), a;
1523
- }, [e, n]);
1524
- return /* @__PURE__ */ Q.jsx(
1524
+ return h(e, 0), l;
1525
+ }, [e, r]);
1526
+ return /* @__PURE__ */ ee.jsx(
1525
1527
  "div",
1526
1528
  {
1527
1529
  ref: i,
1528
1530
  className: "virtual-table-header hide-scrollbar",
1529
1531
  style: { overflow: "auto", width: t },
1530
- onScroll: r,
1531
- children: /* @__PURE__ */ Q.jsxs("table", { style: { tableLayout: "fixed", width: "100%" }, children: [
1532
- /* @__PURE__ */ Q.jsx("colgroup", { children: e.map((a, h) => {
1533
- const l = (c) => c.children && c.children.length > 0 ? c.children.flatMap(l) : [c.width];
1534
- return l(a).map((c, f) => /* @__PURE__ */ Q.jsx("col", { style: { width: c, minWidth: c } }, `${h}-${f}`));
1532
+ onScroll: n,
1533
+ children: /* @__PURE__ */ ee.jsxs("table", { style: { tableLayout: "fixed", width: "100%" }, children: [
1534
+ /* @__PURE__ */ ee.jsx("colgroup", { children: e.map((l, d) => {
1535
+ const a = (h) => h.children && h.children.length > 0 ? h.children.flatMap(a) : [h.width];
1536
+ return a(l).map((h, u) => /* @__PURE__ */ ee.jsx("col", { style: { width: h, minWidth: h } }, `${d}-${u}`));
1535
1537
  }).flat() }),
1536
- /* @__PURE__ */ Q.jsx("thead", { className: "virtual-table-thead", children: s.map((a, h) => /* @__PURE__ */ Q.jsx("tr", { className: "virtual-table-row", children: a.map((l, c) => /* @__PURE__ */ Q.jsx(
1538
+ /* @__PURE__ */ ee.jsx("thead", { className: "virtual-table-thead", children: s.map((l, d) => /* @__PURE__ */ ee.jsx("tr", { className: "virtual-table-row", children: l.map((a, h) => /* @__PURE__ */ ee.jsx(
1537
1539
  "th",
1538
1540
  {
1539
- className: St("virtual-table-cell", l.className),
1540
- colSpan: l.colSpan,
1541
- rowSpan: l.rowSpan,
1542
- title: l.title,
1541
+ className: St("virtual-table-cell", a.className),
1542
+ colSpan: a.colSpan,
1543
+ rowSpan: a.rowSpan,
1544
+ title: a.title,
1543
1545
  style: {
1544
- textAlign: l.align
1546
+ textAlign: a.align
1545
1547
  },
1546
- children: l.title
1548
+ children: a.title
1547
1549
  },
1548
- c
1549
- )) }, h)) })
1550
+ h
1551
+ )) }, d)) })
1550
1552
  ] })
1551
1553
  }
1552
1554
  );
1553
- }), Et = (e) => {
1555
+ }), _t = (e) => {
1554
1556
  if (e === null || typeof e != "object")
1555
1557
  return e;
1556
1558
  if (Array.isArray(e))
1557
- return e.map((r) => Et(r));
1559
+ return e.map((n) => _t(n));
1558
1560
  const t = {};
1559
- for (const r in e)
1560
- Object.prototype.hasOwnProperty.call(e, r) && (t[r] = Et(e[r]));
1561
+ for (const n in e)
1562
+ Object.prototype.hasOwnProperty.call(e, n) && (t[n] = _t(e[n]));
1561
1563
  return t;
1562
- }, wt = 43, Mn = 100, xe = "-", Kt = "合计", Xe = 20;
1564
+ }, Rt = 43, Mn = 100, me = "-", Ge = "合计", Qe = 20;
1563
1565
  function zn(e) {
1564
1566
  let t = e;
1565
1567
  for (; t; ) {
@@ -1570,13 +1572,13 @@ function zn(e) {
1570
1572
  return !1;
1571
1573
  }
1572
1574
  function In(e, t) {
1573
- const [r, n] = Ie(t === "rtl");
1574
- return _t(() => {
1575
- e && (t || n(zn(e)));
1576
- }, [t, e]), r;
1575
+ const [n, r] = $e(t === "rtl");
1576
+ return xt(() => {
1577
+ e && (t || r(zn(e)));
1578
+ }, [t, e]), n;
1577
1579
  }
1578
- const Ze = typeof window < "u" ? _t : Qe;
1579
- function Gt(e) {
1580
+ const et = typeof window < "u" ? xt : tt;
1581
+ function Ut(e) {
1580
1582
  if (e !== void 0)
1581
1583
  switch (typeof e) {
1582
1584
  case "number":
@@ -1588,431 +1590,431 @@ function Gt(e) {
1588
1590
  }
1589
1591
  }
1590
1592
  }
1591
- function $n({
1593
+ function Ln({
1592
1594
  box: e,
1593
1595
  defaultHeight: t,
1594
- defaultWidth: r,
1595
- disabled: n,
1596
+ defaultWidth: n,
1597
+ disabled: r,
1596
1598
  element: i,
1597
1599
  mode: s,
1598
- style: a
1600
+ style: l
1599
1601
  }) {
1600
- const { styleHeight: h, styleWidth: l } = ye(
1602
+ const { styleHeight: d, styleWidth: a } = ye(
1601
1603
  () => ({
1602
- styleHeight: Gt(a == null ? void 0 : a.height),
1603
- styleWidth: Gt(a == null ? void 0 : a.width)
1604
+ styleHeight: Ut(l == null ? void 0 : l.height),
1605
+ styleWidth: Ut(l == null ? void 0 : l.width)
1604
1606
  }),
1605
- [a == null ? void 0 : a.height, a == null ? void 0 : a.width]
1606
- ), [c, f] = Ie({
1607
+ [l == null ? void 0 : l.height, l == null ? void 0 : l.width]
1608
+ ), [h, u] = $e({
1607
1609
  height: t,
1608
- width: r
1609
- }), E = n || s === "only-height" && h !== void 0 || s === "only-width" && l !== void 0 || h !== void 0 && l !== void 0;
1610
- return Ze(() => {
1611
- if (i === null || E)
1610
+ width: n
1611
+ }), w = r || s === "only-height" && d !== void 0 || s === "only-width" && a !== void 0 || d !== void 0 && a !== void 0;
1612
+ return et(() => {
1613
+ if (i === null || w)
1612
1614
  return;
1613
- const b = new ResizeObserver((I) => {
1614
- for (const A of I) {
1615
- const { contentRect: T, target: u } = A;
1616
- i === u && f((j) => j.height === T.height && j.width === T.width ? j : {
1617
- height: T.height,
1618
- width: T.width
1615
+ const m = new ResizeObserver((A) => {
1616
+ for (const M of A) {
1617
+ const { contentRect: R, target: c } = M;
1618
+ i === c && u((P) => P.height === R.height && P.width === R.width ? P : {
1619
+ height: R.height,
1620
+ width: R.width
1619
1621
  });
1620
1622
  }
1621
1623
  });
1622
- return b.observe(i, { box: e }), () => {
1623
- b == null || b.unobserve(i);
1624
+ return m.observe(i, { box: e }), () => {
1625
+ m == null || m.unobserve(i);
1624
1626
  };
1625
- }, [e, E, i, h, l]), ye(
1627
+ }, [e, w, i, d, a]), ye(
1626
1628
  () => ({
1627
- height: h ?? c.height,
1628
- width: l ?? c.width
1629
+ height: d ?? h.height,
1630
+ width: a ?? h.width
1629
1631
  }),
1630
- [c, h, l]
1632
+ [h, d, a]
1631
1633
  );
1632
1634
  }
1633
- function Ln(e) {
1634
- const t = ze(() => {
1635
+ function $n(e) {
1636
+ const t = Le(() => {
1635
1637
  throw new Error("Cannot call during render.");
1636
1638
  });
1637
- return Ze(() => {
1639
+ return et(() => {
1638
1640
  t.current = e;
1639
- }, [e]), ge((r) => {
1640
- var n;
1641
- return (n = t.current) == null ? void 0 : n.call(t, r);
1641
+ }, [e]), ge((n) => {
1642
+ var r;
1643
+ return (r = t.current) == null ? void 0 : r.call(t, n);
1642
1644
  }, [t]);
1643
1645
  }
1644
- let De = null;
1646
+ let Fe = null;
1645
1647
  function kn(e = !1) {
1646
- if (De === null || e) {
1647
- const t = document.createElement("div"), r = t.style;
1648
- r.width = "50px", r.height = "50px", r.overflow = "scroll", r.direction = "rtl";
1649
- const n = document.createElement("div"), i = n.style;
1650
- return i.width = "100px", i.height = "100px", t.appendChild(n), document.body.appendChild(t), t.scrollLeft > 0 ? De = "positive-descending" : (t.scrollLeft = 1, t.scrollLeft === 0 ? De = "negative" : De = "positive-ascending"), document.body.removeChild(t), De;
1648
+ if (Fe === null || e) {
1649
+ const t = document.createElement("div"), n = t.style;
1650
+ n.width = "50px", n.height = "50px", n.overflow = "scroll", n.direction = "rtl";
1651
+ const r = document.createElement("div"), i = r.style;
1652
+ return i.width = "100px", i.height = "100px", t.appendChild(r), document.body.appendChild(t), t.scrollLeft > 0 ? Fe = "positive-descending" : (t.scrollLeft = 1, t.scrollLeft === 0 ? Fe = "negative" : Fe = "positive-ascending"), document.body.removeChild(t), Fe;
1651
1653
  }
1652
- return De;
1654
+ return Fe;
1653
1655
  }
1654
- function lt({
1656
+ function ut({
1655
1657
  containerElement: e,
1656
1658
  direction: t,
1657
- isRtl: r,
1658
- scrollOffset: n
1659
+ isRtl: n,
1660
+ scrollOffset: r
1659
1661
  }) {
1660
- if (t === "horizontal" && r)
1662
+ if (t === "horizontal" && n)
1661
1663
  switch (kn()) {
1662
1664
  case "negative":
1663
- return -n;
1665
+ return -r;
1664
1666
  case "positive-descending": {
1665
1667
  if (e) {
1666
- const { clientWidth: i, scrollLeft: s, scrollWidth: a } = e;
1667
- return a - i - s;
1668
+ const { clientWidth: i, scrollLeft: s, scrollWidth: l } = e;
1669
+ return l - i - s;
1668
1670
  }
1669
1671
  break;
1670
1672
  }
1671
1673
  }
1672
- return n;
1674
+ return r;
1673
1675
  }
1674
- function Pe(e, t = "Assertion error") {
1676
+ function Ae(e, t = "Assertion error") {
1675
1677
  if (!e)
1676
- throw Error(t);
1678
+ throw console.error(t), Error(t);
1677
1679
  }
1678
- function Be(e, t) {
1680
+ function Ye(e, t) {
1679
1681
  if (e === t)
1680
1682
  return !0;
1681
- if (!!e != !!t || (Pe(e !== void 0), Pe(t !== void 0), Object.keys(e).length !== Object.keys(t).length))
1683
+ if (!!e != !!t || (Ae(e !== void 0), Ae(t !== void 0), Object.keys(e).length !== Object.keys(t).length))
1682
1684
  return !1;
1683
- for (const r in e)
1684
- if (!Object.is(t[r], e[r]))
1685
+ for (const n in e)
1686
+ if (!Object.is(t[n], e[n]))
1685
1687
  return !1;
1686
1688
  return !0;
1687
1689
  }
1688
- function ur({
1690
+ function fr({
1689
1691
  cachedBounds: e,
1690
1692
  itemCount: t,
1691
- itemSize: r
1693
+ itemSize: n
1692
1694
  }) {
1693
1695
  if (t === 0)
1694
1696
  return 0;
1695
- if (typeof r == "number")
1696
- return t * r;
1697
+ if (typeof n == "number")
1698
+ return t * n;
1697
1699
  {
1698
- const n = e.get(
1700
+ const r = e.get(
1699
1701
  e.size === 0 ? 0 : e.size - 1
1700
1702
  );
1701
- Pe(n !== void 0, "Unexpected bounds cache miss");
1702
- const i = (n.scrollOffset + n.size) / e.size;
1703
+ Ae(r !== void 0, "Unexpected bounds cache miss");
1704
+ const i = (r.scrollOffset + r.size) / e.size;
1703
1705
  return t * i;
1704
1706
  }
1705
1707
  }
1706
1708
  function Dn({
1707
1709
  align: e,
1708
1710
  cachedBounds: t,
1709
- index: r,
1710
- itemCount: n,
1711
+ index: n,
1712
+ itemCount: r,
1711
1713
  itemSize: i,
1712
1714
  containerScrollOffset: s,
1713
- containerSize: a
1715
+ containerSize: l
1714
1716
  }) {
1715
- if (r < 0 || r >= n)
1716
- throw RangeError(`Invalid index specified: ${r}`, {
1717
- cause: `Index ${r} is not within the range of 0 - ${n - 1}`
1717
+ if (n < 0 || n >= r)
1718
+ throw RangeError(`Invalid index specified: ${n}`, {
1719
+ cause: `Index ${n} is not within the range of 0 - ${r - 1}`
1718
1720
  });
1719
- const h = ur({
1721
+ const d = fr({
1720
1722
  cachedBounds: t,
1721
- itemCount: n,
1723
+ itemCount: r,
1722
1724
  itemSize: i
1723
- }), l = t.get(r), c = Math.max(
1725
+ }), a = t.get(n), h = Math.max(
1724
1726
  0,
1725
- Math.min(h - a, l.scrollOffset)
1726
- ), f = Math.max(
1727
+ Math.min(d - l, a.scrollOffset)
1728
+ ), u = Math.max(
1727
1729
  0,
1728
- l.scrollOffset - a + l.size
1730
+ a.scrollOffset - l + a.size
1729
1731
  );
1730
- switch (e === "smart" && (s >= f && s <= c ? e = "auto" : e = "center"), e) {
1732
+ switch (e === "smart" && (s >= u && s <= h ? e = "auto" : e = "center"), e) {
1731
1733
  case "start":
1732
- return c;
1734
+ return h;
1733
1735
  case "end":
1734
- return f;
1736
+ return u;
1735
1737
  case "center":
1736
- return l.scrollOffset <= a / 2 ? 0 : l.scrollOffset + l.size / 2 >= h - a / 2 ? h - a : l.scrollOffset + l.size / 2 - a / 2;
1738
+ return a.scrollOffset <= l / 2 ? 0 : a.scrollOffset + a.size / 2 >= d - l / 2 ? d - l : a.scrollOffset + a.size / 2 - l / 2;
1737
1739
  case "auto":
1738
1740
  default:
1739
- return s >= f && s <= c ? s : s < f ? f : c;
1741
+ return s >= u && s <= h ? s : s < u ? u : h;
1740
1742
  }
1741
1743
  }
1742
- function ct({
1744
+ function ft({
1743
1745
  cachedBounds: e,
1744
1746
  containerScrollOffset: t,
1745
- containerSize: r,
1746
- itemCount: n,
1747
+ containerSize: n,
1748
+ itemCount: r,
1747
1749
  overscanCount: i
1748
1750
  }) {
1749
- const s = n - 1;
1750
- let a = 0, h = -1, l = 0, c = -1, f = 0;
1751
- for (; f < s; ) {
1752
- const E = e.get(f);
1753
- if (E.scrollOffset + E.size > t)
1751
+ const s = r - 1;
1752
+ let l = 0, d = -1, a = 0, h = -1, u = 0;
1753
+ for (; u < s; ) {
1754
+ const w = e.get(u);
1755
+ if (w.scrollOffset + w.size > t)
1754
1756
  break;
1755
- f++;
1757
+ u++;
1756
1758
  }
1757
- for (a = f, l = Math.max(0, a - i); f < s; ) {
1758
- const E = e.get(f);
1759
- if (E.scrollOffset + E.size >= t + r)
1759
+ for (l = u, a = Math.max(0, l - i); u < s; ) {
1760
+ const w = e.get(u);
1761
+ if (w.scrollOffset + w.size >= t + n)
1760
1762
  break;
1761
- f++;
1763
+ u++;
1762
1764
  }
1763
- return h = Math.min(s, f), c = Math.min(n - 1, h + i), a < 0 && (a = 0, h = -1, l = 0, c = -1), {
1764
- startIndexVisible: a,
1765
- stopIndexVisible: h,
1766
- startIndexOverscan: l,
1767
- stopIndexOverscan: c
1765
+ return d = Math.min(s, u), h = Math.min(r - 1, d + i), l < 0 && (l = 0, d = -1, a = 0, h = -1), {
1766
+ startIndexVisible: l,
1767
+ stopIndexVisible: d,
1768
+ startIndexOverscan: a,
1769
+ stopIndexOverscan: h
1768
1770
  };
1769
1771
  }
1770
1772
  function Fn({
1771
1773
  itemCount: e,
1772
1774
  itemProps: t,
1773
- itemSize: r
1775
+ itemSize: n
1774
1776
  }) {
1775
- const n = /* @__PURE__ */ new Map();
1777
+ const r = /* @__PURE__ */ new Map();
1776
1778
  return {
1777
1779
  get(i) {
1778
- for (Pe(i < e, `Invalid index ${i}`); n.size - 1 < i; ) {
1779
- const a = n.size;
1780
- let h;
1781
- switch (typeof r) {
1780
+ for (Ae(i < e, `Invalid index ${i}`); r.size - 1 < i; ) {
1781
+ const l = r.size;
1782
+ let d;
1783
+ switch (typeof n) {
1782
1784
  case "function": {
1783
- h = r(a, t);
1785
+ d = n(l, t);
1784
1786
  break;
1785
1787
  }
1786
1788
  case "number": {
1787
- h = r;
1789
+ d = n;
1788
1790
  break;
1789
1791
  }
1790
1792
  }
1791
- if (a === 0)
1792
- n.set(a, {
1793
- size: h,
1793
+ if (l === 0)
1794
+ r.set(l, {
1795
+ size: d,
1794
1796
  scrollOffset: 0
1795
1797
  });
1796
1798
  else {
1797
- const l = n.get(a - 1);
1798
- Pe(
1799
- l !== void 0,
1799
+ const a = r.get(l - 1);
1800
+ Ae(
1801
+ a !== void 0,
1800
1802
  `Unexpected bounds cache miss for index ${i}`
1801
- ), n.set(a, {
1802
- scrollOffset: l.scrollOffset + l.size,
1803
- size: h
1803
+ ), r.set(l, {
1804
+ scrollOffset: a.scrollOffset + a.size,
1805
+ size: d
1804
1806
  });
1805
1807
  }
1806
1808
  }
1807
- const s = n.get(i);
1808
- return Pe(
1809
+ const s = r.get(i);
1810
+ return Ae(
1809
1811
  s !== void 0,
1810
1812
  `Unexpected bounds cache miss for index ${i}`
1811
1813
  ), s;
1812
1814
  },
1813
1815
  set(i, s) {
1814
- n.set(i, s);
1816
+ r.set(i, s);
1815
1817
  },
1816
1818
  get size() {
1817
- return n.size;
1819
+ return r.size;
1818
1820
  }
1819
1821
  };
1820
1822
  }
1821
1823
  function Nn({
1822
1824
  itemCount: e,
1823
1825
  itemProps: t,
1824
- itemSize: r
1826
+ itemSize: n
1825
1827
  }) {
1826
1828
  return ye(
1827
1829
  () => Fn({
1828
1830
  itemCount: e,
1829
1831
  itemProps: t,
1830
- itemSize: r
1832
+ itemSize: n
1831
1833
  }),
1832
- [e, t, r]
1834
+ [e, t, n]
1833
1835
  );
1834
1836
  }
1835
1837
  function Wn({
1836
1838
  containerSize: e,
1837
1839
  itemSize: t
1838
1840
  }) {
1839
- let r;
1841
+ let n;
1840
1842
  switch (typeof t) {
1841
1843
  case "string": {
1842
- Pe(
1844
+ Ae(
1843
1845
  t.endsWith("%"),
1844
1846
  `Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`
1845
- ), Pe(
1847
+ ), Ae(
1846
1848
  e !== void 0,
1847
1849
  "Container size must be defined if a percentage item size is specified"
1848
- ), r = e * parseInt(t) / 100;
1850
+ ), n = e * parseInt(t) / 100;
1849
1851
  break;
1850
1852
  }
1851
1853
  default: {
1852
- r = t;
1854
+ n = t;
1853
1855
  break;
1854
1856
  }
1855
1857
  }
1856
- return r;
1858
+ return n;
1857
1859
  }
1858
- function Ut({
1860
+ function qt({
1859
1861
  containerElement: e,
1860
1862
  containerStyle: t,
1861
- defaultContainerSize: r = 0,
1862
- direction: n,
1863
+ defaultContainerSize: n = 0,
1864
+ direction: r,
1863
1865
  isRtl: i = !1,
1864
1866
  itemCount: s,
1865
- itemProps: a,
1866
- itemSize: h,
1867
- onResize: l,
1868
- overscanCount: c
1867
+ itemProps: l,
1868
+ itemSize: d,
1869
+ onResize: a,
1870
+ overscanCount: h
1869
1871
  }) {
1870
- const { height: f = r, width: E = r } = $n({
1871
- defaultHeight: n === "vertical" ? r : void 0,
1872
- defaultWidth: n === "horizontal" ? r : void 0,
1872
+ const { height: u = n, width: w = n } = Ln({
1873
+ defaultHeight: r === "vertical" ? n : void 0,
1874
+ defaultWidth: r === "horizontal" ? n : void 0,
1873
1875
  element: e,
1874
- mode: n === "vertical" ? "only-height" : "only-width",
1876
+ mode: r === "vertical" ? "only-height" : "only-width",
1875
1877
  style: t
1876
- }), b = ze({
1878
+ }), m = Le({
1877
1879
  height: 0,
1878
1880
  width: 0
1879
- }), I = n === "vertical" ? f : E, A = Wn({ containerSize: I, itemSize: h });
1880
- _t(() => {
1881
- if (typeof l == "function") {
1882
- const M = b.current;
1883
- (M.height !== f || M.width !== E) && (l({ height: f, width: E }, { ...M }), M.height = f, M.width = E);
1884
- }
1885
- }, [f, l, E]);
1886
- const T = Nn({
1881
+ }), A = r === "vertical" ? u : w, M = Wn({ containerSize: A, itemSize: d });
1882
+ xt(() => {
1883
+ if (typeof a == "function") {
1884
+ const F = m.current;
1885
+ (F.height !== u || F.width !== w) && (a({ height: u, width: w }, { ...F }), F.height = u, F.width = w);
1886
+ }
1887
+ }, [u, a, w]);
1888
+ const R = Nn({
1887
1889
  itemCount: s,
1888
- itemProps: a,
1889
- itemSize: A
1890
- }), u = ge(
1891
- (M) => T.get(M),
1892
- [T]
1893
- ), [j, P] = Ie(
1894
- () => ct({
1895
- cachedBounds: T,
1890
+ itemProps: l,
1891
+ itemSize: M
1892
+ }), c = ge(
1893
+ (F) => R.get(F),
1894
+ [R]
1895
+ ), [P, S] = $e(
1896
+ () => ft({
1897
+ cachedBounds: R,
1896
1898
  // TODO Potentially support a defaultScrollOffset prop?
1897
1899
  containerScrollOffset: 0,
1898
- containerSize: I,
1900
+ containerSize: A,
1899
1901
  itemCount: s,
1900
- overscanCount: c
1902
+ overscanCount: h
1901
1903
  })
1902
1904
  ), {
1903
- startIndexVisible: J,
1904
- startIndexOverscan: z,
1905
- stopIndexVisible: N,
1906
- stopIndexOverscan: D
1905
+ startIndexVisible: Z,
1906
+ startIndexOverscan: I,
1907
+ stopIndexVisible: G,
1908
+ stopIndexOverscan: L
1907
1909
  } = {
1908
- startIndexVisible: Math.min(s - 1, j.startIndexVisible),
1909
- startIndexOverscan: Math.min(s - 1, j.startIndexOverscan),
1910
- stopIndexVisible: Math.min(s - 1, j.stopIndexVisible),
1911
- stopIndexOverscan: Math.min(s - 1, j.stopIndexOverscan)
1912
- }, k = ge(
1913
- () => ur({
1914
- cachedBounds: T,
1910
+ startIndexVisible: Math.min(s - 1, P.startIndexVisible),
1911
+ startIndexOverscan: Math.min(s - 1, P.startIndexOverscan),
1912
+ stopIndexVisible: Math.min(s - 1, P.stopIndexVisible),
1913
+ stopIndexOverscan: Math.min(s - 1, P.stopIndexOverscan)
1914
+ }, $ = ge(
1915
+ () => fr({
1916
+ cachedBounds: R,
1915
1917
  itemCount: s,
1916
- itemSize: A
1918
+ itemSize: M
1917
1919
  }),
1918
- [T, s, A]
1919
- ), p = ge(
1920
- (M) => {
1921
- const W = lt({
1920
+ [R, s, M]
1921
+ ), j = ge(
1922
+ (F) => {
1923
+ const N = ut({
1922
1924
  containerElement: e,
1923
- direction: n,
1925
+ direction: r,
1924
1926
  isRtl: i,
1925
- scrollOffset: M
1927
+ scrollOffset: F
1926
1928
  });
1927
- return ct({
1928
- cachedBounds: T,
1929
- containerScrollOffset: W,
1930
- containerSize: I,
1929
+ return ft({
1930
+ cachedBounds: R,
1931
+ containerScrollOffset: N,
1932
+ containerSize: A,
1931
1933
  itemCount: s,
1932
- overscanCount: c
1934
+ overscanCount: h
1933
1935
  });
1934
1936
  },
1935
1937
  [
1936
- T,
1938
+ R,
1937
1939
  e,
1938
- I,
1939
- n,
1940
+ A,
1941
+ r,
1940
1942
  i,
1941
1943
  s,
1942
- c
1944
+ h
1943
1945
  ]
1944
1946
  );
1945
- Ze(() => {
1946
- const M = (n === "vertical" ? e == null ? void 0 : e.scrollTop : e == null ? void 0 : e.scrollLeft) ?? 0;
1947
- P(p(M));
1948
- }, [e, n, p]), Ze(() => {
1947
+ et(() => {
1948
+ const F = (r === "vertical" ? e == null ? void 0 : e.scrollTop : e == null ? void 0 : e.scrollLeft) ?? 0;
1949
+ S(j(F));
1950
+ }, [e, r, j]), et(() => {
1949
1951
  if (!e)
1950
1952
  return;
1951
- const M = () => {
1952
- P((W) => {
1953
- const { scrollLeft: H, scrollTop: K } = e, re = lt({
1953
+ const F = () => {
1954
+ S((N) => {
1955
+ const { scrollLeft: H, scrollTop: W } = e, te = ut({
1954
1956
  containerElement: e,
1955
- direction: n,
1957
+ direction: r,
1956
1958
  isRtl: i,
1957
- scrollOffset: n === "vertical" ? K : H
1958
- }), he = ct({
1959
- cachedBounds: T,
1960
- containerScrollOffset: re,
1961
- containerSize: I,
1959
+ scrollOffset: r === "vertical" ? W : H
1960
+ }), de = ft({
1961
+ cachedBounds: R,
1962
+ containerScrollOffset: te,
1963
+ containerSize: A,
1962
1964
  itemCount: s,
1963
- overscanCount: c
1965
+ overscanCount: h
1964
1966
  });
1965
- return Be(he, W) ? W : he;
1967
+ return Ye(de, N) ? N : de;
1966
1968
  });
1967
1969
  };
1968
- return e.addEventListener("scroll", M), () => {
1969
- e.removeEventListener("scroll", M);
1970
+ return e.addEventListener("scroll", F), () => {
1971
+ e.removeEventListener("scroll", F);
1970
1972
  };
1971
1973
  }, [
1972
- T,
1974
+ R,
1973
1975
  e,
1974
- I,
1975
- n,
1976
+ A,
1977
+ r,
1976
1978
  s,
1977
- c
1979
+ h
1978
1980
  ]);
1979
- const F = Ln(
1981
+ const T = $n(
1980
1982
  ({
1981
- align: M = "auto",
1982
- containerScrollOffset: W,
1983
+ align: F = "auto",
1984
+ containerScrollOffset: N,
1983
1985
  index: H
1984
1986
  }) => {
1985
- let K = Dn({
1986
- align: M,
1987
- cachedBounds: T,
1988
- containerScrollOffset: W,
1989
- containerSize: I,
1987
+ let W = Dn({
1988
+ align: F,
1989
+ cachedBounds: R,
1990
+ containerScrollOffset: N,
1991
+ containerSize: A,
1990
1992
  index: H,
1991
1993
  itemCount: s,
1992
- itemSize: A
1994
+ itemSize: M
1993
1995
  });
1994
1996
  if (e) {
1995
- if (K = lt({
1997
+ if (W = ut({
1996
1998
  containerElement: e,
1997
- direction: n,
1999
+ direction: r,
1998
2000
  isRtl: i,
1999
- scrollOffset: K
2001
+ scrollOffset: W
2000
2002
  }), typeof e.scrollTo != "function") {
2001
- const re = p(K);
2002
- Be(j, re) || P(re);
2003
+ const te = j(W);
2004
+ Ye(P, te) || S(te);
2003
2005
  }
2004
- return K;
2006
+ return W;
2005
2007
  }
2006
2008
  }
2007
2009
  );
2008
2010
  return {
2009
- getCellBounds: u,
2010
- getEstimatedSize: k,
2011
- scrollToIndex: F,
2012
- startIndexOverscan: z,
2013
- startIndexVisible: J,
2014
- stopIndexOverscan: D,
2015
- stopIndexVisible: N
2011
+ getCellBounds: c,
2012
+ getEstimatedSize: $,
2013
+ scrollToIndex: T,
2014
+ startIndexOverscan: I,
2015
+ startIndexVisible: Z,
2016
+ stopIndexOverscan: L,
2017
+ stopIndexVisible: G
2016
2018
  };
2017
2019
  }
2018
2020
  function Vn(e) {
@@ -2020,458 +2022,466 @@ function Vn(e) {
2020
2022
  }
2021
2023
  function Hn(e, t) {
2022
2024
  const {
2023
- ariaAttributes: r,
2024
- style: n,
2025
+ ariaAttributes: n,
2026
+ style: r,
2025
2027
  ...i
2026
2028
  } = e, {
2027
2029
  ariaAttributes: s,
2028
- style: a,
2029
- ...h
2030
+ style: l,
2031
+ ...d
2030
2032
  } = t;
2031
- return Be(r, s) && Be(n, a) && Be(i, h);
2033
+ return Ye(n, s) && Ye(r, l) && Ye(i, d);
2032
2034
  }
2033
2035
  function Bn({
2034
2036
  cellComponent: e,
2035
2037
  cellProps: t,
2036
- children: r,
2037
- className: n,
2038
+ children: n,
2039
+ className: r,
2038
2040
  columnCount: i,
2039
2041
  columnWidth: s,
2040
- defaultHeight: a = 0,
2041
- defaultWidth: h = 0,
2042
- dir: l,
2043
- gridRef: c,
2044
- onCellsRendered: f,
2045
- onResize: E,
2046
- overscanCount: b = 3,
2047
- rowCount: I,
2048
- rowHeight: A,
2049
- style: T,
2050
- tagName: u = "div",
2051
- ...j
2042
+ defaultHeight: l = 0,
2043
+ defaultWidth: d = 0,
2044
+ dir: a,
2045
+ gridRef: h,
2046
+ onCellsRendered: u,
2047
+ onResize: w,
2048
+ overscanCount: m = 3,
2049
+ rowCount: A,
2050
+ rowHeight: M,
2051
+ style: R,
2052
+ tagName: c = "div",
2053
+ ...P
2052
2054
  }) {
2053
- const P = Vn(t), J = ye(
2054
- () => Jt(e, Hn),
2055
+ const S = Vn(t), Z = ye(
2056
+ () => Xt(e, Hn),
2055
2057
  [e]
2056
- ), [z, N] = Ie(null), D = In(z, l), {
2057
- getCellBounds: k,
2058
- getEstimatedSize: p,
2059
- startIndexOverscan: F,
2060
- startIndexVisible: M,
2061
- scrollToIndex: W,
2058
+ ), [I, G] = $e(null), L = In(I, a), {
2059
+ getCellBounds: $,
2060
+ getEstimatedSize: j,
2061
+ startIndexOverscan: T,
2062
+ startIndexVisible: F,
2063
+ scrollToIndex: N,
2062
2064
  stopIndexOverscan: H,
2063
- stopIndexVisible: K
2064
- } = Ut({
2065
- containerElement: z,
2066
- containerStyle: T,
2067
- defaultContainerSize: h,
2065
+ stopIndexVisible: W
2066
+ } = qt({
2067
+ containerElement: I,
2068
+ containerStyle: R,
2069
+ defaultContainerSize: d,
2068
2070
  direction: "horizontal",
2069
- isRtl: D,
2071
+ isRtl: L,
2070
2072
  itemCount: i,
2071
- itemProps: P,
2073
+ itemProps: S,
2072
2074
  itemSize: s,
2073
- onResize: E,
2074
- overscanCount: b
2075
+ onResize: w,
2076
+ overscanCount: m
2075
2077
  }), {
2076
- getCellBounds: re,
2077
- getEstimatedSize: he,
2078
+ getCellBounds: te,
2079
+ getEstimatedSize: de,
2078
2080
  startIndexOverscan: be,
2079
- startIndexVisible: Te,
2080
- scrollToIndex: _e,
2081
- stopIndexOverscan: Ee,
2082
- stopIndexVisible: Se
2083
- } = Ut({
2084
- containerElement: z,
2085
- containerStyle: T,
2086
- defaultContainerSize: a,
2081
+ startIndexVisible: Se,
2082
+ scrollToIndex: Re,
2083
+ stopIndexOverscan: ue,
2084
+ stopIndexVisible: Te
2085
+ } = qt({
2086
+ containerElement: I,
2087
+ containerStyle: R,
2088
+ defaultContainerSize: l,
2087
2089
  direction: "vertical",
2088
- itemCount: I,
2089
- itemProps: P,
2090
- itemSize: A,
2091
- onResize: E,
2092
- overscanCount: b
2090
+ itemCount: A,
2091
+ itemProps: S,
2092
+ itemSize: M,
2093
+ onResize: w,
2094
+ overscanCount: m
2093
2095
  });
2094
2096
  Mr(
2095
- c,
2097
+ h,
2096
2098
  () => ({
2097
2099
  get element() {
2098
- return z;
2100
+ return I;
2099
2101
  },
2100
2102
  scrollToCell({
2101
- behavior: w = "auto",
2102
- columnAlign: m = "auto",
2103
- columnIndex: g,
2104
- rowAlign: x = "auto",
2105
- rowIndex: _
2103
+ behavior: g = "auto",
2104
+ columnAlign: v = "auto",
2105
+ columnIndex: C,
2106
+ rowAlign: p = "auto",
2107
+ rowIndex: x
2106
2108
  }) {
2107
- const R = W({
2108
- align: m,
2109
- containerScrollOffset: (z == null ? void 0 : z.scrollLeft) ?? 0,
2110
- index: g
2111
- }), S = _e({
2112
- align: x,
2113
- containerScrollOffset: (z == null ? void 0 : z.scrollTop) ?? 0,
2114
- index: _
2109
+ const b = N({
2110
+ align: v,
2111
+ containerScrollOffset: (I == null ? void 0 : I.scrollLeft) ?? 0,
2112
+ index: C
2113
+ }), O = Re({
2114
+ align: p,
2115
+ containerScrollOffset: (I == null ? void 0 : I.scrollTop) ?? 0,
2116
+ index: x
2115
2117
  });
2116
- typeof (z == null ? void 0 : z.scrollTo) == "function" && z.scrollTo({
2117
- behavior: w,
2118
- left: R,
2119
- top: S
2118
+ typeof (I == null ? void 0 : I.scrollTo) == "function" && I.scrollTo({
2119
+ behavior: g,
2120
+ left: b,
2121
+ top: O
2120
2122
  });
2121
2123
  },
2122
2124
  scrollToColumn({
2123
- align: w = "auto",
2124
- behavior: m = "auto",
2125
- index: g
2125
+ align: g = "auto",
2126
+ behavior: v = "auto",
2127
+ index: C
2126
2128
  }) {
2127
- const x = W({
2128
- align: w,
2129
- containerScrollOffset: (z == null ? void 0 : z.scrollLeft) ?? 0,
2130
- index: g
2129
+ const p = N({
2130
+ align: g,
2131
+ containerScrollOffset: (I == null ? void 0 : I.scrollLeft) ?? 0,
2132
+ index: C
2131
2133
  });
2132
- typeof (z == null ? void 0 : z.scrollTo) == "function" && z.scrollTo({
2133
- behavior: m,
2134
- left: x
2134
+ typeof (I == null ? void 0 : I.scrollTo) == "function" && I.scrollTo({
2135
+ behavior: v,
2136
+ left: p
2135
2137
  });
2136
2138
  },
2137
2139
  scrollToRow({
2138
- align: w = "auto",
2139
- behavior: m = "auto",
2140
- index: g
2140
+ align: g = "auto",
2141
+ behavior: v = "auto",
2142
+ index: C
2141
2143
  }) {
2142
- const x = _e({
2143
- align: w,
2144
- containerScrollOffset: (z == null ? void 0 : z.scrollTop) ?? 0,
2145
- index: g
2144
+ const p = Re({
2145
+ align: g,
2146
+ containerScrollOffset: (I == null ? void 0 : I.scrollTop) ?? 0,
2147
+ index: C
2146
2148
  });
2147
- typeof (z == null ? void 0 : z.scrollTo) == "function" && z.scrollTo({
2148
- behavior: m,
2149
- top: x
2149
+ typeof (I == null ? void 0 : I.scrollTo) == "function" && I.scrollTo({
2150
+ behavior: v,
2151
+ top: p
2150
2152
  });
2151
2153
  }
2152
2154
  }),
2153
- [z, W, _e]
2154
- ), Qe(() => {
2155
- F >= 0 && H >= 0 && be >= 0 && Ee >= 0 && f && f(
2155
+ [I, N, Re]
2156
+ ), tt(() => {
2157
+ T >= 0 && H >= 0 && be >= 0 && ue >= 0 && u && u(
2156
2158
  {
2157
- columnStartIndex: M,
2158
- columnStopIndex: K,
2159
- rowStartIndex: Te,
2160
- rowStopIndex: Se
2159
+ columnStartIndex: F,
2160
+ columnStopIndex: W,
2161
+ rowStartIndex: Se,
2162
+ rowStopIndex: Te
2161
2163
  },
2162
2164
  {
2163
- columnStartIndex: F,
2165
+ columnStartIndex: T,
2164
2166
  columnStopIndex: H,
2165
2167
  rowStartIndex: be,
2166
- rowStopIndex: Ee
2168
+ rowStopIndex: ue
2167
2169
  }
2168
2170
  );
2169
2171
  }, [
2170
- f,
2172
+ u,
2173
+ T,
2171
2174
  F,
2172
- M,
2173
2175
  H,
2174
- K,
2176
+ W,
2175
2177
  be,
2176
- Te,
2177
- Ee,
2178
- Se
2178
+ Se,
2179
+ ue,
2180
+ Te
2179
2181
  ]);
2180
- const v = ye(() => {
2181
- const w = [];
2182
- if (i > 0 && I > 0)
2183
- for (let m = be; m <= Ee; m++) {
2184
- const g = re(m), x = [];
2185
- for (let _ = F; _ <= H; _++) {
2186
- const R = k(_);
2187
- x.push(
2188
- /* @__PURE__ */ It(
2189
- J,
2182
+ const Pe = ye(() => {
2183
+ const g = [];
2184
+ if (i > 0 && A > 0)
2185
+ for (let v = be; v <= ue; v++) {
2186
+ const C = te(v), p = [];
2187
+ for (let x = T; x <= H; x++) {
2188
+ const b = $(x);
2189
+ p.push(
2190
+ /* @__PURE__ */ $t(
2191
+ Z,
2190
2192
  {
2191
- ...P,
2193
+ ...S,
2192
2194
  ariaAttributes: {
2193
- "aria-colindex": _ + 1,
2195
+ "aria-colindex": x + 1,
2194
2196
  role: "gridcell"
2195
2197
  },
2196
- columnIndex: _,
2197
- key: _,
2198
- rowIndex: m,
2198
+ columnIndex: x,
2199
+ key: x,
2200
+ rowIndex: v,
2199
2201
  style: {
2200
2202
  position: "absolute",
2201
- left: D ? void 0 : 0,
2202
- right: D ? 0 : void 0,
2203
- transform: `translate(${D ? -R.scrollOffset : R.scrollOffset}px, ${g.scrollOffset}px)`,
2204
- height: g.size,
2205
- width: R.size
2203
+ left: L ? void 0 : 0,
2204
+ right: L ? 0 : void 0,
2205
+ transform: `translate(${L ? -b.scrollOffset : b.scrollOffset}px, ${C.scrollOffset}px)`,
2206
+ height: C.size,
2207
+ width: b.size
2206
2208
  }
2207
2209
  }
2208
2210
  )
2209
2211
  );
2210
2212
  }
2211
- w.push(
2212
- /* @__PURE__ */ Q.jsx("div", { role: "row", "aria-rowindex": m + 1, children: x }, m)
2213
+ g.push(
2214
+ /* @__PURE__ */ ee.jsx("div", { role: "row", "aria-rowindex": v + 1, children: p }, v)
2213
2215
  );
2214
2216
  }
2215
- return w;
2217
+ return g;
2216
2218
  }, [
2217
- J,
2218
- P,
2219
+ Z,
2220
+ S,
2219
2221
  i,
2220
- F,
2222
+ T,
2221
2223
  H,
2222
- k,
2223
- re,
2224
- D,
2225
- I,
2224
+ $,
2225
+ te,
2226
+ L,
2227
+ A,
2226
2228
  be,
2227
- Ee
2228
- ]), C = /* @__PURE__ */ Q.jsx(
2229
+ ue
2230
+ ]), y = /* @__PURE__ */ ee.jsx(
2229
2231
  "div",
2230
2232
  {
2231
2233
  "aria-hidden": !0,
2232
2234
  style: {
2233
- height: he(),
2234
- width: p(),
2235
+ height: de(),
2236
+ width: j(),
2235
2237
  zIndex: -1
2236
2238
  }
2237
2239
  }
2238
2240
  );
2239
- return It(
2240
- u,
2241
+ return $t(
2242
+ c,
2241
2243
  {
2242
2244
  "aria-colcount": i,
2243
- "aria-rowcount": I,
2245
+ "aria-rowcount": A,
2244
2246
  role: "grid",
2245
- ...j,
2246
- className: n,
2247
- dir: l,
2248
- ref: N,
2247
+ ...P,
2248
+ className: r,
2249
+ dir: a,
2250
+ ref: G,
2249
2251
  style: {
2250
2252
  position: "relative",
2251
2253
  maxHeight: "100%",
2252
2254
  maxWidth: "100%",
2253
2255
  flexGrow: 1,
2254
2256
  overflow: "auto",
2255
- ...T
2257
+ ...R
2256
2258
  }
2257
2259
  },
2258
- v,
2259
- r,
2260
- C
2260
+ Pe,
2261
+ n,
2262
+ y
2261
2263
  );
2262
2264
  }
2263
- const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focusable: "false", width: "1em", height: "1em", fill: "currentColor", "aria-hidden": "true", ...e, children: [
2264
- /* @__PURE__ */ Q.jsx("path", { d: "M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z" }),
2265
- /* @__PURE__ */ Q.jsx("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" })
2266
- ] }), Kn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focusable: "false", width: "1em", height: "1em", fill: "currentColor", "aria-hidden": "true", ...e, children: [
2267
- /* @__PURE__ */ Q.jsx("path", { d: "M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z" }),
2268
- /* @__PURE__ */ Q.jsx("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" })
2269
- ] }), Gn = (e, t, r) => {
2265
+ const Yn = (e) => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "64 64 896 896", focusable: "false", width: "1em", height: "1em", fill: "currentColor", "aria-hidden": "true", ...e, children: [
2266
+ /* @__PURE__ */ ee.jsx("path", { d: "M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z" }),
2267
+ /* @__PURE__ */ ee.jsx("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" })
2268
+ ] }), Kn = (e) => /* @__PURE__ */ ee.jsxs("svg", { viewBox: "64 64 896 896", focusable: "false", width: "1em", height: "1em", fill: "currentColor", "aria-hidden": "true", ...e, children: [
2269
+ /* @__PURE__ */ ee.jsx("path", { d: "M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z" }),
2270
+ /* @__PURE__ */ ee.jsx("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" })
2271
+ ] }), Gn = (e, t, n) => {
2270
2272
  var i;
2271
- const n = (i = r[e]) == null ? void 0 : i[t];
2272
- return n ? n.rowspan === 0 || n.colspan === 0 : !1;
2273
- }, Un = (e, t, r, n, i, s, a) => {
2274
- var T, u;
2275
- const h = (T = n[e]) == null ? void 0 : T[t], l = a || h;
2276
- if (!l)
2273
+ const r = (i = n[e]) == null ? void 0 : i[t];
2274
+ return r ? r.rowspan === 0 || r.colspan === 0 : !1;
2275
+ }, Un = (e, t, n, r, i, s, l) => {
2276
+ var R, c;
2277
+ const d = (R = r[e]) == null ? void 0 : R[t], a = l || d;
2278
+ if (!a)
2277
2279
  return;
2278
- const c = { ...r };
2279
- let f = i[t];
2280
- const E = f.field.split("||"), b = E[E.length - 1], I = s == null ? void 0 : s.find((j) => j.field === b || j.field === f.field), A = (I == null ? void 0 : I.style) || (f == null ? void 0 : f.style);
2281
- if (l.colspan > 1) {
2282
- let j = 0;
2283
- for (let P = t; P < t + l.colspan; P++)
2284
- j += Number((u = i[P]) == null ? void 0 : u.width) || 100;
2285
- c.width = j;
2280
+ const h = { ...n };
2281
+ let u = i[t];
2282
+ const w = u.field.split("||"), m = w[w.length - 1], A = s == null ? void 0 : s.find((P) => P.field === m || P.field === u.field), M = (A == null ? void 0 : A.style) || (u == null ? void 0 : u.style);
2283
+ if (a.colspan > 1) {
2284
+ let P = 0;
2285
+ for (let S = t; S < t + a.colspan; S++)
2286
+ P += Number((c = i[S]) == null ? void 0 : c.width) || 100;
2287
+ h.width = P;
2286
2288
  }
2287
- return l.rowspan > 1 && (c.height = l.rowspan * wt), c.height || (c.height = wt), A != null && A.textAlign && (c.textAlign = A.textAlign, A.textAlign === "right" && (c.justifyContent = "flex-end"), A.textAlign === "center" && (c.justifyContent = "center")), c.border = "1px solid #f0f0f0", c.padding = "8px 16px", c.display = "flex", c.alignItems = "center", c.backgroundColor = "#fff", l.rowspan > Xe && (c.zIndex = 1e4 - e, c.position = "absolute"), c;
2289
+ return a.rowspan > 1 && (h.height = a.rowspan * Rt), h.height || (h.height = Rt), M != null && M.textAlign && (h.textAlign = M.textAlign, M.textAlign === "right" && (h.justifyContent = "flex-end"), M.textAlign === "center" && (h.justifyContent = "center")), h.border = "1px solid #f0f0f0", h.padding = "8px 16px", h.display = "flex", h.alignItems = "center", h.backgroundColor = "#fff", a.rowspan > Qe && (h.zIndex = 1e4 - e, h.position = "absolute"), h;
2288
2290
  }, qn = ({
2289
2291
  columnIndex: e,
2290
2292
  rowIndex: t,
2291
- style: r,
2292
- mergedData: n,
2293
+ style: n,
2294
+ mergedData: r,
2293
2295
  columns: i,
2294
2296
  handleExpand: s,
2295
- meta: a,
2296
- mergedCellsMap: h
2297
+ meta: l,
2298
+ mergedCellsMap: d
2297
2299
  }) => {
2298
- let l = n[t][e], c = !1;
2299
- if (l.rowspan === 0 && h) {
2300
- const j = `${t}-${e}`, P = h.get(j);
2301
- if (P && P.rowspan > Xe && P.startIndex < t) {
2302
- const J = P.rowspan - (t - P.startIndex);
2303
- l = {
2304
- ...l,
2305
- ...P,
2306
- rowspan: J
2300
+ if (!r[t])
2301
+ return null;
2302
+ let a = r[t][e];
2303
+ if (!a || !i[e])
2304
+ return null;
2305
+ let h = !1;
2306
+ if (a.rowspan === 0 && d) {
2307
+ const P = `${t}-${e}`, S = d.get(P);
2308
+ if (S && S.rowspan > Qe && S.startIndex < t) {
2309
+ const Z = S.rowspan - (t - S.startIndex);
2310
+ a = {
2311
+ ...a,
2312
+ ...S,
2313
+ rowspan: Z
2307
2314
  // We might need to adjust content if it relies on being at the top, but usually content is same.
2308
2315
  // onClick and others are copied from mergeInfo
2309
- }, c = !0;
2316
+ }, h = !0;
2310
2317
  }
2311
2318
  }
2312
- if (!c && Gn(t, e, n))
2319
+ if (!h && Gn(t, e, r))
2313
2320
  return null;
2314
- const f = Un(t, e, r, n, i, a, l), E = i[e], b = E.field.split("||"), I = b[b.length - 1], A = a == null ? void 0 : a.find((j) => j.field === I || j.field === E.field), T = Ye.isValidElement(l.content);
2315
- let u;
2316
- if (u = l.content, "formatter" in E && E.formatter && !T && (u = E.formatter(u, l.data)), A != null && A.clickHandler && !T && u !== null && u !== void 0) {
2317
- const j = l.data;
2318
- u = /* @__PURE__ */ Q.jsx(
2321
+ const u = Un(t, e, n, r, i, l, a), w = i[e], m = w.field.split("||"), A = m[m.length - 1], M = l == null ? void 0 : l.find((P) => P.field === A || P.field === w.field), R = Ke.isValidElement(a.content);
2322
+ let c;
2323
+ if (c = a.content, "formatter" in w && w.formatter && !R && (c = w.formatter(c, a.data)), M != null && M.clickHandler && !R && c !== null && c !== void 0) {
2324
+ const P = a.data;
2325
+ c = /* @__PURE__ */ ee.jsx(
2319
2326
  "a",
2320
2327
  {
2321
2328
  href: "javascript:void(0)",
2322
- onClick: (P) => {
2323
- P.preventDefault(), P.stopPropagation(), A.clickHandler(j);
2329
+ onClick: (S) => {
2330
+ S.preventDefault(), S.stopPropagation(), M.clickHandler(P);
2324
2331
  },
2325
2332
  className: "virtual-table-cell-link",
2326
- children: u
2333
+ children: c
2327
2334
  }
2328
2335
  );
2329
2336
  }
2330
- return /* @__PURE__ */ Q.jsxs(
2337
+ return /* @__PURE__ */ ee.jsxs(
2331
2338
  "div",
2332
2339
  {
2333
- style: f,
2340
+ style: u,
2334
2341
  className: St("table-cell", "virtual-table-cell", {
2335
2342
  "virtual-table-cell-last": e === i.length - 1
2336
2343
  }),
2337
- title: typeof u == "string" ? u : void 0,
2344
+ title: typeof c == "string" ? c : void 0,
2338
2345
  children: [
2339
- /* @__PURE__ */ Q.jsx("span", { className: "expand-icon", children: l.expandable ? l.expanded ? /* @__PURE__ */ Q.jsx(Yn, { onClick: () => {
2340
- l.onClick && l.onClick(l), s(l);
2341
- } }) : /* @__PURE__ */ Q.jsx(Kn, { onClick: () => {
2342
- l.onClick && l.onClick(l), s(l);
2346
+ /* @__PURE__ */ ee.jsx("span", { className: "expand-icon", children: a.expandable ? a.expanded ? /* @__PURE__ */ ee.jsx(Yn, { onClick: () => {
2347
+ a.onClick && a.onClick(a), s(a);
2348
+ } }) : /* @__PURE__ */ ee.jsx(Kn, { onClick: () => {
2349
+ a.onClick && a.onClick(a), s(a);
2343
2350
  } }) : null }),
2344
- u
2351
+ c
2345
2352
  ]
2346
2353
  }
2347
2354
  );
2348
2355
  }, Jn = (e) => {
2349
- const { data: t, info: r, scroll: n, columns: i, tableWidth: s } = e, { ref: a, onScroll: h } = r, l = ze(), c = ye(() => {
2350
- const D = {};
2351
- return Object.defineProperty(D, "scrollLeft", {
2356
+ const { data: t, info: n, scroll: r, columns: i, tableWidth: s } = e, { ref: l, onScroll: d } = n, a = Le(), h = ye(() => {
2357
+ const L = {};
2358
+ return Object.defineProperty(L, "scrollLeft", {
2352
2359
  get: () => {
2353
- var k, p;
2354
- return ((p = (k = l.current) == null ? void 0 : k.element) == null ? void 0 : p.scrollLeft) || 0;
2360
+ var $, j;
2361
+ return ((j = ($ = a.current) == null ? void 0 : $.element) == null ? void 0 : j.scrollLeft) || 0;
2355
2362
  },
2356
- set: (k) => {
2357
- var p;
2358
- (p = l.current) != null && p.element && (l.current.element.scrollLeft = k);
2363
+ set: ($) => {
2364
+ var j;
2365
+ (j = a.current) != null && j.element && (a.current.element.scrollLeft = $);
2359
2366
  }
2360
- }), Object.defineProperty(D, "scrollTop", {
2367
+ }), Object.defineProperty(L, "scrollTop", {
2361
2368
  get: () => {
2362
- var k, p;
2363
- return ((p = (k = l.current) == null ? void 0 : k.element) == null ? void 0 : p.scrollTop) || 0;
2369
+ var $, j;
2370
+ return ((j = ($ = a.current) == null ? void 0 : $.element) == null ? void 0 : j.scrollTop) || 0;
2364
2371
  },
2365
- set: (k) => {
2366
- var p;
2367
- (p = l.current) != null && p.element && (l.current.element.scrollTop = k);
2372
+ set: ($) => {
2373
+ var j;
2374
+ (j = a.current) != null && j.element && (a.current.element.scrollTop = $);
2368
2375
  }
2369
- }), D;
2376
+ }), L;
2370
2377
  }, []);
2371
- Qe(() => {
2372
- a && (a.current = c);
2373
- }, [a, c]);
2374
- const f = t, E = f.length, b = ge((D) => {
2375
- let k = 0;
2376
- return D.forEach((p) => {
2377
- p != null && p.children && p.children.length > 0 ? k += b(p.children) : k += 1;
2378
- }), k;
2379
- }, []), I = b(i), A = ge((D) => {
2380
- let k = [];
2381
- return D.forEach((p) => {
2382
- p != null && p.children && p.children.length > 0 ? k = [...k, ...A(p.children)] : k.push(p);
2383
- }), k;
2384
- }, []), T = A(i), u = ge((D) => {
2385
- const k = T[D];
2386
- let p = (k == null ? void 0 : k.width) || 100;
2387
- return typeof p == "string" && (p = parseInt(p.replace("px", "")) || 100), p;
2388
- }, [T]), j = ge((D) => wt, []), P = ye(() => f.map((D) => D.cells), [f]), J = ge((D) => {
2389
- if (D && typeof D.scrollLeft == "number") {
2390
- h && h(D);
2378
+ tt(() => {
2379
+ l && (l.current = h);
2380
+ }, [l, h]);
2381
+ const u = t, w = u.length, m = ge((L) => {
2382
+ let $ = 0;
2383
+ return L.forEach((j) => {
2384
+ j != null && j.children && j.children.length > 0 ? $ += m(j.children) : $ += 1;
2385
+ }), $;
2386
+ }, []), A = m(i), M = ge((L) => {
2387
+ let $ = [];
2388
+ return L.forEach((j) => {
2389
+ j != null && j.children && j.children.length > 0 ? $ = [...$, ...M(j.children)] : $.push(j);
2390
+ }), $;
2391
+ }, []), R = M(i), c = ge((L) => {
2392
+ const $ = R[L];
2393
+ let j = ($ == null ? void 0 : $.width) || 100;
2394
+ return typeof j == "string" && (j = parseInt(j.replace("px", "")) || 100), j;
2395
+ }, [R]), P = ge((L) => Rt, []), S = ye(() => u.map((L) => L.cells), [u]), Z = ge((L) => {
2396
+ if (L && typeof L.scrollLeft == "number") {
2397
+ d && d(L);
2391
2398
  return;
2392
2399
  }
2393
- if (D && D.target) {
2394
- const { scrollLeft: k, scrollTop: p } = D.target;
2395
- h && h({ scrollLeft: k, scrollTop: p });
2396
- }
2397
- }, [h]), z = ye(() => {
2398
- const D = /* @__PURE__ */ new Map();
2399
- return f.forEach((k, p) => {
2400
- k.cells.forEach((F, M) => {
2401
- if (F.rowspan > Xe) {
2402
- const W = {
2403
- startIndex: p,
2404
- rowspan: F.rowspan,
2405
- content: F.content,
2406
- data: F.data,
2407
- expandable: F.expandable,
2408
- expanded: F.expanded,
2409
- level: F.level,
2410
- rowKey: F.rowKey,
2411
- onClick: F.onClick
2400
+ if (L && L.target) {
2401
+ const { scrollLeft: $, scrollTop: j } = L.target;
2402
+ d && d({ scrollLeft: $, scrollTop: j });
2403
+ }
2404
+ }, [d]), I = ye(() => {
2405
+ const L = /* @__PURE__ */ new Map();
2406
+ return u.forEach(($, j) => {
2407
+ $.cells.forEach((T, F) => {
2408
+ if (T.rowspan > Qe) {
2409
+ const N = {
2410
+ startIndex: j,
2411
+ rowspan: T.rowspan,
2412
+ content: T.content,
2413
+ data: T.data,
2414
+ expandable: T.expandable,
2415
+ expanded: T.expanded,
2416
+ level: T.level,
2417
+ rowKey: T.rowKey,
2418
+ onClick: T.onClick
2412
2419
  };
2413
- for (let H = 0; H < F.rowspan; H++) {
2414
- const K = `${p + H}-${M}`;
2415
- D.set(K, W);
2420
+ for (let H = 0; H < T.rowspan; H++) {
2421
+ const W = `${j + H}-${F}`;
2422
+ L.set(W, N);
2416
2423
  }
2417
2424
  }
2418
2425
  });
2419
- }), D;
2420
- }, [f]), N = (typeof (n == null ? void 0 : n.y) == "number" ? n.y : parseInt((n == null ? void 0 : n.y) || "400")) || 400;
2421
- return /* @__PURE__ */ Q.jsx(
2426
+ }), L;
2427
+ }, [u]), G = (typeof (r == null ? void 0 : r.y) == "number" ? r.y : parseInt((r == null ? void 0 : r.y) || "400")) || 400;
2428
+ return /* @__PURE__ */ ee.jsx(
2422
2429
  Bn,
2423
2430
  {
2424
- gridRef: l,
2425
- columnCount: I,
2426
- columnWidth: u,
2427
- rowCount: E,
2428
- rowHeight: j,
2429
- style: { height: N - 40, width: s, overflowY: "auto" },
2430
- onScroll: J,
2431
+ gridRef: a,
2432
+ columnCount: A,
2433
+ columnWidth: c,
2434
+ rowCount: w,
2435
+ rowHeight: P,
2436
+ style: { height: G - 40, width: s, overflowY: "auto" },
2437
+ onScroll: Z,
2431
2438
  className: "virtual-grid",
2432
- overscanCount: Xe,
2439
+ overscanCount: Qe,
2433
2440
  cellComponent: qn,
2434
2441
  cellProps: {
2435
- mergedData: P,
2436
- columns: T,
2437
- data: f,
2442
+ mergedData: S,
2443
+ columns: R,
2444
+ data: u,
2438
2445
  handleExpand: e.handleExpand,
2439
2446
  meta: e.meta,
2440
- mergedCellsMap: z
2447
+ mergedCellsMap: I
2441
2448
  }
2442
2449
  }
2443
2450
  );
2444
- }, He = (e) => {
2445
- const t = [], r = (n) => {
2446
- n.children && n.children.length > 0 ? n.children.forEach((i) => r(i)) : t.push(n);
2451
+ }, Ue = (e) => {
2452
+ const t = [], n = (r) => {
2453
+ r.children && r.children.length > 0 ? r.children.forEach((i) => n(i)) : t.push(r);
2447
2454
  };
2448
- return e.forEach((n) => r(n)), t;
2449
- }, me = (e, t) => {
2450
- const r = t.split(".");
2451
- let n = e;
2452
- for (const i of r) {
2453
- if (n == null)
2454
- return n;
2455
- n = n[i];
2455
+ return e.forEach((r) => n(r)), t;
2456
+ }, ve = (e, t) => {
2457
+ const n = t.split(".");
2458
+ let r = e;
2459
+ for (const i of n) {
2460
+ if (r == null)
2461
+ return r;
2462
+ r = r[i];
2456
2463
  }
2457
- return n == null && (n = xe), n;
2458
- }, ut = (e, t) => "|" + t.map((n) => me(e, n)).join("|"), qt = (e, t) => {
2464
+ return (r == null || r === "") && (r = me), r;
2465
+ }, dt = (e, t) => "|" + t.map((r) => ve(e, r)).join("|"), Jt = (e, t) => {
2459
2466
  if (!e)
2460
2467
  return null;
2461
2468
  try {
2462
- const r = e.replace(/\{(\w+)\}/g, (n, i) => {
2463
- const s = t[i];
2464
- return s != null && !isNaN(s) ? String(s) : "0";
2469
+ const n = e.replace(/\{(\w+)\}/g, (i, s) => {
2470
+ const l = t[s];
2471
+ return l != null && !isNaN(l) ? String(l) : "0";
2465
2472
  });
2466
- return /^[\d\.\+\-\*\/\(\)\s]+$/.test(r) ? new Function(`return ${r}`)() : null;
2467
- } catch {
2468
- return null;
2473
+ if (!/^[\d\.\+\-\*\/\(\)\s]+$/.test(n))
2474
+ return console.warn("Invalid characters in expression:", e), null;
2475
+ const r = new Function(`return ${n}`)();
2476
+ return typeof r != "number" || !isFinite(r) || isNaN(r) ? null : r;
2477
+ } catch (n) {
2478
+ return console.error("Expression evaluation error:", e, n), null;
2469
2479
  }
2470
- }, Ge = {
2471
- sum: (e) => e.reduce((t, r) => t + (Number(r) || 0), 0),
2480
+ }, qe = {
2481
+ sum: (e) => e.reduce((t, n) => t + (Number(n) || 0), 0),
2472
2482
  avg: (e) => {
2473
2483
  const t = e;
2474
- return t.length > 0 ? t.reduce((r, n) => r + (isNaN(Number(n)) ? 0 : Number(n)), 0) / t.length : 0;
2484
+ return t.length > 0 ? t.reduce((n, r) => n + (isNaN(Number(r)) ? 0 : Number(r)), 0) / t.length : 0;
2475
2485
  },
2476
2486
  count: (e) => e.length,
2477
2487
  min: (e) => Math.min(...e.map((t) => Number(t) || 1 / 0)),
@@ -2481,490 +2491,547 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2481
2491
  const t = e.map((i) => Number(i)).filter((i) => !isNaN(i));
2482
2492
  if (t.length === 0)
2483
2493
  return 0;
2484
- const r = t.reduce((i, s) => i + s, 0) / t.length;
2485
- return t.map((i) => Math.pow(i - r, 2)).reduce((i, s) => i + s, 0) / t.length;
2494
+ const n = t.reduce((i, s) => i + s, 0) / t.length;
2495
+ return t.map((i) => Math.pow(i - n, 2)).reduce((i, s) => i + s, 0) / t.length;
2486
2496
  },
2487
2497
  stddev: (e) => {
2488
2498
  const t = e.map((s) => Number(s)).filter((s) => !isNaN(s));
2489
2499
  if (t.length === 0)
2490
2500
  return 0;
2491
- const r = t.reduce((s, a) => s + a, 0) / t.length, i = t.map((s) => Math.pow(s - r, 2)).reduce((s, a) => s + a, 0) / t.length;
2501
+ const n = t.reduce((s, l) => s + l, 0) / t.length, i = t.map((s) => Math.pow(s - n, 2)).reduce((s, l) => s + l, 0) / t.length;
2492
2502
  return Math.sqrt(i);
2493
2503
  }
2494
- }, ue = /* @__PURE__ */ new Map(), ft = /* @__PURE__ */ new Map(), dt = /* @__PURE__ */ new Map(), Xn = (e) => {
2495
- const { data: t, sortParams: r, fields: n } = e, { rows: i, columns: s, values: a } = n;
2496
- if (!t || t.length === 0 || !i.length && !s.length && !a.length)
2504
+ }, ce = /* @__PURE__ */ new Map(), ht = /* @__PURE__ */ new Map(), pt = /* @__PURE__ */ new Map(), Xn = (e) => {
2505
+ const { data: t, sortParams: n, fields: r, config: i } = e, { rows: s, columns: l, values: d } = r;
2506
+ if (!t || t.length === 0 || !s.length && !l.length && !d.length)
2497
2507
  return {
2498
2508
  list: [],
2499
- dataExpandFilter: (v) => v
2509
+ dataExpandFilter: (y) => y
2500
2510
  };
2501
- const h = He(i), l = He(s), c = He(a).filter((v) => !v.hidden), f = h.map((v) => v.field), E = l.map((v) => v.field), b = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map();
2502
- t.forEach((v) => {
2503
- const C = ut(v, f);
2504
- b.has(C) || b.set(C, []), b.get(C).push(v);
2505
- const w = ut(v, E);
2506
- I.has(w) || I.set(w, []), I.get(w).push(v);
2507
- const m = `${C}||${w}`;
2508
- A.has(m) || A.set(m, []), A.get(m).push(v);
2511
+ const a = Ue(s), h = Ue(l), u = Ue(d), w = u.filter((y) => !y.hidden), m = a.map((y) => y.field), A = h.map((y) => y.field), M = /* @__PURE__ */ new Map(), R = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
2512
+ t.forEach((y) => {
2513
+ const g = dt(y, m);
2514
+ M.has(g) || M.set(g, []), M.get(g).push(y);
2515
+ const v = dt(y, A);
2516
+ R.has(v) || R.set(v, []), R.get(v).push(y);
2517
+ const C = `${g}||${v}`;
2518
+ c.has(C) || c.set(C, []), c.get(C).push(y);
2509
2519
  });
2510
- const T = () => Array.from(b.entries()).sort(([v, C], [w, m]) => {
2511
- if (r && r.length > 0)
2512
- for (const g of r) {
2513
- const { field: x, sortType: _ } = g, R = _ === "asc", S = me(C[0], x), $ = me(m[0], x);
2514
- if (S < $)
2515
- return R ? -1 : 1;
2516
- if (S > $)
2517
- return R ? 1 : -1;
2520
+ const P = () => Array.from(M.entries()).sort(([y, g], [v, C]) => {
2521
+ if (n && n.length > 0)
2522
+ for (const p of n) {
2523
+ const { field: x, sortType: b } = p, O = b === "asc", z = ve(g[0], x), V = ve(C[0], x);
2524
+ if (z < V)
2525
+ return O ? -1 : 1;
2526
+ if (z > V)
2527
+ return O ? 1 : -1;
2518
2528
  }
2519
- for (let g = 0; g < f.length; g++) {
2520
- const x = f[g], _ = h[g], R = me(C[0], x), S = me(m[0], x);
2521
- if (R !== S)
2522
- if (_.sort && _.sort.enabled) {
2523
- const $ = _.sort.type === "asc";
2524
- if (R < S)
2525
- return $ ? -1 : 1;
2526
- if (R > S)
2527
- return $ ? 1 : -1;
2529
+ for (let p = 0; p < m.length; p++) {
2530
+ const x = m[p], b = a[p], O = ve(g[0], x), z = ve(C[0], x);
2531
+ if (O !== z)
2532
+ if (b.sort && b.sort.enabled) {
2533
+ const V = b.sort.type === "asc";
2534
+ if (O < z)
2535
+ return V ? -1 : 1;
2536
+ if (O > z)
2537
+ return V ? 1 : -1;
2528
2538
  } else {
2529
- if (R < S)
2539
+ if (O < z)
2530
2540
  return -1;
2531
- if (R > S)
2541
+ if (O > z)
2532
2542
  return 1;
2533
2543
  }
2534
2544
  }
2535
2545
  return 0;
2536
- }), u = () => Array.from(I.entries()).sort(([v, C], [w, m]) => {
2537
- for (let g = 0; g < E.length; g++) {
2538
- const x = E[g], _ = l[g], R = me(C[0], x), S = me(m[0], x);
2539
- if (R !== S)
2540
- if (_.sort && _.sort.enabled) {
2541
- const $ = _.sort.type === "asc";
2542
- if (R < S)
2543
- return $ ? -1 : 1;
2544
- if (R > S)
2545
- return $ ? 1 : -1;
2546
+ }), S = () => Array.from(R.entries()).sort(([y, g], [v, C]) => {
2547
+ for (let p = 0; p < A.length; p++) {
2548
+ const x = A[p], b = h[p], O = ve(g[0], x), z = ve(C[0], x);
2549
+ if (O !== z)
2550
+ if (b.sort && b.sort.enabled) {
2551
+ const V = b.sort.type === "asc";
2552
+ if (O < z)
2553
+ return V ? -1 : 1;
2554
+ if (O > z)
2555
+ return V ? 1 : -1;
2546
2556
  } else {
2547
- if (R < S)
2557
+ if (O < z)
2548
2558
  return -1;
2549
- if (R > S)
2559
+ if (O > z)
2550
2560
  return 1;
2551
2561
  }
2552
2562
  }
2553
2563
  return 0;
2554
- }), j = () => {
2555
- const v = [], C = He(i);
2556
- for (let w = 1; w <= C.length; w++)
2557
- v.push(C.slice(0, w));
2558
- return v;
2559
- }, P = () => {
2560
- const v = j(), C = /* @__PURE__ */ new Set();
2561
- return v.forEach((w, m) => {
2562
- const g = w[w.length - 1];
2563
- g.total && g.total.enabled && C.add(m);
2564
- }), C;
2565
- }, J = () => {
2566
- const v = j(), C = [], w = P();
2567
- return w.size === 0 || w.forEach((m) => {
2568
- let g = [];
2569
- m > 0 && (g = v[m - 1]);
2564
+ }), Z = () => {
2565
+ const y = [], g = Ue(s);
2566
+ for (let v = 1; v <= g.length; v++)
2567
+ y.push(g.slice(0, v));
2568
+ return y;
2569
+ }, I = () => {
2570
+ const y = Z(), g = /* @__PURE__ */ new Set();
2571
+ return y.forEach((v, C) => {
2572
+ const p = v[v.length - 1];
2573
+ p.total && p.total.enabled && g.add(C);
2574
+ }), g;
2575
+ }, G = () => {
2576
+ const y = Z(), g = [], v = I();
2577
+ return v.size === 0 || v.forEach((C) => {
2578
+ let p = [];
2579
+ C > 0 && (p = y[C - 1]);
2570
2580
  const x = {};
2571
- t.forEach((_) => {
2572
- let R = "";
2573
- if (m > 0 ? R = g.map((S) => me(_, S.field)).join("|") : R = "__GLOBAL__", !x[R]) {
2574
- const $ = v[m][m].total;
2575
- x[R] = {
2581
+ t.forEach((b) => {
2582
+ let O = "";
2583
+ if (C > 0 ? O = p.map((z) => ve(b, z.field)).join("|") : O = "__GLOBAL__", !x[O]) {
2584
+ const V = y[C][C].total;
2585
+ x[O] = {
2576
2586
  records: [],
2577
- config: $
2587
+ config: V
2578
2588
  };
2579
2589
  }
2580
- x[R].records.push(_);
2581
- }), C.push({ level: m, data: x });
2582
- }), C;
2583
- }, z = u(), N = /* @__PURE__ */ new Map(), D = (v, C) => {
2584
- if (ue.has(v)) {
2585
- const w = ue.get(v), g = !w.get(C);
2586
- w.set(C, g), ft.set("rowKey", C), ft.set("level", v), ft.set("expanded", g);
2587
- const x = v - 1;
2588
- if (x >= 0 && x < h.length && h[x].clickExpandChildren && g === !0) {
2589
- const R = v + 1;
2590
- if (ue.has(R)) {
2591
- const S = ue.get(R), $ = C + "|";
2592
- S.forEach((Y, ne) => {
2593
- ne.startsWith($) && (S.set(ne, !0), k(R, ne));
2590
+ x[O].records.push(b);
2591
+ }), g.push({ level: C, data: x });
2592
+ }), g;
2593
+ }, L = S(), $ = /* @__PURE__ */ new Map(), j = (y, g) => {
2594
+ if (ce.has(y)) {
2595
+ const v = ce.get(y), p = !v.get(g);
2596
+ v.set(g, p), ht.set("rowKey", g), ht.set("level", y), ht.set("expanded", p);
2597
+ const x = y - 1;
2598
+ if (x >= 0 && x < a.length && a[x].clickExpandChildren && p === !0) {
2599
+ const O = y + 1;
2600
+ if (ce.has(O)) {
2601
+ const z = ce.get(O), V = g + "|";
2602
+ z.forEach((k, B) => {
2603
+ B.startsWith(V) && (z.set(B, !0), T(O, B));
2594
2604
  });
2595
2605
  }
2596
2606
  }
2597
2607
  }
2598
- }, k = (v, C) => {
2599
- const w = v + 1;
2600
- if (ue.has(w)) {
2601
- const m = ue.get(w), g = C + "|";
2602
- m.forEach((x, _) => {
2603
- _.startsWith(g) && (m.set(_, !0), k(w, _));
2608
+ }, T = (y, g) => {
2609
+ const v = y + 1;
2610
+ if (ce.has(v)) {
2611
+ const C = ce.get(v), p = g + "|";
2612
+ C.forEach((x, b) => {
2613
+ b.startsWith(p) && (C.set(b, !0), T(v, b));
2604
2614
  });
2605
2615
  }
2606
- }, p = (v) => {
2607
- const C = J(), w = [...v];
2608
- if (C.length === 0)
2609
- return w;
2610
- for (let m = 0; m < C.length; m++) {
2611
- const { level: g, data: x } = C[m];
2612
- Object.keys(x).forEach((_) => {
2613
- const { records: R, config: S } = x[_], { label: $ = Kt, position: Y = "bottom" } = S || {}, ne = _.split("|");
2614
- let ee = -1, O = -1;
2615
- if (g === 0)
2616
- ee = 0, O = w.length - 1;
2616
+ }, F = (y) => {
2617
+ const g = G(), v = [...y];
2618
+ if (g.length === 0)
2619
+ return v;
2620
+ for (let C = 0; C < g.length; C++) {
2621
+ const { level: p, data: x } = g[C];
2622
+ Object.keys(x).forEach((b) => {
2623
+ const { records: O, config: z } = x[b], { label: V = Ge, position: k = "bottom" } = z || {}, B = b.split("|");
2624
+ let E = -1, le = -1;
2625
+ if (p === 0)
2626
+ E = 0, le = v.length - 1;
2617
2627
  else
2618
- for (let Z = 0; Z < w.length; Z++) {
2619
- const te = w[Z];
2620
- f.slice(0, g).every(($e, pe) => {
2628
+ for (let q = 0; q < v.length; q++) {
2629
+ const oe = v[q];
2630
+ m.slice(0, p).every((we, _e) => {
2621
2631
  var se;
2622
- return ((se = te[pe]) == null ? void 0 : se.content) === ne[pe];
2623
- }) && (ee === -1 && (ee = Z), O = Z);
2632
+ return ((se = oe[_e]) == null ? void 0 : se.content) === B[_e];
2633
+ }) && (E === -1 && (E = q), le = q);
2624
2634
  }
2625
- if (ee !== -1) {
2626
- const Z = [];
2627
- let te = "";
2628
- f.forEach(($e, pe) => {
2629
- let se = xe;
2630
- const ae = pe + 1, ce = ae < f.length, je = h[pe];
2631
- pe <= g && (pe === g ? se = $ : se = ne[pe], te += `|${se}`);
2632
- const Ke = ue.has(ae) && ue.get(ae).get(te) || !0;
2633
- (se === xe || se === null || se === void 0) && je.emptyReplace && (se = je.emptyReplace), Z.push({
2635
+ if (E !== -1) {
2636
+ const q = [];
2637
+ i != null && i.showLine && q.unshift({
2638
+ content: me,
2639
+ rowspan: 1,
2640
+ colspan: 1,
2641
+ data: null
2642
+ });
2643
+ let oe = "";
2644
+ m.forEach((we, _e) => {
2645
+ let se = me;
2646
+ const re = _e + 1, fe = re < m.length, Me = a[_e];
2647
+ _e <= p && (_e === p ? se = V : se = B[_e], oe += `|${se}`);
2648
+ const We = ce.has(re) && ce.get(re).get(oe) || !0;
2649
+ (se === me || se === null || se === void 0) && Me.emptyReplace && (se = Me.emptyReplace), q.push({
2634
2650
  content: se,
2635
2651
  rowspan: 1,
2636
2652
  colspan: 1,
2637
2653
  data: null,
2638
- rowKey: te,
2639
- expandable: Y === "top" && ce && se !== xe && se !== Kt,
2640
- expanded: Y === "top" ? Ke : !1,
2641
- level: ae,
2642
- onClick: Y === "top" && ce ? (Ae) => D(Ae.level, Ae.rowKey) : void 0
2654
+ rowKey: oe,
2655
+ expandable: k === "top" && fe && se !== me && se !== Ge,
2656
+ expanded: k === "top" ? We : !1,
2657
+ level: re,
2658
+ onClick: k === "top" && fe ? (ze) => j(ze.level, ze.rowKey) : void 0
2643
2659
  });
2644
- }), z.forEach(([$e, pe]) => {
2660
+ }), L.forEach(([we, _e]) => {
2645
2661
  const se = {};
2646
- c.forEach((ae) => {
2647
- if (ae.calculateType === "expr")
2662
+ u.forEach((re) => {
2663
+ if (re.calculateType === "expr")
2648
2664
  return;
2649
- const ce = ae.field, je = ae.calculateType || "sum", Ae = R.filter((Ce) => ut(Ce, E) === $e).map((Ce) => me(Ce, ce));
2650
- let Ne = 0;
2651
- Ge[je] && (Ne = Ge[je](Ae)), se[ae.field] = Ne;
2652
- }), c.forEach((ae) => {
2653
- if (ae.calculateType === "expr" && ae.expression) {
2654
- const ce = qt(ae.expression, se);
2655
- se[ae.field] = ce !== null ? ce : 0;
2665
+ const fe = re.field, Me = re.calculateType || "sum", ze = O.filter((Ve) => dt(Ve, A) === we).map((Ve) => ve(Ve, fe));
2666
+ let je = 0;
2667
+ qe[Me] && (je = qe[Me](ze)), se[re.field] = je;
2668
+ }), u.forEach((re) => {
2669
+ if (re.calculateType === "expr" && re.expression) {
2670
+ const fe = Jt(re.expression, se);
2671
+ se[re.field] = fe !== null ? fe : 0;
2656
2672
  }
2657
- }), c.forEach((ae) => {
2658
- let ce = se[ae.field];
2659
- (ce === xe || ce === null || ce === void 0 || typeof ce == "number" && isNaN(ce)) && ae.emptyReplace && (ce = ae.emptyReplace), Z.push({
2660
- content: ce,
2673
+ }), w.forEach((re) => {
2674
+ let fe = se[re.field];
2675
+ (fe === me || fe === null || fe === void 0 || typeof fe == "number" && isNaN(fe)) && re.emptyReplace && (fe = re.emptyReplace), q.push({
2676
+ content: fe,
2661
2677
  rowspan: 1,
2662
2678
  colspan: 1,
2663
2679
  data: null
2664
2680
  });
2665
2681
  });
2666
2682
  });
2667
- const fe = Y === "top" ? ee : O + 1;
2668
- dt.has(te) || (w.splice(fe, 0, Z), dt.set(te, 1), Y === "top" && g > 0 && N.set(_, te));
2683
+ const xe = k === "top" ? E : le + 1;
2684
+ if (!pt.has(oe) && (v.splice(xe, 0, q), pt.set(oe, 1), k === "top" && p > 0)) {
2685
+ const we = "|" + b;
2686
+ $.set(we, oe);
2687
+ }
2669
2688
  }
2670
2689
  });
2671
2690
  }
2672
- return w;
2673
- }, F = He(i);
2674
- ue.clear(), t.forEach((v) => {
2675
- let C = "";
2676
- f.forEach((w, m) => {
2677
- const g = m + 1, x = me(v, w);
2678
- C += `|${x}`, ue.has(g) || ue.set(g, /* @__PURE__ */ new Map());
2679
- const _ = h[m].collapsed;
2680
- ue.get(g).set(C, !_);
2691
+ return v;
2692
+ };
2693
+ ce.clear(), t.forEach((y) => {
2694
+ let g = "";
2695
+ m.forEach((v, C) => {
2696
+ const p = C + 1, x = ve(y, v);
2697
+ g += `|${x}`, ce.has(p) || ce.set(p, /* @__PURE__ */ new Map());
2698
+ const b = a[C].collapsed;
2699
+ ce.get(p).set(g, !b);
2681
2700
  });
2682
2701
  });
2683
- const M = T();
2684
- let W = [];
2685
- const H = /* @__PURE__ */ new Map();
2686
- M.forEach(([v, C]) => {
2687
- const w = C[0];
2688
- let m = "";
2689
- f.forEach((g, x) => {
2690
- const _ = me(w, g), R = x + 1;
2691
- m += `|${_}`, H.has(R) || H.set(R, /* @__PURE__ */ new Map());
2692
- const S = H.get(R);
2693
- S.set(m, (S.get(m) || 0) + 1);
2702
+ const N = P();
2703
+ let H = [];
2704
+ const W = /* @__PURE__ */ new Map();
2705
+ N.forEach(([y, g]) => {
2706
+ const v = g[0];
2707
+ let C = "";
2708
+ m.forEach((p, x) => {
2709
+ const b = ve(v, p), O = x + 1;
2710
+ C += `|${b}`, W.has(O) || W.set(O, /* @__PURE__ */ new Map());
2711
+ const z = W.get(O);
2712
+ z.set(C, (z.get(C) || 0) + 1);
2694
2713
  });
2695
- }), M.forEach(([v, C]) => {
2696
- const w = C[0], m = [];
2697
- let g = "";
2698
- f.forEach((x, _) => {
2699
- var te;
2700
- let R = me(w, x);
2701
- const S = _ + 1, $ = S < f.length, Y = h[_];
2702
- g += `|${R}`;
2703
- let ne = v;
2704
- const ee = F.find((fe) => fe.field === x);
2705
- if ((te = ee == null ? void 0 : ee.total) != null && te.enabled && ee.total.label && (ne = `${g}|${ee.total.label}`), $) {
2706
- const fe = g;
2707
- N.has(fe) || N.set(fe, ne);
2708
- }
2709
- const O = ue.has(S) && ue.get(S).get(g) || !0, Z = S < f.length ? (H.get(S).get(g) || 0) > 1 : !1;
2710
- (R === xe || R === null || R === void 0) && Y.emptyReplace && (R = Y.emptyReplace), m.push({
2711
- content: R,
2714
+ }), N.forEach(([y, g]) => {
2715
+ const v = g[0], C = [];
2716
+ let p = "";
2717
+ m.forEach((O, z) => {
2718
+ let V = ve(v, O);
2719
+ const k = z + 1, B = k < m.length, E = a[z];
2720
+ p += `|${V}`;
2721
+ const le = ce.has(k) && ce.get(k).get(p) || !0, q = k < m.length ? (W.get(k).get(p) || 0) > 1 : !1;
2722
+ (V === me || V === null || V === void 0) && E.emptyReplace && (V = E.emptyReplace), C.push({
2723
+ content: V,
2712
2724
  rowspan: 1,
2713
2725
  colspan: 1,
2714
- data: w,
2715
- expandable: $ && Z,
2716
- expanded: O,
2717
- level: S,
2718
- rowKey: g,
2719
- onClick: $ && Z ? (fe) => D(fe.level, fe.rowKey) : void 0
2726
+ data: v,
2727
+ expandable: B && q,
2728
+ expanded: le,
2729
+ level: k,
2730
+ rowKey: p,
2731
+ onClick: B && q ? (oe) => j(oe.level, oe.rowKey) : void 0
2720
2732
  });
2721
- }), z.forEach(([x, _]) => {
2722
- const R = {};
2723
- c.forEach((S) => {
2724
- if (S.calculateType === "expr")
2733
+ });
2734
+ const x = p;
2735
+ let b = "";
2736
+ m.forEach((O, z) => {
2737
+ const V = ve(v, O), B = z + 1 < m.length;
2738
+ b += `|${V}`, B && !$.has(b) && $.set(b, x);
2739
+ }), L.forEach(([O, z]) => {
2740
+ const V = {};
2741
+ u.forEach((k) => {
2742
+ if (k.calculateType === "expr")
2725
2743
  return;
2726
- const $ = S.field, Y = S.calculateType || "sum", ne = `${v}||${x}`, O = (A.get(ne) || []).map((te) => me(te, $));
2727
- let Z = 0;
2728
- Ge[Y] && (Z = Ge[Y](O)), R[S.field] = Z;
2729
- }), c.forEach((S) => {
2730
- if (S.calculateType === "expr" && S.expression) {
2731
- const $ = qt(S.expression, R);
2732
- R[S.field] = $ !== null ? $ : 0;
2744
+ const B = k.field, E = k.calculateType || "sum", le = `${y}||${O}`, oe = (c.get(le) || []).map((we) => ve(we, B));
2745
+ let xe = 0;
2746
+ qe[E] && (xe = qe[E](oe)), V[k.field] = xe;
2747
+ }), u.forEach((k) => {
2748
+ if (k.calculateType === "expr" && k.expression) {
2749
+ const B = Jt(k.expression, V);
2750
+ V[k.field] = B !== null ? B : 0;
2733
2751
  }
2734
- }), c.forEach((S) => {
2735
- let $ = R[S.field];
2736
- ($ === xe || $ === null || $ === void 0 || typeof $ == "number" && isNaN($)) && S.emptyReplace && ($ = S.emptyReplace), m.push({
2737
- content: $,
2752
+ }), w.forEach((k) => {
2753
+ let B = V[k.field];
2754
+ (B === me || B === null || B === void 0 || typeof B == "number" && isNaN(B)) && k.emptyReplace && (B = k.emptyReplace), C.push({
2755
+ content: B,
2738
2756
  rowspan: 1,
2739
2757
  colspan: 1,
2740
- data: w
2758
+ data: v
2741
2759
  });
2742
2760
  });
2743
- }), W.push({ cells: m, rowKey: g });
2761
+ }), i != null && i.showLine && C.unshift({
2762
+ content: 1,
2763
+ // Temporary value, will be updated
2764
+ rowspan: 1,
2765
+ // Will be updated based on first dimension
2766
+ colspan: 1,
2767
+ data: v
2768
+ }), H.push({ cells: C, rowKey: x });
2744
2769
  });
2745
- const K = (v) => {
2746
- const w = v.split("|").filter(Boolean).length;
2747
- for (let m = 1; m < w; m++)
2748
- if (ue.has(m)) {
2749
- const g = ue.get(m), x = v.split("|").slice(0, m + 1).join("|");
2750
- if (g.has(x) && !g.get(x)) {
2751
- const _ = x, R = N.get(_);
2752
- if (v !== R)
2770
+ const te = (y) => {
2771
+ const v = y.split("|").filter(Boolean).length, C = y.replace(/\|+$/, "");
2772
+ for (let p = 1; p < v; p++)
2773
+ if (ce.has(p)) {
2774
+ const x = ce.get(p), b = y.split("|").slice(0, p + 1).join("|");
2775
+ if (x.has(b) && !x.get(b)) {
2776
+ const z = b, V = $.get(z), k = V == null ? void 0 : V.replace(/\|+$/, "");
2777
+ if (C !== k)
2753
2778
  return !1;
2754
2779
  }
2755
2780
  }
2756
2781
  return !0;
2757
- }, re = (v) => {
2758
- var C, w;
2759
- if (!v || v.length === 0)
2760
- return v;
2761
- for (let m = 0; m < h.length; m++) {
2762
- let g = v[0][m].content, x = 0, _ = h[m], R = (C = _.total) == null ? void 0 : C.enabled, S = ((w = _.total) == null ? void 0 : w.label) || "";
2763
- for (let $ = 1; $ < v.length; $++) {
2764
- const Y = v[$][m];
2765
- let ne = !0;
2766
- if (m > 0)
2767
- for (let ee = 0; ee < m; ee++) {
2768
- const O = v[x][ee], Z = v[$][ee];
2769
- if (O.content !== Z.content) {
2770
- ne = !1;
2782
+ }, de = (y) => {
2783
+ var v, C;
2784
+ if (!y || y.length === 0)
2785
+ return y;
2786
+ const g = i != null && i.showLine ? 1 : 0;
2787
+ for (let p = 0; p < a.length; p++) {
2788
+ const x = p + g;
2789
+ let b = y[0][x].content, O = 0, z = a[p], V = (v = z.total) == null ? void 0 : v.enabled, k = ((C = z.total) == null ? void 0 : C.label) || "";
2790
+ for (let B = 1; B < y.length; B++) {
2791
+ const E = y[B][x];
2792
+ let le = !0;
2793
+ if (p > 0)
2794
+ for (let q = 0; q < p; q++) {
2795
+ const oe = y[O][q + g], xe = y[B][q + g];
2796
+ if (oe.content !== xe.content) {
2797
+ le = !1;
2771
2798
  break;
2772
2799
  }
2773
2800
  }
2774
- Y.content !== xe && (!R || Y.content !== S) && Y.content === g && ne ? (Y.rowspan = 0, v[x][m].rowspan++) : (g = Y.content, x = $);
2801
+ E.content !== me && (!V || E.content !== k) && E.content === b && le ? (E.rowspan = 0, y[O][x].rowspan++) : (b = E.content, O = B);
2775
2802
  }
2776
2803
  }
2777
- return v;
2778
- }, he = (v) => {
2779
- const C = v.filter((g) => K(g.rowKey)), w = C.map((g) => g.cells.map((x) => {
2780
- const _ = { ...x };
2781
- if (_.expandable && _.level && _.rowKey && ue.has(_.level)) {
2782
- const R = ue.get(_.level);
2783
- R.has(_.rowKey) && (_.expanded = R.get(_.rowKey));
2804
+ return y;
2805
+ }, be = (y) => {
2806
+ const g = y.filter((p) => te(p.rowKey)), v = g.map((p) => p.cells.map((x) => {
2807
+ const b = { ...x };
2808
+ if (b.expandable && b.level && b.rowKey && ce.has(b.level)) {
2809
+ const O = ce.get(b.level);
2810
+ O.has(b.rowKey) && (b.expanded = O.get(b.rowKey));
2784
2811
  }
2785
- return _;
2812
+ return b;
2786
2813
  }));
2787
- return re(w), C.map((g, x) => ({
2788
- rowKey: g.rowKey,
2789
- cells: w[x]
2814
+ if (de(v), i != null && i.showLine && a.length > 0) {
2815
+ let p = 1;
2816
+ for (let x = 0; x < v.length; x++) {
2817
+ const b = v[x][0], O = v[x][1];
2818
+ O.rowspan > 0 ? O.content === Ge ? (b.rowspan = O.rowspan, b.content = me) : (b.rowspan = O.rowspan, b.content = p++) : (b.rowspan = 0, b.content = me);
2819
+ }
2820
+ }
2821
+ return g.map((p, x) => ({
2822
+ rowKey: p.rowKey,
2823
+ cells: v[x]
2790
2824
  }));
2791
2825
  };
2792
- dt.clear();
2793
- const be = W.map((v) => v.cells), _e = p(be).map((v, C) => {
2794
- let w = "";
2795
- return v.forEach((m, g) => {
2796
- g < f.length && m.rowKey && (w = m.rowKey);
2797
- }), { cells: v, rowKey: w };
2798
- }), Se = (() => {
2799
- const v = [];
2800
- if (h.forEach((C) => {
2801
- v.push({
2802
- ...C,
2803
- width: C.width || 100,
2826
+ pt.clear();
2827
+ const Se = H.map((y) => y.cells), ue = F(Se).map((y, g) => {
2828
+ let v = "";
2829
+ const C = i != null && i.showLine ? 1 : 0;
2830
+ return y.forEach((p, x) => {
2831
+ const b = x - C;
2832
+ b >= 0 && b < m.length && p.rowKey && (v = p.rowKey);
2833
+ }), { cells: y, rowKey: v };
2834
+ });
2835
+ if (i != null && i.showLine && a.length > 0) {
2836
+ de(ue.map((g) => g.cells));
2837
+ let y = 1;
2838
+ for (let g = 0; g < ue.length; g++) {
2839
+ const v = ue[g].cells[0], C = ue[g].cells[1];
2840
+ C.rowspan > 0 ? C.content === Ge ? (v.rowspan = C.rowspan, v.content = me) : (v.rowspan = C.rowspan, v.content = y++) : (v.rowspan = 0, v.content = me);
2841
+ }
2842
+ }
2843
+ const Pe = (() => {
2844
+ const y = [];
2845
+ if (i != null && i.showLine && y.unshift({
2846
+ field: "__row_index__",
2847
+ title: i.showLineTitle || "序号",
2848
+ width: i.lineWidth || "70px",
2849
+ key: "__row_index__",
2850
+ type: "index"
2851
+ }), a.forEach((g) => {
2852
+ y.push({
2853
+ ...g,
2854
+ width: g.width || 100,
2804
2855
  fixed: "left",
2805
- key: C.field
2856
+ key: g.field
2806
2857
  });
2807
- }), l.length === 0)
2808
- c.forEach((C) => {
2809
- v.push({
2810
- ...C,
2811
- width: C.width || 100,
2812
- key: C.field
2858
+ }), h.length === 0)
2859
+ w.forEach((g) => {
2860
+ y.push({
2861
+ ...g,
2862
+ width: g.width || 100,
2863
+ key: g.field
2813
2864
  });
2814
2865
  });
2815
2866
  else {
2816
- const C = [];
2817
- z.forEach(([w, m]) => {
2818
- const g = w.split("|").filter((_) => _ !== "");
2819
- let x = C;
2820
- g.forEach((_, R) => {
2821
- var $;
2822
- let S = x.find((Y) => Y.title === _);
2823
- if (!S) {
2824
- const ne = `${(($ = l[R]) == null ? void 0 : $.field) || "unknown"}__${_}`, ee = {
2825
- field: ne,
2826
- title: _,
2867
+ const g = [];
2868
+ L.forEach(([v, C]) => {
2869
+ const p = v.split("|").filter((b) => b !== "");
2870
+ let x = g;
2871
+ p.forEach((b, O) => {
2872
+ var V;
2873
+ let z = x.find((k) => k.title === b);
2874
+ if (!z) {
2875
+ const B = `${((V = h[O]) == null ? void 0 : V.field) || "unknown"}__${b}`, E = {
2876
+ field: B,
2877
+ title: b,
2827
2878
  children: [],
2828
- key: ne
2879
+ key: B
2829
2880
  };
2830
- x.push(ee), S = ee;
2881
+ x.push(E), z = E;
2831
2882
  }
2832
- R === g.length - 1 ? c.forEach((Y) => {
2833
- S.children || (S.children = []), S.children.push({
2834
- ...Y,
2835
- field: `${w}||${Y.field}`,
2836
- title: Y.title || Y.field,
2837
- width: Y.width || 100,
2838
- key: `${w}||${Y.field}`
2883
+ O === p.length - 1 ? w.forEach((k) => {
2884
+ z.children || (z.children = []), z.children.push({
2885
+ ...k,
2886
+ field: `${v}||${k.field}`,
2887
+ title: k.title || k.field,
2888
+ width: k.width || 100,
2889
+ key: `${v}||${k.field}`
2839
2890
  });
2840
- }) : (S.children || (S.children = []), x = S.children);
2891
+ }) : (z.children || (z.children = []), x = z.children);
2841
2892
  });
2842
- }), v.push(...C);
2893
+ }), y.push(...g);
2843
2894
  }
2844
- return v;
2895
+ return y;
2845
2896
  })();
2846
2897
  return {
2847
- list: _e,
2848
- dataExpandFilter: he,
2849
- tableColumns: Se
2898
+ list: ue,
2899
+ dataExpandFilter: be,
2900
+ tableColumns: Pe
2850
2901
  };
2851
2902
  }, Zn = (e) => {
2852
- const { data: t, fields: r } = e, { rows: n, columns: i, values: s } = r;
2853
- if (!s || s.length === 0)
2854
- return { list: [], dataExpandFilter: (a) => a };
2903
+ const { data: t, fields: n, config: r } = e, { rows: i, columns: s, values: l } = n;
2904
+ if (!l || l.length === 0)
2905
+ return { list: [], dataExpandFilter: (d) => d };
2855
2906
  if (!t || t.length === 0)
2856
- return { list: [], dataExpandFilter: (a) => a };
2857
- if (n.length === 0 && i.length === 0) {
2858
- const a = s.filter((c) => !c.hidden), h = a.map((c) => ({
2859
- ...c,
2860
- width: c.width || 100,
2861
- key: c.field
2907
+ return { list: [], dataExpandFilter: (d) => d };
2908
+ if (i.length === 0 && s.length === 0) {
2909
+ const d = l.filter((u) => !u.hidden), a = d.map((u) => ({
2910
+ ...u,
2911
+ width: u.width || 100,
2912
+ key: u.field
2862
2913
  }));
2863
- return {
2864
- list: t.map((c, f) => ({ cells: a.map((b) => ({
2865
- content: c[b.field] ?? xe,
2866
- rowspan: 1,
2867
- colspan: 1,
2868
- style: b.style,
2869
- data: c
2870
- // Pass original record for detail view cells
2871
- })), rowKey: f.toString() })),
2872
- dataExpandFilter: (c) => c,
2873
- tableColumns: h
2914
+ return r != null && r.showLine && a.unshift({
2915
+ field: "__row_index__",
2916
+ title: r.showLineTitle || "序号",
2917
+ width: r.lineWidth || "70px",
2918
+ key: "__row_index__"
2919
+ }), {
2920
+ list: t.map((u, w) => {
2921
+ const m = [];
2922
+ return r != null && r.showLine && m.push({
2923
+ content: w + 1,
2924
+ rowspan: 1,
2925
+ colspan: 1
2926
+ }), d.forEach((A) => {
2927
+ const M = u[A.field] ?? me;
2928
+ m.push({
2929
+ content: M,
2930
+ rowspan: 1,
2931
+ colspan: 1,
2932
+ style: A.style,
2933
+ data: u
2934
+ // Pass original record for detail view cells
2935
+ });
2936
+ }), { cells: m, rowKey: w.toString() };
2937
+ }),
2938
+ dataExpandFilter: (u) => u,
2939
+ tableColumns: a
2874
2940
  };
2875
2941
  }
2876
2942
  return Xn(e);
2877
- }, to = Jt((e) => {
2878
- const { scroll: t, data: r, meta: n, sortParams: i, fields: s } = e, [a, h] = Ie(0), [l, c] = Ie([]), [f, E] = Ie([]), b = ze(null), I = ge(() => {
2879
- if (b.current) {
2880
- let p = b.current;
2881
- if (!p || !p.list || !p.dataExpandFilter)
2943
+ }, to = Xt((e) => {
2944
+ const { scroll: t, data: n, meta: r, sortParams: i, fields: s, config: l } = e, [d, a] = $e(0), [h, u] = $e([]), [w, m] = $e([]), A = Le(null), M = ge(() => {
2945
+ if (A.current) {
2946
+ let T = A.current;
2947
+ if (!T || !T.list || !T.dataExpandFilter)
2882
2948
  return;
2883
- c(p.dataExpandFilter(p.list));
2949
+ u(T.dataExpandFilter(T.list));
2884
2950
  }
2885
2951
  }, []);
2886
- Qe(() => {
2952
+ tt(() => {
2887
2953
  let F = Zn({
2888
- data: r,
2889
- meta: n,
2954
+ data: n,
2955
+ meta: r,
2890
2956
  sortParams: i,
2891
- fields: s
2957
+ fields: s,
2958
+ config: l
2892
2959
  });
2893
- b.current = F, F.tableColumns && E(F.tableColumns), I();
2894
- }, [r, n, i, s, I]);
2895
- const A = ge((p) => p ? typeof p == "string" ? parseInt(p.replace("px", "")) || 0 : typeof p == "number" ? p : 0 : 0, []), { baseWidth: T, colCount: u } = ye(() => {
2896
- let p = 0, F = 0;
2897
- const M = (W) => {
2898
- W.forEach((H) => {
2899
- (!("type" in H) || H.type !== "group") && (p += A(H.width), F += 1), H != null && H.children && H.children.length > 0 && M(H.children);
2960
+ A.current = F, F.tableColumns && m(F.tableColumns), M();
2961
+ }, [n, r, i, s, M, l]);
2962
+ const R = ge((T) => T ? typeof T == "string" ? parseInt(T.replace("px", "")) || 0 : typeof T == "number" ? T : 0 : 0, []), { baseWidth: c, colCount: P } = ye(() => {
2963
+ let T = 0, F = 0;
2964
+ const N = (H) => {
2965
+ H.forEach((W) => {
2966
+ (!("type" in W) || W.type !== "group") && (T += R(W.width), F += 1), W != null && W.children && W.children.length > 0 && N(W.children);
2900
2967
  });
2901
2968
  };
2902
- return M(f), { baseWidth: p, colCount: F };
2903
- }, [f, A]), j = ye(() => {
2904
- const p = (F) => F.map((M) => {
2905
- let W = 0;
2906
- T < a && u > 0 && (W = Math.floor((a - T) / u));
2907
- const K = (M.width ? A(M.width) : Mn) + W;
2908
- return M.colSpan && M.colSpan > 1 ? M.width = K * M.colSpan : M.width = K, M.fixed && (M.fixed = !1), M != null && M.children && M.children.length > 0 && (M.children = p(M.children)), M;
2969
+ return N(w), { baseWidth: T, colCount: F };
2970
+ }, [w, R]), S = ye(() => {
2971
+ const T = (F) => F.map((N) => {
2972
+ let H = 0;
2973
+ c < d && P > 0 && (H = Math.floor((d - c) / P));
2974
+ const te = (N.width ? R(N.width) : Mn) + H;
2975
+ return N.colSpan && N.colSpan > 1 ? N.width = te * N.colSpan : N.width = te, N.fixed && (N.fixed = !1), N != null && N.children && N.children.length > 0 && (N.children = T(N.children)), N;
2909
2976
  });
2910
- return p(Et(f));
2911
- }, [f, T, a, u, A]), P = ye(() => {
2912
- let p = 0;
2913
- const F = (M) => {
2914
- M.forEach((W) => {
2915
- (!("type" in W) || W.type !== "group") && (p += A(W.width)), W != null && W.children && W.children.length > 0 && F(W.children);
2977
+ return T(_t(w));
2978
+ }, [w, c, d, P, R]), Z = ye(() => {
2979
+ let T = 0;
2980
+ const F = (N) => {
2981
+ N.forEach((H) => {
2982
+ (!("type" in H) || H.type !== "group") && (T += R(H.width)), H != null && H.children && H.children.length > 0 && F(H.children);
2916
2983
  });
2917
2984
  };
2918
- return F(j), p;
2919
- }, [j, A]), J = ze(null), z = ze(null), N = ze(!1), D = ge(({ scrollLeft: p }) => {
2920
- N.current || (N.current = !0, J.current && (J.current.scrollLeft = p), requestAnimationFrame(() => {
2921
- N.current = !1;
2985
+ return F(S), T;
2986
+ }, [S, R]), I = Le(null), G = Le(null), L = Le(!1), $ = ge(({ scrollLeft: T }) => {
2987
+ L.current || (L.current = !0, I.current && (I.current.scrollLeft = T), requestAnimationFrame(() => {
2988
+ L.current = !1;
2922
2989
  }));
2923
- }, []), k = ge((p) => {
2924
- if (N.current)
2990
+ }, []), j = ge((T) => {
2991
+ if (L.current)
2925
2992
  return;
2926
- N.current = !0;
2927
- const F = p.currentTarget.scrollLeft;
2928
- z.current && (z.current.scrollLeft = F), requestAnimationFrame(() => {
2929
- N.current = !1;
2993
+ L.current = !0;
2994
+ const F = T.currentTarget.scrollLeft;
2995
+ G.current && (G.current.scrollLeft = F), requestAnimationFrame(() => {
2996
+ L.current = !1;
2930
2997
  });
2931
2998
  }, []);
2932
- return /* @__PURE__ */ Q.jsx(
2933
- Rt,
2999
+ return /* @__PURE__ */ ee.jsx(
3000
+ Ct,
2934
3001
  {
2935
- onResize: ({ width: p }) => {
2936
- p && p !== a && h(p);
3002
+ onResize: ({ width: T }) => {
3003
+ T && T !== d && a(T);
2937
3004
  },
2938
- children: /* @__PURE__ */ Q.jsxs(
3005
+ children: /* @__PURE__ */ ee.jsxs(
2939
3006
  "div",
2940
3007
  {
2941
3008
  className: St("virtual-table", e.className),
2942
3009
  style: { width: "100%", ...e.style },
2943
3010
  children: [
2944
- /* @__PURE__ */ Q.jsx(
3011
+ /* @__PURE__ */ ee.jsx(
2945
3012
  An,
2946
3013
  {
2947
- ref: J,
2948
- columns: j,
2949
- width: a - 8,
2950
- onScroll: k,
2951
- meta: n
3014
+ ref: I,
3015
+ columns: S,
3016
+ width: d - 8,
3017
+ onScroll: j,
3018
+ meta: r
2952
3019
  }
2953
3020
  ),
2954
- /* @__PURE__ */ Q.jsx("div", { className: "virtual-table-body", style: { width: "100%" }, children: /* @__PURE__ */ Q.jsx(
3021
+ /* @__PURE__ */ ee.jsx("div", { className: "virtual-table-body", style: { width: "100%" }, children: /* @__PURE__ */ ee.jsx(
2955
3022
  Jn,
2956
3023
  {
2957
- data: l,
3024
+ data: h,
2958
3025
  info: {
2959
- ref: z,
2960
- onScroll: D
3026
+ ref: G,
3027
+ onScroll: $
2961
3028
  },
2962
3029
  scroll: t,
2963
- columns: j,
2964
- tableWidth: a,
2965
- gridWidth: P,
2966
- handleExpand: I,
2967
- meta: n
3030
+ columns: S,
3031
+ tableWidth: d,
3032
+ gridWidth: Z,
3033
+ handleExpand: M,
3034
+ meta: r
2968
3035
  }
2969
3036
  ) })
2970
3037
  ]