@yester/virtual-table 1.2.1 → 1.2.3

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";
1
+ import * as re from "react";
2
+ import Ge, { version as Pr, isValidElement as jr, forwardRef as Ar, useMemo as ye, memo as Xt, useState as $e, useImperativeHandle as Mr, useEffect as et, createElement as Lt, useLayoutEffect as Rt, useRef as Le, useCallback as ge } from "react";
3
3
  import $t 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 pt = { 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 kt;
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 (kt)
20
+ return He;
21
+ kt = 1;
22
+ var e = Ge, 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(d, l, c) {
24
+ var h, v = {}, E = null, z = null;
25
+ c !== void 0 && (E = "" + c), l.key !== void 0 && (E = "" + l.key), l.ref !== void 0 && (z = l.ref);
26
+ for (h in l)
27
+ n.call(l, h) && !s.hasOwnProperty(h) && (v[h] = l[h]);
28
+ if (d && d.defaultProps)
29
+ for (h in l = d.defaultProps, l)
30
+ v[h] === void 0 && (v[h] = l[h]);
31
+ return { $$typeof: t, type: d, key: E, ref: z, props: v, _owner: i.current };
32
32
  }
33
- return We.Fragment = r, We.jsx = a, We.jsxs = a, We;
33
+ return He.Fragment = r, He.jsx = a, He.jsxs = a, He;
34
34
  }
35
- var Ve = {};
35
+ var Be = {};
36
36
  /**
37
37
  * @license React
38
38
  * react-jsx-runtime.development.js
@@ -42,57 +42,57 @@ 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";
45
+ var Dt;
46
+ function Lr() {
47
+ return Dt || (Dt = 1, process.env.NODE_ENV !== "production" && function() {
48
+ var e = Ge, 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"), d = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), z = Symbol.for("react.offscreen"), A = Symbol.iterator, S = "@@iterator";
49
49
  function u(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 = A && o[A] || o[S];
53
+ return typeof f == "function" ? f : null;
54
54
  }
55
55
  var j = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
56
- function P(o) {
56
+ function T(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, b = new Array(f > 1 ? f - 1 : 0), L = 1; L < f; L++)
59
+ b[L - 1] = arguments[L];
60
+ J("error", o, b);
61
61
  }
62
62
  }
63
- function J(o, d, y) {
63
+ function J(o, f, b) {
64
64
  {
65
65
  var L = j.ReactDebugCurrentFrame, G = L.getStackAddendum();
66
- G !== "" && (d += "%s", y = y.concat([G]));
67
- var X = y.map(function(B) {
66
+ G !== "" && (f += "%s", b = b.concat([G]));
67
+ var Z = b.map(function(B) {
68
68
  return String(B);
69
69
  });
70
- X.unshift("Warning: " + d), Function.prototype.apply.call(console[o], console, X);
70
+ Z.unshift("Warning: " + f), Function.prototype.apply.call(console[o], console, Z);
71
71
  }
72
72
  }
73
- var z = !1, N = !1, D = !1, k = !1, p = !1, F;
73
+ var I = !1, N = !1, $ = !1, k = !1, p = !1, F;
74
74
  F = Symbol.for("react.module.reference");
75
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
76
+ return !!(typeof o == "string" || typeof o == "function" || o === n || o === s || p || o === i || o === c || o === h || k || o === z || I || N || $ || typeof o == "object" && o !== null && (o.$$typeof === E || o.$$typeof === v || o.$$typeof === a || o.$$typeof === d || o.$$typeof === l || // 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
80
  o.$$typeof === F || o.getModuleId !== void 0));
81
81
  }
82
- function W(o, d, y) {
82
+ function W(o, f, b) {
83
83
  var L = o.displayName;
84
84
  if (L)
85
85
  return L;
86
- var G = d.displayName || d.name || "";
87
- return G !== "" ? y + "(" + G + ")" : y;
86
+ var G = f.displayName || f.name || "";
87
+ return G !== "" ? b + "(" + G + ")" : b;
88
88
  }
89
- function H(o) {
89
+ function Y(o) {
90
90
  return o.displayName || "Context";
91
91
  }
92
- function K(o) {
92
+ function H(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" && T("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;
@@ -107,26 +107,26 @@ function $r() {
107
107
  return "StrictMode";
108
108
  case c:
109
109
  return "Suspense";
110
- case f:
110
+ case h:
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";
115
+ case d:
116
+ var f = o;
117
+ return Y(f) + ".Consumer";
118
118
  case a:
119
- var y = o;
120
- return H(y._context) + ".Provider";
119
+ var b = o;
120
+ return Y(b._context) + ".Provider";
121
121
  case l:
122
122
  return W(o, o.render, "ForwardRef");
123
- case E:
123
+ case v:
124
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;
125
+ return L !== null ? L : H(o.type) || "Memo";
126
+ case E: {
127
+ var G = o, Z = G._payload, B = G._init;
128
128
  try {
129
- return K(B(X));
129
+ return H(B(Z));
130
130
  } catch {
131
131
  return null;
132
132
  }
@@ -134,14 +134,14 @@ function $r() {
134
134
  }
135
135
  return null;
136
136
  }
137
- var re = Object.assign, he = 0, be, Te, _e, Ee, Se, v, C;
137
+ var ee = Object.assign, de = 0, be, Se, _e, pe, Oe, Te, g;
138
138
  function w() {
139
139
  }
140
140
  w.__reactDisabledLog = !0;
141
- function m() {
141
+ function _() {
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, _e = console.warn, pe = console.error, Oe = console.group, Te = console.groupCollapsed, g = console.groupEnd;
145
145
  var o = {
146
146
  configurable: !0,
147
147
  enumerable: !0,
@@ -158,79 +158,79 @@ function $r() {
158
158
  groupEnd: o
159
159
  });
160
160
  }
161
- he++;
161
+ de++;
162
162
  }
163
163
  }
164
- function g() {
164
+ function R() {
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: ee({}, o, {
174
174
  value: be
175
175
  }),
176
- info: re({}, o, {
177
- value: Te
176
+ info: ee({}, o, {
177
+ value: Se
178
178
  }),
179
- warn: re({}, o, {
179
+ warn: ee({}, o, {
180
180
  value: _e
181
181
  }),
182
- error: re({}, o, {
183
- value: Ee
182
+ error: ee({}, o, {
183
+ value: pe
184
184
  }),
185
- group: re({}, o, {
186
- value: Se
185
+ group: ee({}, o, {
186
+ value: Oe
187
187
  }),
188
- groupCollapsed: re({}, o, {
189
- value: v
188
+ groupCollapsed: ee({}, o, {
189
+ value: Te
190
190
  }),
191
- groupEnd: re({}, o, {
192
- value: C
191
+ groupEnd: ee({}, o, {
192
+ value: g
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 && T("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 m = j.ReactCurrentDispatcher, O;
200
+ function x(o, f, b) {
201
201
  {
202
- if (_ === void 0)
202
+ if (O === void 0)
203
203
  try {
204
204
  throw Error();
205
205
  } catch (G) {
206
206
  var L = G.stack.trim().match(/\n( *(at )?)/);
207
- _ = L && L[1] || "";
207
+ O = L && L[1] || "";
208
208
  }
209
209
  return `
210
- ` + _ + o;
210
+ ` + O + o;
211
211
  }
212
212
  }
213
- var S = !1, $;
213
+ var P = !1, C;
214
214
  {
215
- var Y = typeof WeakMap == "function" ? WeakMap : Map;
216
- $ = new Y();
215
+ var D = typeof WeakMap == "function" ? WeakMap : Map;
216
+ C = new D();
217
217
  }
218
- function ne(o, d) {
219
- if (!o || S)
218
+ function K(o, f) {
219
+ if (!o || P)
220
220
  return "";
221
221
  {
222
- var y = $.get(o);
223
- if (y !== void 0)
224
- return y;
222
+ var b = C.get(o);
223
+ if (b !== void 0)
224
+ return b;
225
225
  }
226
226
  var L;
227
- S = !0;
227
+ P = !0;
228
228
  var G = Error.prepareStackTrace;
229
229
  Error.prepareStackTrace = void 0;
230
- var X;
231
- X = x.current, x.current = null, m();
230
+ var Z;
231
+ Z = m.current, m.current = null, _();
232
232
  try {
233
- if (d) {
233
+ if (f) {
234
234
  var B = function() {
235
235
  throw Error();
236
236
  };
@@ -241,200 +241,200 @@ function $r() {
241
241
  }), typeof Reflect == "object" && Reflect.construct) {
242
242
  try {
243
243
  Reflect.construct(B, []);
244
- } catch (ve) {
245
- L = ve;
244
+ } catch (he) {
245
+ L = he;
246
246
  }
247
247
  Reflect.construct(o, [], B);
248
248
  } else {
249
249
  try {
250
250
  B.call();
251
- } catch (ve) {
252
- L = ve;
251
+ } catch (he) {
252
+ L = he;
253
253
  }
254
254
  o.call(B.prototype);
255
255
  }
256
256
  } else {
257
257
  try {
258
258
  throw Error();
259
- } catch (ve) {
260
- L = ve;
259
+ } catch (he) {
260
+ L = he;
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 (he) {
265
+ if (he && L && typeof he.stack == "string") {
266
+ for (var V = he.stack.split(`
267
+ `), fe = L.stack.split(`
268
+ `), oe = V.length - 1, se = fe.length - 1; oe >= 1 && se >= 0 && V[oe] !== fe[se]; )
269
+ se--;
270
+ for (; oe >= 1 && se >= 0; oe--, se--)
271
+ if (V[oe] !== fe[se]) {
272
+ if (oe !== 1 || se !== 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 (oe--, se--, se < 0 || V[oe] !== fe[se]) {
275
+ var Ee = `
276
+ ` + V[oe].replace(" at new ", " at ");
277
+ return o.displayName && Ee.includes("<anonymous>") && (Ee = Ee.replace("<anonymous>", o.displayName)), typeof o == "function" && C.set(o, Ee), Ee;
278
278
  }
279
- while (ie >= 1 && le >= 0);
279
+ while (oe >= 1 && se >= 0);
280
280
  break;
281
281
  }
282
282
  }
283
283
  } finally {
284
- S = !1, x.current = X, g(), Error.prepareStackTrace = G;
284
+ P = !1, m.current = Z, R(), Error.prepareStackTrace = G;
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 ? x(De) : "";
287
+ return typeof o == "function" && C.set(o, Ie), Ie;
288
288
  }
289
- function ee(o, d, y) {
290
- return ne(o, !1);
289
+ function ne(o, f, b) {
290
+ return K(o, !1);
291
291
  }
292
- function O(o) {
293
- var d = o.prototype;
294
- return !!(d && d.isReactComponent);
292
+ function y(o) {
293
+ var f = o.prototype;
294
+ return !!(f && f.isReactComponent);
295
295
  }
296
- function Z(o, d, y) {
296
+ function le(o, f, b) {
297
297
  if (o == null)
298
298
  return "";
299
299
  if (typeof o == "function")
300
- return ne(o, O(o));
300
+ return K(o, y(o));
301
301
  if (typeof o == "string")
302
- return R(o);
302
+ return x(o);
303
303
  switch (o) {
304
304
  case c:
305
- return R("Suspense");
306
- case f:
307
- return R("SuspenseList");
305
+ return x("Suspense");
306
+ case h:
307
+ return x("SuspenseList");
308
308
  }
309
309
  if (typeof o == "object")
310
310
  switch (o.$$typeof) {
311
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;
312
+ return ne(o.render);
313
+ case v:
314
+ return le(o.type, f, b);
315
+ case E: {
316
+ var L = o, G = L._payload, Z = L._init;
317
317
  try {
318
- return Z(X(G), d, y);
318
+ return le(Z(G), f, b);
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 X = Object.prototype.hasOwnProperty, ae = {}, ve = j.ReactDebugCurrentFrame;
326
+ function Pe(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, b = le(o.type, o._source, f ? f.type : null);
329
+ ve.setExtraStackFrame(b);
330
330
  } else
331
- $e.setExtraStackFrame(null);
331
+ ve.setExtraStackFrame(null);
332
332
  }
333
- function se(o, d, y, L, G) {
333
+ function we(o, f, b, L, G) {
334
334
  {
335
- var X = Function.call.bind(te);
335
+ var Z = Function.call.bind(X);
336
336
  for (var B in o)
337
- if (X(o, B)) {
337
+ if (Z(o, B)) {
338
338
  var V = void 0;
339
339
  try {
340
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;
341
+ var fe = Error((L || "React class") + ": " + b + " 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 fe.name = "Invariant Violation", fe;
343
343
  }
344
- V = o[B](d, B, L, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
- } catch (ie) {
346
- V = ie;
344
+ V = o[B](f, B, L, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
+ } catch (oe) {
346
+ V = oe;
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
+ V && !(V instanceof Error) && (Pe(G), T("%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", b, B, typeof V), Pe(null)), V instanceof Error && !(V.message in ae) && (ae[V.message] = !0, Pe(G), T("Failed %s type: %s", b, V.message), Pe(null));
349
349
  }
350
350
  }
351
351
  }
352
- var ae = Array.isArray;
353
- function ce(o) {
354
- return ae(o);
352
+ var ie = Array.isArray;
353
+ function te(o) {
354
+ return ie(o);
355
355
  }
356
- function je(o) {
356
+ function ue(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, b = f && o[Symbol.toStringTag] || o.constructor.name || "Object";
359
+ return b;
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 T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ue(o)), We(o);
375
375
  }
376
- var Ce = j.ReactCurrentOwner, fr = {
376
+ var je = j.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
+ }, xt, Ot, rt;
382
+ rt = {};
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 (X.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 (X.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 b = H(je.current.type);
402
+ rt[b] || (T('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', H(je.current.type), o.ref), rt[b] = !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 b = function() {
408
+ xt || (xt = !0, T("%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
+ b.isReactWarning = !0, Object.defineProperty(o, "key", {
411
+ get: b,
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 b = function() {
419
+ Ot || (Ot = !0, T("%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
+ b.isReactWarning = !0, Object.defineProperty(o, "ref", {
422
+ get: b,
423
423
  configurable: !0
424
424
  });
425
425
  }
426
426
  }
427
- var gr = function(o, d, y, L, G, X, B) {
427
+ var gr = function(o, f, b, L, G, Z, B) {
428
428
  var V = {
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,
433
+ key: f,
434
+ ref: b,
435
435
  props: B,
436
436
  // Record the component responsible for creating this element.
437
- _owner: X
437
+ _owner: Z
438
438
  };
439
439
  return V._store = {}, Object.defineProperty(V._store, "validated", {
440
440
  configurable: !1,
@@ -453,41 +453,41 @@ function $r() {
453
453
  value: G
454
454
  }), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
455
455
  };
456
- function yr(o, d, y, L, G) {
456
+ function yr(o, f, b, L, G) {
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 Z, B = {}, V = null, fe = null;
459
+ b !== void 0 && (ze(b), V = "" + b), hr(f) && (ze(f.key), V = "" + f.key), dr(f) && (fe = f.ref, pr(f, G));
460
+ for (Z in f)
461
+ X.call(f, Z) && !Ve.hasOwnProperty(Z) && (B[Z] = f[Z]);
462
462
  if (o && o.defaultProps) {
463
- var ie = o.defaultProps;
464
- for (X in ie)
465
- B[X] === void 0 && (B[X] = ie[X]);
463
+ var oe = o.defaultProps;
464
+ for (Z in oe)
465
+ B[Z] === void 0 && (B[Z] = oe[Z]);
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 (V || fe) {
468
+ var se = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
469
+ V && vr(B, se), fe && mr(B, se);
470
470
  }
471
- return gr(o, V, de, G, L, Ce.current, B);
471
+ return gr(o, V, fe, G, L, je.current, B);
472
472
  }
473
473
  }
474
- var rt = j.ReactCurrentOwner, Ot = j.ReactDebugCurrentFrame;
475
- function Le(o) {
474
+ var nt = j.ReactCurrentOwner, Tt = j.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, b = le(o.type, o._source, f ? f.type : null);
478
+ Tt.setExtraStackFrame(b);
479
479
  } else
480
- Ot.setExtraStackFrame(null);
480
+ Tt.setExtraStackFrame(null);
481
481
  }
482
- var nt;
483
- nt = !1;
484
- function ot(o) {
482
+ var ot;
483
+ ot = !1;
484
+ function it(o) {
485
485
  return typeof o == "object" && o !== null && o.$$typeof === t;
486
486
  }
487
- function Tt() {
487
+ function Pt() {
488
488
  {
489
- if (rt.current) {
490
- var o = K(rt.current.type);
489
+ if (nt.current) {
490
+ var o = H(nt.current.type);
491
491
  if (o)
492
492
  return `
493
493
 
@@ -499,162 +499,162 @@ 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(/^.*[\\\/]/, ""), b = o.lineNumber;
503
503
  return `
504
504
 
505
- Check your code at ` + d + ":" + y + ".";
505
+ Check your code at ` + f + ":" + b + ".";
506
506
  }
507
507
  return "";
508
508
  }
509
509
  }
510
- var Pt = {};
510
+ var jt = {};
511
511
  function Er(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 = Pt();
514
+ if (!f) {
515
+ var b = typeof o == "string" ? o : o.displayName || o.name;
516
+ b && (f = `
517
517
 
518
- Check the top-level render call using <` + y + ">.");
518
+ Check the top-level render call using <` + b + ">.");
519
519
  }
520
- return d;
520
+ return f;
521
521
  }
522
522
  }
523
- function jt(o, d) {
523
+ function At(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 b = Er(f);
529
+ if (jt[b])
530
530
  return;
531
- Pt[y] = !0;
531
+ jt[b] = !0;
532
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);
533
+ o && o._owner && o._owner !== nt.current && (L = " It was passed a child from " + H(o._owner.type) + "."), ke(o), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, L), ke(null);
534
534
  }
535
535
  }
536
- function At(o, d) {
536
+ function Mt(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 (te(o))
541
+ for (var b = 0; b < o.length; b++) {
542
+ var L = o[b];
543
+ it(L) && At(L, f);
544
544
  }
545
- else if (ot(o))
545
+ else if (it(o))
546
546
  o._store && (o._store.validated = !0);
547
547
  else if (o) {
548
548
  var G = u(o);
549
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);
550
+ for (var Z = G.call(o), B; !(B = Z.next()).done; )
551
+ it(B.value) && At(B.value, f);
552
552
  }
553
553
  }
554
554
  }
555
555
  function wr(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 b;
561
+ if (typeof f == "function")
562
+ b = f.propTypes;
563
+ else if (typeof f == "object" && (f.$$typeof === l || // 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 === v))
566
+ b = 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 (b) {
570
+ var L = H(f);
571
+ we(b, o.props, "prop", L, o);
572
+ } else if (f.PropTypes !== void 0 && !ot) {
573
+ ot = !0;
574
+ var G = H(f);
575
+ T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "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 && T("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];
582
+ for (var f = Object.keys(o.props), b = 0; b < f.length; b++) {
583
+ var L = f[b];
584
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);
585
+ ke(o), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", L), 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), T("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 zt = {};
593
+ function It(o, f, b, L, G, Z) {
594
594
  {
595
595
  var B = M(o);
596
596
  if (!B) {
597
597
  var V = "";
598
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();
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);
599
+ var fe = br(G);
600
+ fe ? V += fe : V += Pt();
601
+ var oe;
602
+ o === null ? oe = "null" : te(o) ? oe = "array" : o !== void 0 && o.$$typeof === t ? (oe = "<" + (H(o.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : oe = typeof o, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", oe, V);
603
603
  }
604
- var le = yr(o, d, y, G, X);
605
- if (le == null)
606
- return le;
604
+ var se = yr(o, f, b, G, Z);
605
+ if (se == null)
606
+ return se;
607
607
  if (B) {
608
- var we = d.children;
609
- if (we !== void 0)
608
+ var Ee = f.children;
609
+ if (Ee !== void 0)
610
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);
611
+ if (te(Ee)) {
612
+ for (var De = 0; De < Ee.length; De++)
613
+ Mt(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
+ T("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
+ Mt(Ee, o);
619
619
  }
620
- if (te.call(d, "key")) {
621
- var Me = K(o), ve = Object.keys(d).filter(function(Tr) {
620
+ if (X.call(f, "key")) {
621
+ var Ie = H(o), he = 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
+ }), st = he.length > 0 ? "{key: someKey, " + he.join(": ..., ") + ": ...}" : "{key: someKey}";
624
+ if (!zt[Ie + st]) {
625
+ var Or = he.length > 0 ? "{" + he.join(": ..., ") + ": ...}" : "{}";
626
+ T(`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} />`, st, Ie, Or, Ie), zt[Ie + st] = !0;
632
632
  }
633
633
  }
634
- return o === n ? _r(le) : wr(le), le;
634
+ return o === n ? _r(se) : wr(se), se;
635
635
  }
636
636
  }
637
- function Rr(o, d, y) {
638
- return zt(o, d, y, !0);
637
+ function Rr(o, f, b) {
638
+ return It(o, f, b, !0);
639
639
  }
640
- function Sr(o, d, y) {
641
- return zt(o, d, y, !1);
640
+ function Sr(o, f, b) {
641
+ return It(o, f, b, !1);
642
642
  }
643
643
  var Cr = Sr, xr = Rr;
644
- Ve.Fragment = n, Ve.jsx = Cr, Ve.jsxs = xr;
645
- }()), Ve;
644
+ Be.Fragment = n, Be.jsx = Cr, Be.jsxs = xr;
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" ? pt.exports = Ir() : pt.exports = Lr();
648
+ var Q = pt.exports;
649
+ function vt() {
650
+ return vt = Object.assign ? Object.assign.bind() : function(e) {
651
651
  for (var t = 1; t < arguments.length; t++) {
652
652
  var r = arguments[t];
653
653
  for (var n in r)
654
654
  ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
655
655
  }
656
656
  return e;
657
- }, pt.apply(null, arguments);
657
+ }, vt.apply(null, arguments);
658
658
  }
659
659
  function Re(e) {
660
660
  "@babel/helpers - typeof";
@@ -664,23 +664,23 @@ function Re(e) {
664
664
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
665
665
  }, Re(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
671
  e && Re(e) === "object" && // React Element type
672
- (e.$$typeof === Lr || e.$$typeof === kr) && // React Fragment type
672
+ (e.$$typeof === $r || e.$$typeof === kr) && // React Fragment type
673
673
  e.type === Dr
674
674
  );
675
675
  }
676
- function vt(e) {
676
+ function mt(e) {
677
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));
678
+ return Ge.Children.forEach(e, function(n) {
679
+ n == null && !t.keepEmpty || (Array.isArray(n) ? r = r.concat(mt(n)) : Zt(n) && n.props ? r = r.concat(mt(n.props.children, t)) : r.push(n));
680
680
  }), r;
681
681
  }
682
682
  var Fr = [];
683
- function Dt(e, t) {
683
+ function Ft(e, t) {
684
684
  if (process.env.NODE_ENV !== "production" && !e && console !== void 0)
685
685
  var r = Fr.reduce(function(n, i) {
686
686
  return i(n ?? "", "warning");
@@ -698,19 +698,19 @@ function Nr(e, t) {
698
698
  }
699
699
  return (t === "string" ? String : Number)(e);
700
700
  }
701
- function Zt(e) {
701
+ function Qt(e) {
702
702
  var t = Nr(e, "string");
703
703
  return Re(t) == "symbol" ? t : t + "";
704
704
  }
705
705
  function Wr(e, t, r) {
706
- return (t = Zt(t)) in e ? Object.defineProperty(e, t, {
706
+ return (t = Qt(t)) in e ? Object.defineProperty(e, t, {
707
707
  value: r,
708
708
  enumerable: !0,
709
709
  configurable: !0,
710
710
  writable: !0
711
711
  }) : e[t] = r, e;
712
712
  }
713
- function Ft(e, t) {
713
+ function Nt(e, t) {
714
714
  var r = Object.keys(e);
715
715
  if (Object.getOwnPropertySymbols) {
716
716
  var n = Object.getOwnPropertySymbols(e);
@@ -720,34 +720,34 @@ function Ft(e, t) {
720
720
  }
721
721
  return r;
722
722
  }
723
- function Nt(e) {
723
+ function Wt(e) {
724
724
  for (var t = 1; t < arguments.length; t++) {
725
725
  var r = arguments[t] != null ? arguments[t] : {};
726
- t % 2 ? Ft(Object(r), !0).forEach(function(n) {
726
+ t % 2 ? Nt(Object(r), !0).forEach(function(n) {
727
727
  Wr(e, n, r[n]);
728
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ft(Object(r)).forEach(function(n) {
728
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Nt(Object(r)).forEach(function(n) {
729
729
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
730
730
  });
731
731
  }
732
732
  return e;
733
733
  }
734
- function Wt(e) {
734
+ function Vt(e) {
735
735
  return e instanceof HTMLElement || e instanceof SVGElement;
736
736
  }
737
737
  function Vr(e) {
738
- return e && Re(e) === "object" && Wt(e.nativeElement) ? e.nativeElement : Wt(e) ? e : null;
738
+ return e && Re(e) === "object" && Vt(e.nativeElement) ? e.nativeElement : Vt(e) ? e : null;
739
739
  }
740
- function st(e) {
740
+ function at(e) {
741
741
  var t = Vr(e);
742
742
  if (t)
743
743
  return t;
744
- if (e instanceof Ye.Component) {
744
+ if (e instanceof Ge.Component) {
745
745
  var r;
746
746
  return (r = $t.findDOMNode) === null || r === void 0 ? void 0 : r.call($t, e);
747
747
  }
748
748
  return null;
749
749
  }
750
- var mt = { exports: {} }, U = {};
750
+ var gt = { exports: {} }, U = {};
751
751
  /**
752
752
  * @license React
753
753
  * react-is.production.min.js
@@ -757,14 +757,14 @@ var mt = { exports: {} }, U = {};
757
757
  * This source code is licensed under the MIT license found in the
758
758
  * LICENSE file in the root directory of this source tree.
759
759
  */
760
- var Vt;
760
+ var Ht;
761
761
  function Hr() {
762
- if (Vt)
762
+ if (Ht)
763
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;
764
+ Ht = 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"), d = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), z = Symbol.for("react.offscreen"), A;
766
766
  A = Symbol.for("react.module.reference");
767
- function T(u) {
767
+ function S(u) {
768
768
  if (typeof u == "object" && u !== null) {
769
769
  var j = u.$$typeof;
770
770
  switch (j) {
@@ -774,15 +774,15 @@ function Hr() {
774
774
  case i:
775
775
  case n:
776
776
  case c:
777
- case f:
777
+ case h:
778
778
  return u;
779
779
  default:
780
780
  switch (u = u && u.$$typeof, u) {
781
- case h:
781
+ case d:
782
782
  case a:
783
783
  case l:
784
- case b:
785
784
  case E:
785
+ case v:
786
786
  case s:
787
787
  return u;
788
788
  default:
@@ -794,37 +794,37 @@ function Hr() {
794
794
  }
795
795
  }
796
796
  }
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() {
797
+ return U.ContextConsumer = a, U.ContextProvider = s, U.Element = e, U.ForwardRef = l, U.Fragment = r, U.Lazy = E, U.Memo = v, U.Portal = t, U.Profiler = i, U.StrictMode = n, U.Suspense = c, U.SuspenseList = h, U.isAsyncMode = function() {
798
798
  return !1;
799
799
  }, U.isConcurrentMode = function() {
800
800
  return !1;
801
801
  }, U.isContextConsumer = function(u) {
802
- return T(u) === a;
802
+ return S(u) === a;
803
803
  }, U.isContextProvider = function(u) {
804
- return T(u) === s;
804
+ return S(u) === s;
805
805
  }, U.isElement = function(u) {
806
806
  return typeof u == "object" && u !== null && u.$$typeof === e;
807
807
  }, U.isForwardRef = function(u) {
808
- return T(u) === l;
808
+ return S(u) === l;
809
809
  }, U.isFragment = function(u) {
810
- return T(u) === r;
810
+ return S(u) === r;
811
811
  }, U.isLazy = function(u) {
812
- return T(u) === b;
812
+ return S(u) === E;
813
813
  }, U.isMemo = function(u) {
814
- return T(u) === E;
814
+ return S(u) === v;
815
815
  }, U.isPortal = function(u) {
816
- return T(u) === t;
816
+ return S(u) === t;
817
817
  }, U.isProfiler = function(u) {
818
- return T(u) === i;
818
+ return S(u) === i;
819
819
  }, U.isStrictMode = function(u) {
820
- return T(u) === n;
820
+ return S(u) === n;
821
821
  }, U.isSuspense = function(u) {
822
- return T(u) === c;
822
+ return S(u) === c;
823
823
  }, U.isSuspenseList = function(u) {
824
- return T(u) === f;
824
+ return S(u) === h;
825
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;
826
+ return typeof u == "string" || typeof u == "function" || u === r || u === i || u === n || u === c || u === h || u === z || typeof u == "object" && u !== null && (u.$$typeof === E || u.$$typeof === v || u.$$typeof === s || u.$$typeof === a || u.$$typeof === l || u.$$typeof === A || u.getModuleId !== void 0);
827
+ }, U.typeOf = S, U;
828
828
  }
829
829
  var q = {};
830
830
  /**
@@ -836,100 +836,100 @@ var q = {};
836
836
  * This source code is licensed under the MIT license found in the
837
837
  * LICENSE file in the root directory of this source tree.
838
838
  */
839
- var Ht;
839
+ var Bt;
840
840
  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;
841
+ return Bt || (Bt = 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"), d = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), z = Symbol.for("react.offscreen"), A = !1, S = !1, u = !1, j = !1, T = !1, J;
843
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
844
+ function I(y) {
845
+ return !!(typeof y == "string" || typeof y == "function" || y === r || y === i || T || y === n || y === c || y === h || j || y === z || A || S || u || typeof y == "object" && y !== null && (y.$$typeof === E || y.$$typeof === v || y.$$typeof === s || y.$$typeof === a || y.$$typeof === l || // This needs to include all possible module reference object
846
846
  // types supported by any Flight configuration anywhere since
847
847
  // we don't know which Flight build this will end up being used
848
848
  // with.
849
- O.$$typeof === J || O.getModuleId !== void 0));
849
+ y.$$typeof === J || y.getModuleId !== void 0));
850
850
  }
851
- function N(O) {
852
- if (typeof O == "object" && O !== null) {
853
- var Z = O.$$typeof;
854
- switch (Z) {
851
+ function N(y) {
852
+ if (typeof y == "object" && y !== null) {
853
+ var le = y.$$typeof;
854
+ switch (le) {
855
855
  case e:
856
- var te = O.type;
857
- switch (te) {
856
+ var X = y.type;
857
+ switch (X) {
858
858
  case r:
859
859
  case i:
860
860
  case n:
861
861
  case c:
862
- case f:
863
- return te;
862
+ case h:
863
+ return X;
864
864
  default:
865
- var fe = te && te.$$typeof;
866
- switch (fe) {
867
- case h:
865
+ var ae = X && X.$$typeof;
866
+ switch (ae) {
867
+ case d:
868
868
  case a:
869
869
  case l:
870
- case b:
871
870
  case E:
871
+ case v:
872
872
  case s:
873
- return fe;
873
+ return ae;
874
874
  default:
875
- return Z;
875
+ return le;
876
876
  }
877
877
  }
878
878
  case t:
879
- return Z;
879
+ return le;
880
880
  }
881
881
  }
882
882
  }
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) {
883
+ var $ = a, k = s, p = e, F = l, M = r, W = E, Y = v, H = t, ee = i, de = n, be = c, Se = h, _e = !1, pe = !1;
884
+ function Oe(y) {
885
885
  return _e || (_e = !0), !1;
886
886
  }
887
- function v(O) {
888
- return Ee || (Ee = !0), !1;
887
+ function Te(y) {
888
+ return pe || (pe = !0), !1;
889
889
  }
890
- function C(O) {
891
- return N(O) === a;
890
+ function g(y) {
891
+ return N(y) === a;
892
892
  }
893
- function w(O) {
894
- return N(O) === s;
893
+ function w(y) {
894
+ return N(y) === s;
895
895
  }
896
- function m(O) {
897
- return typeof O == "object" && O !== null && O.$$typeof === e;
896
+ function _(y) {
897
+ return typeof y == "object" && y !== null && y.$$typeof === e;
898
898
  }
899
- function g(O) {
900
- return N(O) === l;
899
+ function R(y) {
900
+ return N(y) === l;
901
901
  }
902
- function x(O) {
903
- return N(O) === r;
902
+ function m(y) {
903
+ return N(y) === r;
904
904
  }
905
- function _(O) {
906
- return N(O) === b;
905
+ function O(y) {
906
+ return N(y) === E;
907
907
  }
908
- function R(O) {
909
- return N(O) === E;
908
+ function x(y) {
909
+ return N(y) === v;
910
910
  }
911
- function S(O) {
912
- return N(O) === t;
911
+ function P(y) {
912
+ return N(y) === t;
913
913
  }
914
- function $(O) {
915
- return N(O) === i;
914
+ function C(y) {
915
+ return N(y) === i;
916
916
  }
917
- function Y(O) {
918
- return N(O) === n;
917
+ function D(y) {
918
+ return N(y) === n;
919
919
  }
920
- function ne(O) {
921
- return N(O) === c;
920
+ function K(y) {
921
+ return N(y) === c;
922
922
  }
923
- function ee(O) {
924
- return N(O) === f;
923
+ function ne(y) {
924
+ return N(y) === h;
925
925
  }
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;
926
+ q.ContextConsumer = $, q.ContextProvider = k, q.Element = p, q.ForwardRef = F, q.Fragment = M, q.Lazy = W, q.Memo = Y, q.Portal = H, q.Profiler = ee, q.StrictMode = de, q.Suspense = be, q.SuspenseList = Se, q.isAsyncMode = Oe, q.isConcurrentMode = Te, q.isContextConsumer = g, q.isContextProvider = w, q.isElement = _, q.isForwardRef = R, q.isFragment = m, q.isLazy = O, q.isMemo = x, q.isPortal = P, q.isProfiler = C, q.isStrictMode = D, q.isSuspense = K, q.isSuspenseList = ne, q.isValidElementType = I, q.typeOf = N;
927
927
  }()), q;
928
928
  }
929
- process.env.NODE_ENV === "production" ? mt.exports = Hr() : mt.exports = Br();
930
- var at = mt.exports;
929
+ process.env.NODE_ENV === "production" ? gt.exports = Hr() : gt.exports = Br();
930
+ var lt = gt.exports;
931
931
  function Yr(e, t, r) {
932
- var n = oe.useRef({});
932
+ var n = re.useRef({});
933
933
  return (!("value" in n.current) || r(n.current.condition, t)) && (n.current.value = e(), n.current.condition = t), n.current.value;
934
934
  }
935
935
  var Kr = Number(Pr.split(".")[0]), Gr = function(t, r) {
@@ -949,46 +949,46 @@ var Kr = Number(Pr.split(".")[0]), Gr = function(t, r) {
949
949
  return Yr(function() {
950
950
  return Ur.apply(void 0, r);
951
951
  }, r, function(i, s) {
952
- return i.length !== s.length || i.every(function(a, h) {
953
- return a !== s[h];
952
+ return i.length !== s.length || i.every(function(a, d) {
953
+ return a !== s[d];
954
954
  });
955
955
  });
956
956
  }, Jr = function(t) {
957
957
  var r, n;
958
958
  if (!t)
959
959
  return !1;
960
- if (Qt(t) && Kr >= 19)
960
+ if (er(t) && Kr >= 19)
961
961
  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);
962
+ var i = lt.isMemo(t) ? t.type.type : t.type;
963
+ return !(typeof i == "function" && !((r = i.prototype) !== null && r !== void 0 && r.render) && i.$$typeof !== lt.ForwardRef || typeof t == "function" && !((n = t.prototype) !== null && n !== void 0 && n.render) && t.$$typeof !== lt.ForwardRef);
964
964
  };
965
- function Qt(e) {
966
- return /* @__PURE__ */ jr(e) && !Xt(e);
965
+ function er(e) {
966
+ return /* @__PURE__ */ jr(e) && !Zt(e);
967
967
  }
968
968
  var Xr = function(t) {
969
- if (t && Qt(t)) {
969
+ if (t && er(t)) {
970
970
  var r = t;
971
971
  return r.props.propertyIsEnumerable("ref") ? r.props.ref : r.ref;
972
972
  }
973
973
  return null;
974
- }, gt = /* @__PURE__ */ oe.createContext(null);
974
+ }, yt = /* @__PURE__ */ re.createContext(null);
975
975
  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) {
976
+ var t = e.children, r = e.onBatchResize, n = re.useRef(0), i = re.useRef([]), s = re.useContext(yt), a = re.useCallback(function(d, l, c) {
977
977
  n.current += 1;
978
- var f = n.current;
978
+ var h = n.current;
979
979
  i.current.push({
980
- size: h,
980
+ size: d,
981
981
  element: l,
982
982
  data: c
983
983
  }), Promise.resolve().then(function() {
984
- f === n.current && (r == null || r(i.current), i.current = []);
985
- }), s == null || s(h, l, c);
984
+ h === n.current && (r == null || r(i.current), i.current = []);
985
+ }), s == null || s(d, l, c);
986
986
  }, [r, s]);
987
- return /* @__PURE__ */ oe.createElement(gt.Provider, {
987
+ return /* @__PURE__ */ re.createElement(yt.Provider, {
988
988
  value: a
989
989
  }, t);
990
990
  }
991
- var er = function() {
991
+ var tr = function() {
992
992
  if (typeof Map < "u")
993
993
  return Map;
994
994
  function e(t, r) {
@@ -1034,10 +1034,10 @@ var er = function() {
1034
1034
  }, t;
1035
1035
  }()
1036
1036
  );
1037
- }(), yt = typeof window < "u" && typeof document < "u" && window.document === document, Ue = function() {
1037
+ }(), bt = typeof window < "u" && typeof document < "u" && window.document === document, qe = function() {
1038
1038
  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
1039
  }(), Qr = function() {
1040
- return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(Ue) : function(e) {
1040
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(qe) : function(e) {
1041
1041
  return setTimeout(function() {
1042
1042
  return e(Date.now());
1043
1043
  }, 1e3 / 60);
@@ -1046,12 +1046,12 @@ var er = function() {
1046
1046
  function tn(e, t) {
1047
1047
  var r = !1, n = !1, i = 0;
1048
1048
  function s() {
1049
- r && (r = !1, e()), n && h();
1049
+ r && (r = !1, e()), n && d();
1050
1050
  }
1051
1051
  function a() {
1052
1052
  Qr(s);
1053
1053
  }
1054
- function h() {
1054
+ function d() {
1055
1055
  var l = Date.now();
1056
1056
  if (r) {
1057
1057
  if (l - i < en)
@@ -1061,7 +1061,7 @@ function tn(e, t) {
1061
1061
  r = !0, n = !1, setTimeout(a, t);
1062
1062
  i = l;
1063
1063
  }
1064
- return h;
1064
+ return d;
1065
1065
  }
1066
1066
  var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], on = typeof MutationObserver < "u", sn = (
1067
1067
  /** @class */
@@ -1085,14 +1085,14 @@ var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size",
1085
1085
  return r.broadcastActive();
1086
1086
  }), t.length > 0;
1087
1087
  }, 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, {
1088
+ !bt || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), on ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
1089
1089
  attributes: !0,
1090
1090
  childList: !0,
1091
1091
  characterData: !0,
1092
1092
  subtree: !0
1093
1093
  })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
1094
1094
  }, 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);
1095
+ !bt || !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
1096
  }, e.prototype.onTransitionEnd_ = function(t) {
1097
1097
  var r = t.propertyName, n = r === void 0 ? "" : r, i = nn.some(function(s) {
1098
1098
  return !!~n.indexOf(s);
@@ -1102,7 +1102,7 @@ var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size",
1102
1102
  return this.instance_ || (this.instance_ = new e()), this.instance_;
1103
1103
  }, e.instance_ = null, e;
1104
1104
  }()
1105
- ), tr = function(e, t) {
1105
+ ), rr = function(e, t) {
1106
1106
  for (var r = 0, n = Object.keys(t); r < n.length; r++) {
1107
1107
  var i = n[r];
1108
1108
  Object.defineProperty(e, i, {
@@ -1113,59 +1113,59 @@ var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size",
1113
1113
  });
1114
1114
  }
1115
1115
  return e;
1116
- }, Fe = function(e) {
1116
+ }, Ne = function(e) {
1117
1117
  var t = e && e.ownerDocument && e.ownerDocument.defaultView;
1118
- return t || Ue;
1119
- }, rr = et(0, 0, 0, 0);
1120
- function qe(e) {
1118
+ return t || qe;
1119
+ }, nr = tt(0, 0, 0, 0);
1120
+ function Je(e) {
1121
1121
  return parseFloat(e) || 0;
1122
1122
  }
1123
- function Bt(e) {
1123
+ function Yt(e) {
1124
1124
  for (var t = [], r = 1; r < arguments.length; r++)
1125
1125
  t[r - 1] = arguments[r];
1126
1126
  return t.reduce(function(n, i) {
1127
1127
  var s = e["border-" + i + "-width"];
1128
- return n + qe(s);
1128
+ return n + Je(s);
1129
1129
  }, 0);
1130
1130
  }
1131
1131
  function an(e) {
1132
1132
  for (var t = ["top", "right", "bottom", "left"], r = {}, n = 0, i = t; n < i.length; n++) {
1133
1133
  var s = i[n], a = e["padding-" + s];
1134
- r[s] = qe(a);
1134
+ r[s] = Je(a);
1135
1135
  }
1136
1136
  return r;
1137
1137
  }
1138
1138
  function ln(e) {
1139
1139
  var t = e.getBBox();
1140
- return et(0, 0, t.width, t.height);
1140
+ return tt(0, 0, t.width, t.height);
1141
1141
  }
1142
1142
  function cn(e) {
1143
1143
  var t = e.clientWidth, r = e.clientHeight;
1144
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
+ return nr;
1146
+ var n = Ne(e).getComputedStyle(e), i = an(n), s = i.left + i.right, a = i.top + i.bottom, d = Je(n.width), l = Je(n.height);
1147
+ if (n.boxSizing === "border-box" && (Math.round(d + s) !== t && (d -= Yt(n, "left", "right") + s), Math.round(l + a) !== r && (l -= Yt(n, "top", "bottom") + a)), !fn(e)) {
1148
+ var c = Math.round(d + s) - t, h = Math.round(l + a) - r;
1149
+ Math.abs(c) !== 1 && (d -= c), Math.abs(h) !== 1 && (l -= h);
1150
1150
  }
1151
- return et(i.left, i.top, h, l);
1151
+ return tt(i.left, i.top, d, l);
1152
1152
  }
1153
1153
  var un = function() {
1154
1154
  return typeof SVGGraphicsElement < "u" ? function(e) {
1155
- return e instanceof Fe(e).SVGGraphicsElement;
1155
+ return e instanceof Ne(e).SVGGraphicsElement;
1156
1156
  } : function(e) {
1157
- return e instanceof Fe(e).SVGElement && typeof e.getBBox == "function";
1157
+ return e instanceof Ne(e).SVGElement && typeof e.getBBox == "function";
1158
1158
  };
1159
1159
  }();
1160
1160
  function fn(e) {
1161
- return e === Fe(e).document.documentElement;
1161
+ return e === Ne(e).document.documentElement;
1162
1162
  }
1163
1163
  function dn(e) {
1164
- return yt ? un(e) ? ln(e) : cn(e) : rr;
1164
+ return bt ? un(e) ? ln(e) : cn(e) : nr;
1165
1165
  }
1166
1166
  function hn(e) {
1167
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, {
1168
+ return rr(a, {
1169
1169
  x: t,
1170
1170
  y: r,
1171
1171
  width: n,
@@ -1176,14 +1176,14 @@ function hn(e) {
1176
1176
  left: t
1177
1177
  }), a;
1178
1178
  }
1179
- function et(e, t, r, n) {
1179
+ function tt(e, t, r, n) {
1180
1180
  return { x: e, y: t, width: r, height: n };
1181
1181
  }
1182
1182
  var pn = (
1183
1183
  /** @class */
1184
1184
  function() {
1185
1185
  function e(t) {
1186
- this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = et(0, 0, 0, 0), this.target = t;
1186
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = tt(0, 0, 0, 0), this.target = t;
1187
1187
  }
1188
1188
  return e.prototype.isActive = function() {
1189
1189
  var t = dn(this.target);
@@ -1198,7 +1198,7 @@ var pn = (
1198
1198
  function() {
1199
1199
  function e(t, r) {
1200
1200
  var n = hn(r);
1201
- tr(this, { target: t, contentRect: n });
1201
+ rr(this, { target: t, contentRect: n });
1202
1202
  }
1203
1203
  return e;
1204
1204
  }()
@@ -1206,7 +1206,7 @@ var pn = (
1206
1206
  /** @class */
1207
1207
  function() {
1208
1208
  function e(t, r, n) {
1209
- if (this.activeObservations_ = [], this.observations_ = new er(), typeof t != "function")
1209
+ if (this.activeObservations_ = [], this.observations_ = new tr(), typeof t != "function")
1210
1210
  throw new TypeError("The callback provided as parameter 1 is not a function.");
1211
1211
  this.callback_ = t, this.controller_ = r, this.callbackCtx_ = n;
1212
1212
  }
@@ -1214,7 +1214,7 @@ var pn = (
1214
1214
  if (!arguments.length)
1215
1215
  throw new TypeError("1 argument required, but only 0 present.");
1216
1216
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
1217
- if (!(t instanceof Fe(t).Element))
1217
+ if (!(t instanceof Ne(t).Element))
1218
1218
  throw new TypeError('parameter 1 is not of type "Element".');
1219
1219
  var r = this.observations_;
1220
1220
  r.has(t) || (r.set(t, new pn(t)), this.controller_.addObserver(this), this.controller_.refresh());
@@ -1223,7 +1223,7 @@ var pn = (
1223
1223
  if (!arguments.length)
1224
1224
  throw new TypeError("1 argument required, but only 0 present.");
1225
1225
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
1226
- if (!(t instanceof Fe(t).Element))
1226
+ if (!(t instanceof Ne(t).Element))
1227
1227
  throw new TypeError('parameter 1 is not of type "Element".');
1228
1228
  var r = this.observations_;
1229
1229
  r.has(t) && (r.delete(t), r.size || this.controller_.removeObserver(this));
@@ -1248,7 +1248,7 @@ var pn = (
1248
1248
  return this.activeObservations_.length > 0;
1249
1249
  }, e;
1250
1250
  }()
1251
- ), nr = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new er(), or = (
1251
+ ), or = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new tr(), ir = (
1252
1252
  /** @class */
1253
1253
  function() {
1254
1254
  function e(t) {
@@ -1257,7 +1257,7 @@ var pn = (
1257
1257
  if (!arguments.length)
1258
1258
  throw new TypeError("1 argument required, but only 0 present.");
1259
1259
  var r = sn.getInstance(), n = new mn(t, r, this);
1260
- nr.set(this, n);
1260
+ or.set(this, n);
1261
1261
  }
1262
1262
  return e;
1263
1263
  }()
@@ -1267,50 +1267,50 @@ var pn = (
1267
1267
  "unobserve",
1268
1268
  "disconnect"
1269
1269
  ].forEach(function(e) {
1270
- or.prototype[e] = function() {
1270
+ ir.prototype[e] = function() {
1271
1271
  var t;
1272
- return (t = nr.get(this))[e].apply(t, arguments);
1272
+ return (t = or.get(this))[e].apply(t, arguments);
1273
1273
  };
1274
1274
  });
1275
1275
  var gn = function() {
1276
- return typeof Ue.ResizeObserver < "u" ? Ue.ResizeObserver : or;
1277
- }(), Oe = /* @__PURE__ */ new Map();
1278
- function ir(e) {
1276
+ return typeof qe.ResizeObserver < "u" ? qe.ResizeObserver : ir;
1277
+ }(), xe = /* @__PURE__ */ new Map();
1278
+ function sr(e) {
1279
1279
  e.forEach(function(t) {
1280
1280
  var r, n = t.target;
1281
- (r = Oe.get(n)) === null || r === void 0 || r.forEach(function(i) {
1281
+ (r = xe.get(n)) === null || r === void 0 || r.forEach(function(i) {
1282
1282
  return i(n);
1283
1283
  });
1284
1284
  });
1285
1285
  }
1286
- var sr = new gn(ir);
1286
+ var ar = new gn(sr);
1287
1287
  process.env.NODE_ENV;
1288
1288
  process.env.NODE_ENV;
1289
1289
  function yn(e, t) {
1290
- Oe.has(e) || (Oe.set(e, /* @__PURE__ */ new Set()), sr.observe(e)), Oe.get(e).add(t);
1290
+ xe.has(e) || (xe.set(e, /* @__PURE__ */ new Set()), ar.observe(e)), xe.get(e).add(t);
1291
1291
  }
1292
1292
  function bn(e, t) {
1293
- Oe.has(e) && (Oe.get(e).delete(t), Oe.get(e).size || (sr.unobserve(e), Oe.delete(e)));
1293
+ xe.has(e) && (xe.get(e).delete(t), xe.get(e).size || (ar.unobserve(e), xe.delete(e)));
1294
1294
  }
1295
1295
  function En(e, t) {
1296
1296
  if (!(e instanceof t))
1297
1297
  throw new TypeError("Cannot call a class as a function");
1298
1298
  }
1299
- function Yt(e, t) {
1299
+ function Kt(e, t) {
1300
1300
  for (var r = 0; r < t.length; r++) {
1301
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);
1302
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Qt(n.key), n);
1303
1303
  }
1304
1304
  }
1305
1305
  function wn(e, t, r) {
1306
- return t && Yt(e.prototype, t), r && Yt(e, r), Object.defineProperty(e, "prototype", {
1306
+ return t && Kt(e.prototype, t), r && Kt(e, r), Object.defineProperty(e, "prototype", {
1307
1307
  writable: !1
1308
1308
  }), e;
1309
1309
  }
1310
- function bt(e, t) {
1311
- return bt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
1310
+ function Et(e, t) {
1311
+ return Et = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
1312
1312
  return r.__proto__ = n, r;
1313
- }, bt(e, t);
1313
+ }, Et(e, t);
1314
1314
  }
1315
1315
  function _n(e, t) {
1316
1316
  if (typeof t != "function" && t !== null)
@@ -1323,20 +1323,20 @@ function _n(e, t) {
1323
1323
  }
1324
1324
  }), Object.defineProperty(e, "prototype", {
1325
1325
  writable: !1
1326
- }), t && bt(e, t);
1326
+ }), t && Et(e, t);
1327
1327
  }
1328
- function Je(e) {
1329
- return Je = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
1328
+ function Xe(e) {
1329
+ return Xe = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
1330
1330
  return t.__proto__ || Object.getPrototypeOf(t);
1331
- }, Je(e);
1331
+ }, Xe(e);
1332
1332
  }
1333
- function ar() {
1333
+ function lr() {
1334
1334
  try {
1335
1335
  var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
1336
1336
  }));
1337
1337
  } catch {
1338
1338
  }
1339
- return (ar = function() {
1339
+ return (lr = function() {
1340
1340
  return !!e;
1341
1341
  })();
1342
1342
  }
@@ -1353,11 +1353,11 @@ function Sn(e, t) {
1353
1353
  return Rn(e);
1354
1354
  }
1355
1355
  function Cn(e) {
1356
- var t = ar();
1356
+ var t = lr();
1357
1357
  return function() {
1358
- var r, n = Je(e);
1358
+ var r, n = Xe(e);
1359
1359
  if (t) {
1360
- var i = Je(this).constructor;
1360
+ var i = Xe(this).constructor;
1361
1361
  r = Reflect.construct(n, arguments, i);
1362
1362
  } else
1363
1363
  r = n.apply(this, arguments);
@@ -1376,25 +1376,25 @@ var xn = /* @__PURE__ */ function(e) {
1376
1376
  return this.props.children;
1377
1377
  }
1378
1378
  }]), r;
1379
- }(oe.Component);
1379
+ }(re.Component);
1380
1380
  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({
1381
+ var r = e.children, n = e.disabled, i = re.useRef(null), s = re.useRef(null), a = re.useContext(yt), d = typeof r == "function", l = d ? r(i) : r, c = re.useRef({
1382
1382
  width: -1,
1383
1383
  height: -1,
1384
1384
  offsetWidth: -1,
1385
1385
  offsetHeight: -1
1386
- }), f = !h && /* @__PURE__ */ oe.isValidElement(l) && Jr(l), E = f ? Xr(l) : null, b = qr(E, i), I = function() {
1386
+ }), h = !d && /* @__PURE__ */ re.isValidElement(l) && Jr(l), v = h ? Xr(l) : null, E = qr(v, i), z = function() {
1387
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
+ return at(i.current) || // Support `nativeElement` format
1389
+ (i.current && Re(i.current) === "object" ? at((j = i.current) === null || j === void 0 ? void 0 : j.nativeElement) : null) || at(s.current);
1390
1390
  };
1391
- oe.useImperativeHandle(t, function() {
1392
- return I();
1391
+ re.useImperativeHandle(t, function() {
1392
+ return z();
1393
1393
  });
1394
- var A = oe.useRef(e);
1394
+ var A = re.useRef(e);
1395
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);
1396
+ var S = re.useCallback(function(u) {
1397
+ var j = A.current, T = j.onResize, J = j.data, I = u.getBoundingClientRect(), N = I.width, $ = I.height, k = u.offsetWidth, p = u.offsetHeight, F = Math.floor(N), M = Math.floor($);
1398
1398
  if (c.current.width !== F || c.current.height !== M || c.current.offsetWidth !== k || c.current.offsetHeight !== p) {
1399
1399
  var W = {
1400
1400
  width: F,
@@ -1403,43 +1403,43 @@ function On(e, t) {
1403
1403
  offsetHeight: p
1404
1404
  };
1405
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
- offsetWidth: H,
1408
- offsetHeight: K
1406
+ var Y = k === Math.round(N) ? N : k, H = p === Math.round($) ? $ : p, ee = Wt(Wt({}, W), {}, {
1407
+ offsetWidth: Y,
1408
+ offsetHeight: H
1409
1409
  });
1410
- a == null || a(re, u, J), P && Promise.resolve().then(function() {
1411
- P(re, u);
1410
+ a == null || a(ee, u, J), T && Promise.resolve().then(function() {
1411
+ T(ee, u);
1412
1412
  });
1413
1413
  }
1414
1414
  }, []);
1415
- return oe.useEffect(function() {
1416
- var u = I();
1417
- return u && !n && yn(u, T), function() {
1418
- return bn(u, T);
1415
+ return re.useEffect(function() {
1416
+ var u = z();
1417
+ return u && !n && yn(u, S), function() {
1418
+ return bn(u, S);
1419
1419
  };
1420
- }, [i.current, n]), /* @__PURE__ */ oe.createElement(xn, {
1420
+ }, [i.current, n]), /* @__PURE__ */ re.createElement(xn, {
1421
1421
  ref: s
1422
- }, f ? /* @__PURE__ */ oe.cloneElement(l, {
1423
- ref: b
1422
+ }, h ? /* @__PURE__ */ re.cloneElement(l, {
1423
+ ref: E
1424
1424
  }) : l);
1425
1425
  }
1426
- var lr = /* @__PURE__ */ oe.forwardRef(On);
1427
- process.env.NODE_ENV !== "production" && (lr.displayName = "SingleObserver");
1426
+ var cr = /* @__PURE__ */ re.forwardRef(On);
1427
+ process.env.NODE_ENV !== "production" && (cr.displayName = "SingleObserver");
1428
1428
  var Tn = "rc-observer-key";
1429
1429
  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) {
1430
+ var r = e.children, n = typeof r == "function" ? [r] : mt(r);
1431
+ return process.env.NODE_ENV !== "production" && (n.length > 1 ? Ft(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : n.length === 0 && Ft(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), n.map(function(i, s) {
1432
1432
  var a = (i == null ? void 0 : i.key) || "".concat(Tn, "-").concat(s);
1433
- return /* @__PURE__ */ oe.createElement(lr, pt({}, e, {
1433
+ return /* @__PURE__ */ re.createElement(cr, vt({}, e, {
1434
1434
  key: a,
1435
1435
  ref: s === 0 ? t : void 0
1436
1436
  }), i);
1437
1437
  });
1438
1438
  }
1439
- var Rt = /* @__PURE__ */ oe.forwardRef(Pn);
1440
- process.env.NODE_ENV !== "production" && (Rt.displayName = "ResizeObserver");
1441
- Rt.Collection = Zr;
1442
- var cr = { exports: {} };
1439
+ var St = /* @__PURE__ */ re.forwardRef(Pn);
1440
+ process.env.NODE_ENV !== "production" && (St.displayName = "ResizeObserver");
1441
+ St.Collection = Zr;
1442
+ var ur = { exports: {} };
1443
1443
  /*!
1444
1444
  Copyright (c) 2018 Jed Watson.
1445
1445
  Licensed under the MIT License (MIT), see
@@ -1450,8 +1450,8 @@ var cr = { exports: {} };
1450
1450
  var t = {}.hasOwnProperty;
1451
1451
  function r() {
1452
1452
  for (var s = "", a = 0; a < arguments.length; a++) {
1453
- var h = arguments[a];
1454
- h && (s = i(s, n(h)));
1453
+ var d = arguments[a];
1454
+ d && (s = i(s, n(d)));
1455
1455
  }
1456
1456
  return s;
1457
1457
  }
@@ -1465,8 +1465,8 @@ var cr = { exports: {} };
1465
1465
  if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
1466
1466
  return s.toString();
1467
1467
  var a = "";
1468
- for (var h in s)
1469
- t.call(s, h) && s[h] && (a = i(a, h));
1468
+ for (var d in s)
1469
+ t.call(s, d) && s[d] && (a = i(a, d));
1470
1470
  return a;
1471
1471
  }
1472
1472
  function i(s, a) {
@@ -1474,49 +1474,49 @@ var cr = { exports: {} };
1474
1474
  }
1475
1475
  e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
1476
1476
  })();
1477
- })(cr);
1478
- var jn = cr.exports;
1479
- const St = /* @__PURE__ */ zr(jn);
1477
+ })(ur);
1478
+ var jn = ur.exports;
1479
+ const Ct = /* @__PURE__ */ zr(jn);
1480
1480
  const An = Ar(({ columns: e, width: t, onScroll: r, meta: n }, i) => {
1481
1481
  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);
1482
+ const a = [], d = (h) => {
1483
+ let v = 0;
1484
+ return h.forEach((E) => {
1485
+ if (E.children && E.children.length > 0) {
1486
+ const z = d(E.children);
1487
+ z > v && (v = z);
1488
1488
  }
1489
- }), E + 1;
1490
- }, l = h(e), c = (f, E) => {
1491
- a[E] || (a[E] = []), f.forEach((b) => {
1489
+ }), v + 1;
1490
+ }, l = d(e), c = (h, v) => {
1491
+ a[v] || (a[v] = []), h.forEach((E) => {
1492
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);
1493
+ let z = "left";
1494
+ (u = E.style) != null && u.textAlign && (z = E.style.textAlign);
1495
+ let A = n == null ? void 0 : n.find((T) => T.field === E.field);
1496
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);
1497
+ const T = E.field.split("||");
1498
+ if (T.length > 1) {
1499
+ const J = T[T.length - 1];
1500
+ A = n == null ? void 0 : n.find((I) => I.field === J);
1501
1501
  } else
1502
- b.field.includes("__") && (A = n == null ? void 0 : n.find((J) => b.field.startsWith(`${J.field}_`)));
1502
+ E.field.includes("__") && (A = n == null ? void 0 : n.find((J) => E.field.startsWith(`${J.field}_`)));
1503
1503
  }
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,
1504
+ (j = A == null ? void 0 : A.style) != null && j.textAlign && (z = A.style.textAlign);
1505
+ const S = {
1506
+ key: E.field || E.dataIndex || E.title || String(Math.random()),
1507
+ title: E.title,
1508
+ width: E.width,
1509
+ align: z,
1510
+ className: E.field,
1511
1511
  // col.className not in type, ignore
1512
1512
  colSpan: 1,
1513
1513
  rowSpan: 1
1514
1514
  };
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);
1515
+ if (E.children && E.children.length > 0) {
1516
+ const T = (J) => J.children && J.children.length > 0 ? J.children.reduce((I, N) => I + T(N), 0) : 1;
1517
+ S.colSpan = T(E), a[v].push(S), c(E.children, v + 1);
1518
1518
  } else
1519
- T.rowSpan = l - E, a[E].push(T);
1519
+ S.rowSpan = l - v, a[v].push(S);
1520
1520
  });
1521
1521
  };
1522
1522
  return c(e, 0), a;
@@ -1529,14 +1529,14 @@ const An = Ar(({ columns: e, width: t, onScroll: r, meta: n }, i) => {
1529
1529
  style: { overflow: "auto", width: t },
1530
1530
  onScroll: r,
1531
1531
  children: /* @__PURE__ */ Q.jsxs("table", { style: { tableLayout: "fixed", width: "100%" }, children: [
1532
- /* @__PURE__ */ Q.jsx("colgroup", { children: e.map((a, h) => {
1532
+ /* @__PURE__ */ Q.jsx("colgroup", { children: e.map((a, d) => {
1533
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}`));
1534
+ return l(a).map((c, h) => /* @__PURE__ */ Q.jsx("col", { style: { width: c, minWidth: c } }, `${d}-${h}`));
1535
1535
  }).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(
1536
+ /* @__PURE__ */ Q.jsx("thead", { className: "virtual-table-thead", children: s.map((a, d) => /* @__PURE__ */ Q.jsx("tr", { className: "virtual-table-row", children: a.map((l, c) => /* @__PURE__ */ Q.jsx(
1537
1537
  "th",
1538
1538
  {
1539
- className: St("virtual-table-cell", l.className),
1539
+ className: Ct("virtual-table-cell", l.className),
1540
1540
  colSpan: l.colSpan,
1541
1541
  rowSpan: l.rowSpan,
1542
1542
  title: l.title,
@@ -1546,20 +1546,20 @@ const An = Ar(({ columns: e, width: t, onScroll: r, meta: n }, i) => {
1546
1546
  children: l.title
1547
1547
  },
1548
1548
  c
1549
- )) }, h)) })
1549
+ )) }, d)) })
1550
1550
  ] })
1551
1551
  }
1552
1552
  );
1553
- }), Et = (e) => {
1553
+ }), wt = (e) => {
1554
1554
  if (e === null || typeof e != "object")
1555
1555
  return e;
1556
1556
  if (Array.isArray(e))
1557
- return e.map((r) => Et(r));
1557
+ return e.map((r) => wt(r));
1558
1558
  const t = {};
1559
1559
  for (const r in e)
1560
- Object.prototype.hasOwnProperty.call(e, r) && (t[r] = Et(e[r]));
1560
+ Object.prototype.hasOwnProperty.call(e, r) && (t[r] = wt(e[r]));
1561
1561
  return t;
1562
- }, wt = 43, Mn = 100, xe = "-", Kt = "合计", Xe = 20;
1562
+ }, _t = 43, Mn = 100, Ce = "-", Gt = "合计", Ze = 20;
1563
1563
  function zn(e) {
1564
1564
  let t = e;
1565
1565
  for (; t; ) {
@@ -1570,13 +1570,13 @@ function zn(e) {
1570
1570
  return !1;
1571
1571
  }
1572
1572
  function In(e, t) {
1573
- const [r, n] = Ie(t === "rtl");
1574
- return _t(() => {
1573
+ const [r, n] = $e(t === "rtl");
1574
+ return Rt(() => {
1575
1575
  e && (t || n(zn(e)));
1576
1576
  }, [t, e]), r;
1577
1577
  }
1578
- const Ze = typeof window < "u" ? _t : Qe;
1579
- function Gt(e) {
1578
+ const Qe = typeof window < "u" ? Rt : et;
1579
+ function Ut(e) {
1580
1580
  if (e !== void 0)
1581
1581
  switch (typeof e) {
1582
1582
  case "number":
@@ -1588,7 +1588,7 @@ function Gt(e) {
1588
1588
  }
1589
1589
  }
1590
1590
  }
1591
- function $n({
1591
+ function Ln({
1592
1592
  box: e,
1593
1593
  defaultHeight: t,
1594
1594
  defaultWidth: r,
@@ -1597,61 +1597,61 @@ function $n({
1597
1597
  mode: s,
1598
1598
  style: a
1599
1599
  }) {
1600
- const { styleHeight: h, styleWidth: l } = ye(
1600
+ const { styleHeight: d, styleWidth: l } = ye(
1601
1601
  () => ({
1602
- styleHeight: Gt(a == null ? void 0 : a.height),
1603
- styleWidth: Gt(a == null ? void 0 : a.width)
1602
+ styleHeight: Ut(a == null ? void 0 : a.height),
1603
+ styleWidth: Ut(a == null ? void 0 : a.width)
1604
1604
  }),
1605
1605
  [a == null ? void 0 : a.height, a == null ? void 0 : a.width]
1606
- ), [c, f] = Ie({
1606
+ ), [c, h] = $e({
1607
1607
  height: t,
1608
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)
1609
+ }), v = n || s === "only-height" && d !== void 0 || s === "only-width" && l !== void 0 || d !== void 0 && l !== void 0;
1610
+ return Qe(() => {
1611
+ if (i === null || v)
1612
1612
  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
1613
+ const E = new ResizeObserver((z) => {
1614
+ for (const A of z) {
1615
+ const { contentRect: S, target: u } = A;
1616
+ i === u && h((j) => j.height === S.height && j.width === S.width ? j : {
1617
+ height: S.height,
1618
+ width: S.width
1619
1619
  });
1620
1620
  }
1621
1621
  });
1622
- return b.observe(i, { box: e }), () => {
1623
- b == null || b.unobserve(i);
1622
+ return E.observe(i, { box: e }), () => {
1623
+ E == null || E.unobserve(i);
1624
1624
  };
1625
- }, [e, E, i, h, l]), ye(
1625
+ }, [e, v, i, d, l]), ye(
1626
1626
  () => ({
1627
- height: h ?? c.height,
1627
+ height: d ?? c.height,
1628
1628
  width: l ?? c.width
1629
1629
  }),
1630
- [c, h, l]
1630
+ [c, d, l]
1631
1631
  );
1632
1632
  }
1633
- function Ln(e) {
1634
- const t = ze(() => {
1633
+ function $n(e) {
1634
+ const t = Le(() => {
1635
1635
  throw new Error("Cannot call during render.");
1636
1636
  });
1637
- return Ze(() => {
1637
+ return Qe(() => {
1638
1638
  t.current = e;
1639
1639
  }, [e]), ge((r) => {
1640
1640
  var n;
1641
1641
  return (n = t.current) == null ? void 0 : n.call(t, r);
1642
1642
  }, [t]);
1643
1643
  }
1644
- let De = null;
1644
+ let Fe = null;
1645
1645
  function kn(e = !1) {
1646
- if (De === null || e) {
1646
+ if (Fe === null || e) {
1647
1647
  const t = document.createElement("div"), r = t.style;
1648
1648
  r.width = "50px", r.height = "50px", r.overflow = "scroll", r.direction = "rtl";
1649
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;
1650
+ return i.width = "100px", i.height = "100px", t.appendChild(n), 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
1651
  }
1652
- return De;
1652
+ return Fe;
1653
1653
  }
1654
- function lt({
1654
+ function ct({
1655
1655
  containerElement: e,
1656
1656
  direction: t,
1657
1657
  isRtl: r,
@@ -1671,21 +1671,21 @@ function lt({
1671
1671
  }
1672
1672
  return n;
1673
1673
  }
1674
- function Pe(e, t = "Assertion error") {
1674
+ function Ae(e, t = "Assertion error") {
1675
1675
  if (!e)
1676
1676
  throw Error(t);
1677
1677
  }
1678
- function Be(e, t) {
1678
+ function Ke(e, t) {
1679
1679
  if (e === t)
1680
1680
  return !0;
1681
- if (!!e != !!t || (Pe(e !== void 0), Pe(t !== void 0), Object.keys(e).length !== Object.keys(t).length))
1681
+ if (!!e != !!t || (Ae(e !== void 0), Ae(t !== void 0), Object.keys(e).length !== Object.keys(t).length))
1682
1682
  return !1;
1683
1683
  for (const r in e)
1684
1684
  if (!Object.is(t[r], e[r]))
1685
1685
  return !1;
1686
1686
  return !0;
1687
1687
  }
1688
- function ur({
1688
+ function fr({
1689
1689
  cachedBounds: e,
1690
1690
  itemCount: t,
1691
1691
  itemSize: r
@@ -1698,7 +1698,7 @@ function ur({
1698
1698
  const n = e.get(
1699
1699
  e.size === 0 ? 0 : e.size - 1
1700
1700
  );
1701
- Pe(n !== void 0, "Unexpected bounds cache miss");
1701
+ Ae(n !== void 0, "Unexpected bounds cache miss");
1702
1702
  const i = (n.scrollOffset + n.size) / e.size;
1703
1703
  return t * i;
1704
1704
  }
@@ -1716,30 +1716,30 @@ function Dn({
1716
1716
  throw RangeError(`Invalid index specified: ${r}`, {
1717
1717
  cause: `Index ${r} is not within the range of 0 - ${n - 1}`
1718
1718
  });
1719
- const h = ur({
1719
+ const d = fr({
1720
1720
  cachedBounds: t,
1721
1721
  itemCount: n,
1722
1722
  itemSize: i
1723
1723
  }), l = t.get(r), c = Math.max(
1724
1724
  0,
1725
- Math.min(h - a, l.scrollOffset)
1726
- ), f = Math.max(
1725
+ Math.min(d - a, l.scrollOffset)
1726
+ ), h = Math.max(
1727
1727
  0,
1728
1728
  l.scrollOffset - a + l.size
1729
1729
  );
1730
- switch (e === "smart" && (s >= f && s <= c ? e = "auto" : e = "center"), e) {
1730
+ switch (e === "smart" && (s >= h && s <= c ? e = "auto" : e = "center"), e) {
1731
1731
  case "start":
1732
1732
  return c;
1733
1733
  case "end":
1734
- return f;
1734
+ return h;
1735
1735
  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;
1736
+ return l.scrollOffset <= a / 2 ? 0 : l.scrollOffset + l.size / 2 >= d - a / 2 ? d - a : l.scrollOffset + l.size / 2 - a / 2;
1737
1737
  case "auto":
1738
1738
  default:
1739
- return s >= f && s <= c ? s : s < f ? f : c;
1739
+ return s >= h && s <= c ? s : s < h ? h : c;
1740
1740
  }
1741
1741
  }
1742
- function ct({
1742
+ function ut({
1743
1743
  cachedBounds: e,
1744
1744
  containerScrollOffset: t,
1745
1745
  containerSize: r,
@@ -1747,22 +1747,22 @@ function ct({
1747
1747
  overscanCount: i
1748
1748
  }) {
1749
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)
1750
+ let a = 0, d = -1, l = 0, c = -1, h = 0;
1751
+ for (; h < s; ) {
1752
+ const v = e.get(h);
1753
+ if (v.scrollOffset + v.size > t)
1754
1754
  break;
1755
- f++;
1755
+ h++;
1756
1756
  }
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)
1757
+ for (a = h, l = Math.max(0, a - i); h < s; ) {
1758
+ const v = e.get(h);
1759
+ if (v.scrollOffset + v.size >= t + r)
1760
1760
  break;
1761
- f++;
1761
+ h++;
1762
1762
  }
1763
- return h = Math.min(s, f), c = Math.min(n - 1, h + i), a < 0 && (a = 0, h = -1, l = 0, c = -1), {
1763
+ return d = Math.min(s, h), c = Math.min(n - 1, d + i), a < 0 && (a = 0, d = -1, l = 0, c = -1), {
1764
1764
  startIndexVisible: a,
1765
- stopIndexVisible: h,
1765
+ stopIndexVisible: d,
1766
1766
  startIndexOverscan: l,
1767
1767
  stopIndexOverscan: c
1768
1768
  };
@@ -1775,37 +1775,37 @@ function Fn({
1775
1775
  const n = /* @__PURE__ */ new Map();
1776
1776
  return {
1777
1777
  get(i) {
1778
- for (Pe(i < e, `Invalid index ${i}`); n.size - 1 < i; ) {
1778
+ for (Ae(i < e, `Invalid index ${i}`); n.size - 1 < i; ) {
1779
1779
  const a = n.size;
1780
- let h;
1780
+ let d;
1781
1781
  switch (typeof r) {
1782
1782
  case "function": {
1783
- h = r(a, t);
1783
+ d = r(a, t);
1784
1784
  break;
1785
1785
  }
1786
1786
  case "number": {
1787
- h = r;
1787
+ d = r;
1788
1788
  break;
1789
1789
  }
1790
1790
  }
1791
1791
  if (a === 0)
1792
1792
  n.set(a, {
1793
- size: h,
1793
+ size: d,
1794
1794
  scrollOffset: 0
1795
1795
  });
1796
1796
  else {
1797
1797
  const l = n.get(a - 1);
1798
- Pe(
1798
+ Ae(
1799
1799
  l !== void 0,
1800
1800
  `Unexpected bounds cache miss for index ${i}`
1801
1801
  ), n.set(a, {
1802
1802
  scrollOffset: l.scrollOffset + l.size,
1803
- size: h
1803
+ size: d
1804
1804
  });
1805
1805
  }
1806
1806
  }
1807
1807
  const s = n.get(i);
1808
- return Pe(
1808
+ return Ae(
1809
1809
  s !== void 0,
1810
1810
  `Unexpected bounds cache miss for index ${i}`
1811
1811
  ), s;
@@ -1839,10 +1839,10 @@ function Wn({
1839
1839
  let r;
1840
1840
  switch (typeof t) {
1841
1841
  case "string": {
1842
- Pe(
1842
+ Ae(
1843
1843
  t.endsWith("%"),
1844
1844
  `Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`
1845
- ), Pe(
1845
+ ), Ae(
1846
1846
  e !== void 0,
1847
1847
  "Container size must be defined if a percentage item size is specified"
1848
1848
  ), r = e * parseInt(t) / 100;
@@ -1855,7 +1855,7 @@ function Wn({
1855
1855
  }
1856
1856
  return r;
1857
1857
  }
1858
- function Ut({
1858
+ function qt({
1859
1859
  containerElement: e,
1860
1860
  containerStyle: t,
1861
1861
  defaultContainerSize: r = 0,
@@ -1863,145 +1863,145 @@ function Ut({
1863
1863
  isRtl: i = !1,
1864
1864
  itemCount: s,
1865
1865
  itemProps: a,
1866
- itemSize: h,
1866
+ itemSize: d,
1867
1867
  onResize: l,
1868
1868
  overscanCount: c
1869
1869
  }) {
1870
- const { height: f = r, width: E = r } = $n({
1870
+ const { height: h = r, width: v = r } = Ln({
1871
1871
  defaultHeight: n === "vertical" ? r : void 0,
1872
1872
  defaultWidth: n === "horizontal" ? r : void 0,
1873
1873
  element: e,
1874
1874
  mode: n === "vertical" ? "only-height" : "only-width",
1875
1875
  style: t
1876
- }), b = ze({
1876
+ }), E = Le({
1877
1877
  height: 0,
1878
1878
  width: 0
1879
- }), I = n === "vertical" ? f : E, A = Wn({ containerSize: I, itemSize: h });
1880
- _t(() => {
1879
+ }), z = n === "vertical" ? h : v, A = Wn({ containerSize: z, itemSize: d });
1880
+ Rt(() => {
1881
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);
1882
+ const M = E.current;
1883
+ (M.height !== h || M.width !== v) && (l({ height: h, width: v }, { ...M }), M.height = h, M.width = v);
1884
1884
  }
1885
- }, [f, l, E]);
1886
- const T = Nn({
1885
+ }, [h, l, v]);
1886
+ const S = Nn({
1887
1887
  itemCount: s,
1888
1888
  itemProps: a,
1889
1889
  itemSize: A
1890
1890
  }), u = ge(
1891
- (M) => T.get(M),
1892
- [T]
1893
- ), [j, P] = Ie(
1894
- () => ct({
1895
- cachedBounds: T,
1891
+ (M) => S.get(M),
1892
+ [S]
1893
+ ), [j, T] = $e(
1894
+ () => ut({
1895
+ cachedBounds: S,
1896
1896
  // TODO Potentially support a defaultScrollOffset prop?
1897
1897
  containerScrollOffset: 0,
1898
- containerSize: I,
1898
+ containerSize: z,
1899
1899
  itemCount: s,
1900
1900
  overscanCount: c
1901
1901
  })
1902
1902
  ), {
1903
1903
  startIndexVisible: J,
1904
- startIndexOverscan: z,
1904
+ startIndexOverscan: I,
1905
1905
  stopIndexVisible: N,
1906
- stopIndexOverscan: D
1906
+ stopIndexOverscan: $
1907
1907
  } = {
1908
1908
  startIndexVisible: Math.min(s - 1, j.startIndexVisible),
1909
1909
  startIndexOverscan: Math.min(s - 1, j.startIndexOverscan),
1910
1910
  stopIndexVisible: Math.min(s - 1, j.stopIndexVisible),
1911
1911
  stopIndexOverscan: Math.min(s - 1, j.stopIndexOverscan)
1912
1912
  }, k = ge(
1913
- () => ur({
1914
- cachedBounds: T,
1913
+ () => fr({
1914
+ cachedBounds: S,
1915
1915
  itemCount: s,
1916
1916
  itemSize: A
1917
1917
  }),
1918
- [T, s, A]
1918
+ [S, s, A]
1919
1919
  ), p = ge(
1920
1920
  (M) => {
1921
- const W = lt({
1921
+ const W = ct({
1922
1922
  containerElement: e,
1923
1923
  direction: n,
1924
1924
  isRtl: i,
1925
1925
  scrollOffset: M
1926
1926
  });
1927
- return ct({
1928
- cachedBounds: T,
1927
+ return ut({
1928
+ cachedBounds: S,
1929
1929
  containerScrollOffset: W,
1930
- containerSize: I,
1930
+ containerSize: z,
1931
1931
  itemCount: s,
1932
1932
  overscanCount: c
1933
1933
  });
1934
1934
  },
1935
1935
  [
1936
- T,
1936
+ S,
1937
1937
  e,
1938
- I,
1938
+ z,
1939
1939
  n,
1940
1940
  i,
1941
1941
  s,
1942
1942
  c
1943
1943
  ]
1944
1944
  );
1945
- Ze(() => {
1945
+ Qe(() => {
1946
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
+ T(p(M));
1948
+ }, [e, n, p]), Qe(() => {
1949
1949
  if (!e)
1950
1950
  return;
1951
1951
  const M = () => {
1952
- P((W) => {
1953
- const { scrollLeft: H, scrollTop: K } = e, re = lt({
1952
+ T((W) => {
1953
+ const { scrollLeft: Y, scrollTop: H } = e, ee = ct({
1954
1954
  containerElement: e,
1955
1955
  direction: n,
1956
1956
  isRtl: i,
1957
- scrollOffset: n === "vertical" ? K : H
1958
- }), he = ct({
1959
- cachedBounds: T,
1960
- containerScrollOffset: re,
1961
- containerSize: I,
1957
+ scrollOffset: n === "vertical" ? H : Y
1958
+ }), de = ut({
1959
+ cachedBounds: S,
1960
+ containerScrollOffset: ee,
1961
+ containerSize: z,
1962
1962
  itemCount: s,
1963
1963
  overscanCount: c
1964
1964
  });
1965
- return Be(he, W) ? W : he;
1965
+ return Ke(de, W) ? W : de;
1966
1966
  });
1967
1967
  };
1968
1968
  return e.addEventListener("scroll", M), () => {
1969
1969
  e.removeEventListener("scroll", M);
1970
1970
  };
1971
1971
  }, [
1972
- T,
1972
+ S,
1973
1973
  e,
1974
- I,
1974
+ z,
1975
1975
  n,
1976
1976
  s,
1977
1977
  c
1978
1978
  ]);
1979
- const F = Ln(
1979
+ const F = $n(
1980
1980
  ({
1981
1981
  align: M = "auto",
1982
1982
  containerScrollOffset: W,
1983
- index: H
1983
+ index: Y
1984
1984
  }) => {
1985
- let K = Dn({
1985
+ let H = Dn({
1986
1986
  align: M,
1987
- cachedBounds: T,
1987
+ cachedBounds: S,
1988
1988
  containerScrollOffset: W,
1989
- containerSize: I,
1990
- index: H,
1989
+ containerSize: z,
1990
+ index: Y,
1991
1991
  itemCount: s,
1992
1992
  itemSize: A
1993
1993
  });
1994
1994
  if (e) {
1995
- if (K = lt({
1995
+ if (H = ct({
1996
1996
  containerElement: e,
1997
1997
  direction: n,
1998
1998
  isRtl: i,
1999
- scrollOffset: K
1999
+ scrollOffset: H
2000
2000
  }), typeof e.scrollTo != "function") {
2001
- const re = p(K);
2002
- Be(j, re) || P(re);
2001
+ const ee = p(H);
2002
+ Ke(j, ee) || T(ee);
2003
2003
  }
2004
- return K;
2004
+ return H;
2005
2005
  }
2006
2006
  }
2007
2007
  );
@@ -2009,9 +2009,9 @@ function Ut({
2009
2009
  getCellBounds: u,
2010
2010
  getEstimatedSize: k,
2011
2011
  scrollToIndex: F,
2012
- startIndexOverscan: z,
2012
+ startIndexOverscan: I,
2013
2013
  startIndexVisible: J,
2014
- stopIndexOverscan: D,
2014
+ stopIndexOverscan: $,
2015
2015
  stopIndexVisible: N
2016
2016
  };
2017
2017
  }
@@ -2026,9 +2026,9 @@ function Hn(e, t) {
2026
2026
  } = e, {
2027
2027
  ariaAttributes: s,
2028
2028
  style: a,
2029
- ...h
2029
+ ...d
2030
2030
  } = t;
2031
- return Be(r, s) && Be(n, a) && Be(i, h);
2031
+ return Ke(r, s) && Ke(n, a) && Ke(i, d);
2032
2032
  }
2033
2033
  function Bn({
2034
2034
  cellComponent: e,
@@ -2038,209 +2038,209 @@ function Bn({
2038
2038
  columnCount: i,
2039
2039
  columnWidth: s,
2040
2040
  defaultHeight: a = 0,
2041
- defaultWidth: h = 0,
2041
+ defaultWidth: d = 0,
2042
2042
  dir: l,
2043
2043
  gridRef: c,
2044
- onCellsRendered: f,
2045
- onResize: E,
2046
- overscanCount: b = 3,
2047
- rowCount: I,
2044
+ onCellsRendered: h,
2045
+ onResize: v,
2046
+ overscanCount: E = 3,
2047
+ rowCount: z,
2048
2048
  rowHeight: A,
2049
- style: T,
2049
+ style: S,
2050
2050
  tagName: u = "div",
2051
2051
  ...j
2052
2052
  }) {
2053
- const P = Vn(t), J = ye(
2054
- () => Jt(e, Hn),
2053
+ const T = Vn(t), J = ye(
2054
+ () => Xt(e, Hn),
2055
2055
  [e]
2056
- ), [z, N] = Ie(null), D = In(z, l), {
2056
+ ), [I, N] = $e(null), $ = In(I, l), {
2057
2057
  getCellBounds: k,
2058
2058
  getEstimatedSize: p,
2059
2059
  startIndexOverscan: F,
2060
2060
  startIndexVisible: M,
2061
2061
  scrollToIndex: W,
2062
- stopIndexOverscan: H,
2063
- stopIndexVisible: K
2064
- } = Ut({
2065
- containerElement: z,
2066
- containerStyle: T,
2067
- defaultContainerSize: h,
2062
+ stopIndexOverscan: Y,
2063
+ stopIndexVisible: H
2064
+ } = qt({
2065
+ containerElement: I,
2066
+ containerStyle: S,
2067
+ defaultContainerSize: d,
2068
2068
  direction: "horizontal",
2069
- isRtl: D,
2069
+ isRtl: $,
2070
2070
  itemCount: i,
2071
- itemProps: P,
2071
+ itemProps: T,
2072
2072
  itemSize: s,
2073
- onResize: E,
2074
- overscanCount: b
2073
+ onResize: v,
2074
+ overscanCount: E
2075
2075
  }), {
2076
- getCellBounds: re,
2077
- getEstimatedSize: he,
2076
+ getCellBounds: ee,
2077
+ getEstimatedSize: de,
2078
2078
  startIndexOverscan: be,
2079
- startIndexVisible: Te,
2079
+ startIndexVisible: Se,
2080
2080
  scrollToIndex: _e,
2081
- stopIndexOverscan: Ee,
2082
- stopIndexVisible: Se
2083
- } = Ut({
2084
- containerElement: z,
2085
- containerStyle: T,
2081
+ stopIndexOverscan: pe,
2082
+ stopIndexVisible: Oe
2083
+ } = qt({
2084
+ containerElement: I,
2085
+ containerStyle: S,
2086
2086
  defaultContainerSize: a,
2087
2087
  direction: "vertical",
2088
- itemCount: I,
2089
- itemProps: P,
2088
+ itemCount: z,
2089
+ itemProps: T,
2090
2090
  itemSize: A,
2091
- onResize: E,
2092
- overscanCount: b
2091
+ onResize: v,
2092
+ overscanCount: E
2093
2093
  });
2094
2094
  Mr(
2095
2095
  c,
2096
2096
  () => ({
2097
2097
  get element() {
2098
- return z;
2098
+ return I;
2099
2099
  },
2100
2100
  scrollToCell({
2101
2101
  behavior: w = "auto",
2102
- columnAlign: m = "auto",
2103
- columnIndex: g,
2104
- rowAlign: x = "auto",
2105
- rowIndex: _
2102
+ columnAlign: _ = "auto",
2103
+ columnIndex: R,
2104
+ rowAlign: m = "auto",
2105
+ rowIndex: O
2106
2106
  }) {
2107
- const R = W({
2107
+ const x = W({
2108
+ align: _,
2109
+ containerScrollOffset: (I == null ? void 0 : I.scrollLeft) ?? 0,
2110
+ index: R
2111
+ }), P = _e({
2108
2112
  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: _
2113
+ containerScrollOffset: (I == null ? void 0 : I.scrollTop) ?? 0,
2114
+ index: O
2115
2115
  });
2116
- typeof (z == null ? void 0 : z.scrollTo) == "function" && z.scrollTo({
2116
+ typeof (I == null ? void 0 : I.scrollTo) == "function" && I.scrollTo({
2117
2117
  behavior: w,
2118
- left: R,
2119
- top: S
2118
+ left: x,
2119
+ top: P
2120
2120
  });
2121
2121
  },
2122
2122
  scrollToColumn({
2123
2123
  align: w = "auto",
2124
- behavior: m = "auto",
2125
- index: g
2124
+ behavior: _ = "auto",
2125
+ index: R
2126
2126
  }) {
2127
- const x = W({
2127
+ const m = W({
2128
2128
  align: w,
2129
- containerScrollOffset: (z == null ? void 0 : z.scrollLeft) ?? 0,
2130
- index: g
2129
+ containerScrollOffset: (I == null ? void 0 : I.scrollLeft) ?? 0,
2130
+ index: R
2131
2131
  });
2132
- typeof (z == null ? void 0 : z.scrollTo) == "function" && z.scrollTo({
2133
- behavior: m,
2134
- left: x
2132
+ typeof (I == null ? void 0 : I.scrollTo) == "function" && I.scrollTo({
2133
+ behavior: _,
2134
+ left: m
2135
2135
  });
2136
2136
  },
2137
2137
  scrollToRow({
2138
2138
  align: w = "auto",
2139
- behavior: m = "auto",
2140
- index: g
2139
+ behavior: _ = "auto",
2140
+ index: R
2141
2141
  }) {
2142
- const x = _e({
2142
+ const m = _e({
2143
2143
  align: w,
2144
- containerScrollOffset: (z == null ? void 0 : z.scrollTop) ?? 0,
2145
- index: g
2144
+ containerScrollOffset: (I == null ? void 0 : I.scrollTop) ?? 0,
2145
+ index: R
2146
2146
  });
2147
- typeof (z == null ? void 0 : z.scrollTo) == "function" && z.scrollTo({
2148
- behavior: m,
2149
- top: x
2147
+ typeof (I == null ? void 0 : I.scrollTo) == "function" && I.scrollTo({
2148
+ behavior: _,
2149
+ top: m
2150
2150
  });
2151
2151
  }
2152
2152
  }),
2153
- [z, W, _e]
2154
- ), Qe(() => {
2155
- F >= 0 && H >= 0 && be >= 0 && Ee >= 0 && f && f(
2153
+ [I, W, _e]
2154
+ ), et(() => {
2155
+ F >= 0 && Y >= 0 && be >= 0 && pe >= 0 && h && h(
2156
2156
  {
2157
2157
  columnStartIndex: M,
2158
- columnStopIndex: K,
2159
- rowStartIndex: Te,
2160
- rowStopIndex: Se
2158
+ columnStopIndex: H,
2159
+ rowStartIndex: Se,
2160
+ rowStopIndex: Oe
2161
2161
  },
2162
2162
  {
2163
2163
  columnStartIndex: F,
2164
- columnStopIndex: H,
2164
+ columnStopIndex: Y,
2165
2165
  rowStartIndex: be,
2166
- rowStopIndex: Ee
2166
+ rowStopIndex: pe
2167
2167
  }
2168
2168
  );
2169
2169
  }, [
2170
- f,
2170
+ h,
2171
2171
  F,
2172
2172
  M,
2173
+ Y,
2173
2174
  H,
2174
- K,
2175
2175
  be,
2176
- Te,
2177
- Ee,
2178
- Se
2176
+ Se,
2177
+ pe,
2178
+ Oe
2179
2179
  ]);
2180
- const v = ye(() => {
2180
+ const Te = ye(() => {
2181
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(
2182
+ if (i > 0 && z > 0)
2183
+ for (let _ = be; _ <= pe; _++) {
2184
+ const R = ee(_), m = [];
2185
+ for (let O = F; O <= Y; O++) {
2186
+ const x = k(O);
2187
+ m.push(
2188
+ /* @__PURE__ */ Lt(
2189
2189
  J,
2190
2190
  {
2191
- ...P,
2191
+ ...T,
2192
2192
  ariaAttributes: {
2193
- "aria-colindex": _ + 1,
2193
+ "aria-colindex": O + 1,
2194
2194
  role: "gridcell"
2195
2195
  },
2196
- columnIndex: _,
2197
- key: _,
2198
- rowIndex: m,
2196
+ columnIndex: O,
2197
+ key: O,
2198
+ rowIndex: _,
2199
2199
  style: {
2200
2200
  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
2201
+ left: $ ? void 0 : 0,
2202
+ right: $ ? 0 : void 0,
2203
+ transform: `translate(${$ ? -x.scrollOffset : x.scrollOffset}px, ${R.scrollOffset}px)`,
2204
+ height: R.size,
2205
+ width: x.size
2206
2206
  }
2207
2207
  }
2208
2208
  )
2209
2209
  );
2210
2210
  }
2211
2211
  w.push(
2212
- /* @__PURE__ */ Q.jsx("div", { role: "row", "aria-rowindex": m + 1, children: x }, m)
2212
+ /* @__PURE__ */ Q.jsx("div", { role: "row", "aria-rowindex": _ + 1, children: m }, _)
2213
2213
  );
2214
2214
  }
2215
2215
  return w;
2216
2216
  }, [
2217
2217
  J,
2218
- P,
2218
+ T,
2219
2219
  i,
2220
2220
  F,
2221
- H,
2221
+ Y,
2222
2222
  k,
2223
- re,
2224
- D,
2225
- I,
2223
+ ee,
2224
+ $,
2225
+ z,
2226
2226
  be,
2227
- Ee
2228
- ]), C = /* @__PURE__ */ Q.jsx(
2227
+ pe
2228
+ ]), g = /* @__PURE__ */ Q.jsx(
2229
2229
  "div",
2230
2230
  {
2231
2231
  "aria-hidden": !0,
2232
2232
  style: {
2233
- height: he(),
2233
+ height: de(),
2234
2234
  width: p(),
2235
2235
  zIndex: -1
2236
2236
  }
2237
2237
  }
2238
2238
  );
2239
- return It(
2239
+ return Lt(
2240
2240
  u,
2241
2241
  {
2242
2242
  "aria-colcount": i,
2243
- "aria-rowcount": I,
2243
+ "aria-rowcount": z,
2244
2244
  role: "grid",
2245
2245
  ...j,
2246
2246
  className: n,
@@ -2252,12 +2252,12 @@ function Bn({
2252
2252
  maxWidth: "100%",
2253
2253
  flexGrow: 1,
2254
2254
  overflow: "auto",
2255
- ...T
2255
+ ...S
2256
2256
  }
2257
2257
  },
2258
- v,
2258
+ Te,
2259
2259
  r,
2260
- C
2260
+ g
2261
2261
  );
2262
2262
  }
2263
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: [
@@ -2271,20 +2271,20 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2271
2271
  const n = (i = r[e]) == null ? void 0 : i[t];
2272
2272
  return n ? n.rowspan === 0 || n.colspan === 0 : !1;
2273
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;
2274
+ var S, u;
2275
+ const d = (S = n[e]) == null ? void 0 : S[t], l = a || d;
2276
2276
  if (!l)
2277
2277
  return;
2278
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);
2279
+ let h = i[t];
2280
+ const v = h.field.split("||"), E = v[v.length - 1], z = s == null ? void 0 : s.find((j) => j.field === E || j.field === h.field), A = (z == null ? void 0 : z.style) || (h == null ? void 0 : h.style);
2281
2281
  if (l.colspan > 1) {
2282
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;
2283
+ for (let T = t; T < t + l.colspan; T++)
2284
+ j += Number((u = i[T]) == null ? void 0 : u.width) || 100;
2285
2285
  c.width = j;
2286
2286
  }
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;
2287
+ return l.rowspan > 1 && (c.height = l.rowspan * _t), c.height || (c.height = _t), 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 > Ze && (c.zIndex = 1e4 - e, c.position = "absolute"), c;
2288
2288
  }, qn = ({
2289
2289
  columnIndex: e,
2290
2290
  rowIndex: t,
@@ -2293,16 +2293,16 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2293
2293
  columns: i,
2294
2294
  handleExpand: s,
2295
2295
  meta: a,
2296
- mergedCellsMap: h
2296
+ mergedCellsMap: d
2297
2297
  }) => {
2298
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);
2299
+ if (l.rowspan === 0 && d) {
2300
+ const j = `${t}-${e}`, T = d.get(j);
2301
+ if (T && T.rowspan > Ze && T.startIndex < t) {
2302
+ const J = T.rowspan - (t - T.startIndex);
2303
2303
  l = {
2304
2304
  ...l,
2305
- ...P,
2305
+ ...T,
2306
2306
  rowspan: J
2307
2307
  // We might need to adjust content if it relies on being at the top, but usually content is same.
2308
2308
  // onClick and others are copied from mergeInfo
@@ -2311,16 +2311,16 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2311
2311
  }
2312
2312
  if (!c && Gn(t, e, n))
2313
2313
  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);
2314
+ const h = Un(t, e, r, n, i, a, l), v = i[e], E = v.field.split("||"), z = E[E.length - 1], A = a == null ? void 0 : a.find((j) => j.field === z || j.field === v.field), S = Ge.isValidElement(l.content);
2315
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) {
2316
+ if (u = l.content, "formatter" in v && v.formatter && !S && (l.data.satisfaction_denominator_count, u = v.formatter(u, l.data)), A != null && A.clickHandler && !S && u !== null && u !== void 0) {
2317
2317
  const j = l.data;
2318
2318
  u = /* @__PURE__ */ Q.jsx(
2319
2319
  "a",
2320
2320
  {
2321
2321
  href: "javascript:void(0)",
2322
- onClick: (P) => {
2323
- P.preventDefault(), P.stopPropagation(), A.clickHandler(j);
2322
+ onClick: (T) => {
2323
+ T.preventDefault(), T.stopPropagation(), A.clickHandler(j);
2324
2324
  },
2325
2325
  className: "virtual-table-cell-link",
2326
2326
  children: u
@@ -2330,8 +2330,8 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2330
2330
  return /* @__PURE__ */ Q.jsxs(
2331
2331
  "div",
2332
2332
  {
2333
- style: f,
2334
- className: St("table-cell", "virtual-table-cell", {
2333
+ style: h,
2334
+ className: Ct("table-cell", "virtual-table-cell", {
2335
2335
  "virtual-table-cell-last": e === i.length - 1
2336
2336
  }),
2337
2337
  title: typeof u == "string" ? u : void 0,
@@ -2346,9 +2346,9 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2346
2346
  }
2347
2347
  );
2348
2348
  }, 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", {
2349
+ const { data: t, info: r, scroll: n, columns: i, tableWidth: s } = e, { ref: a, onScroll: d } = r, l = Le(), c = ye(() => {
2350
+ const $ = {};
2351
+ return Object.defineProperty($, "scrollLeft", {
2352
2352
  get: () => {
2353
2353
  var k, p;
2354
2354
  return ((p = (k = l.current) == null ? void 0 : k.element) == null ? void 0 : p.scrollLeft) || 0;
@@ -2357,7 +2357,7 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2357
2357
  var p;
2358
2358
  (p = l.current) != null && p.element && (l.current.element.scrollLeft = k);
2359
2359
  }
2360
- }), Object.defineProperty(D, "scrollTop", {
2360
+ }), Object.defineProperty($, "scrollTop", {
2361
2361
  get: () => {
2362
2362
  var k, p;
2363
2363
  return ((p = (k = l.current) == null ? void 0 : k.element) == null ? void 0 : p.scrollTop) || 0;
@@ -2366,39 +2366,39 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2366
2366
  var p;
2367
2367
  (p = l.current) != null && p.element && (l.current.element.scrollTop = k);
2368
2368
  }
2369
- }), D;
2369
+ }), $;
2370
2370
  }, []);
2371
- Qe(() => {
2371
+ et(() => {
2372
2372
  a && (a.current = c);
2373
2373
  }, [a, c]);
2374
- const f = t, E = f.length, b = ge((D) => {
2374
+ const h = t, v = h.length, E = ge(($) => {
2375
2375
  let k = 0;
2376
- return D.forEach((p) => {
2377
- p != null && p.children && p.children.length > 0 ? k += b(p.children) : k += 1;
2376
+ return $.forEach((p) => {
2377
+ p != null && p.children && p.children.length > 0 ? k += E(p.children) : k += 1;
2378
2378
  }), k;
2379
- }, []), I = b(i), A = ge((D) => {
2379
+ }, []), z = E(i), A = ge(($) => {
2380
2380
  let k = [];
2381
- return D.forEach((p) => {
2381
+ return $.forEach((p) => {
2382
2382
  p != null && p.children && p.children.length > 0 ? k = [...k, ...A(p.children)] : k.push(p);
2383
2383
  }), k;
2384
- }, []), T = A(i), u = ge((D) => {
2385
- const k = T[D];
2384
+ }, []), S = A(i), u = ge(($) => {
2385
+ const k = S[$];
2386
2386
  let p = (k == null ? void 0 : k.width) || 100;
2387
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);
2388
+ }, [S]), j = ge(($) => _t, []), T = ye(() => h.map(($) => $.cells), [h]), J = ge(($) => {
2389
+ if ($ && typeof $.scrollLeft == "number") {
2390
+ d && d($);
2391
2391
  return;
2392
2392
  }
2393
- if (D && D.target) {
2394
- const { scrollLeft: k, scrollTop: p } = D.target;
2395
- h && h({ scrollLeft: k, scrollTop: p });
2393
+ if ($ && $.target) {
2394
+ const { scrollLeft: k, scrollTop: p } = $.target;
2395
+ d && d({ scrollLeft: k, scrollTop: p });
2396
2396
  }
2397
- }, [h]), z = ye(() => {
2398
- const D = /* @__PURE__ */ new Map();
2399
- return f.forEach((k, p) => {
2397
+ }, [d]), I = ye(() => {
2398
+ const $ = /* @__PURE__ */ new Map();
2399
+ return h.forEach((k, p) => {
2400
2400
  k.cells.forEach((F, M) => {
2401
- if (F.rowspan > Xe) {
2401
+ if (F.rowspan > Ze) {
2402
2402
  const W = {
2403
2403
  startIndex: p,
2404
2404
  rowspan: F.rowspan,
@@ -2410,38 +2410,38 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2410
2410
  rowKey: F.rowKey,
2411
2411
  onClick: F.onClick
2412
2412
  };
2413
- for (let H = 0; H < F.rowspan; H++) {
2414
- const K = `${p + H}-${M}`;
2415
- D.set(K, W);
2413
+ for (let Y = 0; Y < F.rowspan; Y++) {
2414
+ const H = `${p + Y}-${M}`;
2415
+ $.set(H, W);
2416
2416
  }
2417
2417
  }
2418
2418
  });
2419
- }), D;
2420
- }, [f]), N = (typeof (n == null ? void 0 : n.y) == "number" ? n.y : parseInt((n == null ? void 0 : n.y) || "400")) || 400;
2419
+ }), $;
2420
+ }, [h]), N = (typeof (n == null ? void 0 : n.y) == "number" ? n.y : parseInt((n == null ? void 0 : n.y) || "400")) || 400;
2421
2421
  return /* @__PURE__ */ Q.jsx(
2422
2422
  Bn,
2423
2423
  {
2424
2424
  gridRef: l,
2425
- columnCount: I,
2425
+ columnCount: z,
2426
2426
  columnWidth: u,
2427
- rowCount: E,
2427
+ rowCount: v,
2428
2428
  rowHeight: j,
2429
2429
  style: { height: N - 40, width: s, overflowY: "auto" },
2430
2430
  onScroll: J,
2431
2431
  className: "virtual-grid",
2432
- overscanCount: Xe,
2432
+ overscanCount: Ze,
2433
2433
  cellComponent: qn,
2434
2434
  cellProps: {
2435
- mergedData: P,
2436
- columns: T,
2437
- data: f,
2435
+ mergedData: T,
2436
+ columns: S,
2437
+ data: h,
2438
2438
  handleExpand: e.handleExpand,
2439
2439
  meta: e.meta,
2440
- mergedCellsMap: z
2440
+ mergedCellsMap: I
2441
2441
  }
2442
2442
  }
2443
2443
  );
2444
- }, He = (e) => {
2444
+ }, Ye = (e) => {
2445
2445
  const t = [], r = (n) => {
2446
2446
  n.children && n.children.length > 0 ? n.children.forEach((i) => r(i)) : t.push(n);
2447
2447
  };
@@ -2454,20 +2454,23 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2454
2454
  return n;
2455
2455
  n = n[i];
2456
2456
  }
2457
- return n == null && (n = xe), n;
2458
- }, ut = (e, t) => "|" + t.map((n) => me(e, n)).join("|"), qt = (e, t) => {
2457
+ return n == null && (n = Ce), n;
2458
+ }, ft = (e, t) => "|" + t.map((n) => me(e, n)).join("|"), Jt = (e, t) => {
2459
2459
  if (!e)
2460
2460
  return null;
2461
2461
  try {
2462
- const r = e.replace(/\{(\w+)\}/g, (n, i) => {
2463
- const s = t[i];
2464
- return s != null && !isNaN(s) ? String(s) : "0";
2462
+ const r = e.replace(/\{(\w+)\}/g, (i, s) => {
2463
+ const a = t[s];
2464
+ return a != null && !isNaN(a) ? String(a) : "0";
2465
2465
  });
2466
- return /^[\d\.\+\-\*\/\(\)\s]+$/.test(r) ? new Function(`return ${r}`)() : null;
2466
+ if (!/^[\d\.\+\-\*\/\(\)\s]+$/.test(r))
2467
+ return null;
2468
+ const n = new Function(`return ${r}`)();
2469
+ return typeof n != "number" || !isFinite(n) || isNaN(n) ? null : n;
2467
2470
  } catch {
2468
2471
  return null;
2469
2472
  }
2470
- }, Ge = {
2473
+ }, Ue = {
2471
2474
  sum: (e) => e.reduce((t, r) => t + (Number(r) || 0), 0),
2472
2475
  avg: (e) => {
2473
2476
  const t = e;
@@ -2491,362 +2494,362 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2491
2494
  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;
2492
2495
  return Math.sqrt(i);
2493
2496
  }
2494
- }, ue = /* @__PURE__ */ new Map(), ft = /* @__PURE__ */ new Map(), dt = /* @__PURE__ */ new Map(), Xn = (e) => {
2497
+ }, ce = /* @__PURE__ */ new Map(), dt = /* @__PURE__ */ new Map(), ht = /* @__PURE__ */ new Map(), Xn = (e) => {
2495
2498
  const { data: t, sortParams: r, fields: n } = e, { rows: i, columns: s, values: a } = n;
2496
2499
  if (!t || t.length === 0 || !i.length && !s.length && !a.length)
2497
2500
  return {
2498
2501
  list: [],
2499
- dataExpandFilter: (v) => v
2502
+ dataExpandFilter: (g) => g
2500
2503
  };
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);
2504
+ const d = Ye(i), l = Ye(s), c = Ye(a), h = c.filter((g) => !g.hidden), v = d.map((g) => g.field), E = l.map((g) => g.field), z = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map();
2505
+ t.forEach((g) => {
2506
+ const w = ft(g, v);
2507
+ z.has(w) || z.set(w, []), z.get(w).push(g);
2508
+ const _ = ft(g, E);
2509
+ A.has(_) || A.set(_, []), A.get(_).push(g);
2510
+ const R = `${w}||${_}`;
2511
+ S.has(R) || S.set(R, []), S.get(R).push(g);
2509
2512
  });
2510
- const T = () => Array.from(b.entries()).sort(([v, C], [w, m]) => {
2513
+ const u = () => Array.from(z.entries()).sort(([g, w], [_, R]) => {
2511
2514
  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;
2515
+ for (const m of r) {
2516
+ const { field: O, sortType: x } = m, P = x === "asc", C = me(w[0], O), D = me(R[0], O);
2517
+ if (C < D)
2518
+ return P ? -1 : 1;
2519
+ if (C > D)
2520
+ return P ? 1 : -1;
2518
2521
  }
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;
2522
+ for (let m = 0; m < v.length; m++) {
2523
+ const O = v[m], x = d[m], P = me(w[0], O), C = me(R[0], O);
2524
+ if (P !== C)
2525
+ if (x.sort && x.sort.enabled) {
2526
+ const D = x.sort.type === "asc";
2527
+ if (P < C)
2528
+ return D ? -1 : 1;
2529
+ if (P > C)
2530
+ return D ? 1 : -1;
2528
2531
  } else {
2529
- if (R < S)
2532
+ if (P < C)
2530
2533
  return -1;
2531
- if (R > S)
2534
+ if (P > C)
2532
2535
  return 1;
2533
2536
  }
2534
2537
  }
2535
2538
  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;
2539
+ }), j = () => Array.from(A.entries()).sort(([g, w], [_, R]) => {
2540
+ for (let m = 0; m < E.length; m++) {
2541
+ const O = E[m], x = l[m], P = me(w[0], O), C = me(R[0], O);
2542
+ if (P !== C)
2543
+ if (x.sort && x.sort.enabled) {
2544
+ const D = x.sort.type === "asc";
2545
+ if (P < C)
2546
+ return D ? -1 : 1;
2547
+ if (P > C)
2548
+ return D ? 1 : -1;
2546
2549
  } else {
2547
- if (R < S)
2550
+ if (P < C)
2548
2551
  return -1;
2549
- if (R > S)
2552
+ if (P > C)
2550
2553
  return 1;
2551
2554
  }
2552
2555
  }
2553
2556
  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;
2557
+ }), T = () => {
2558
+ const g = [], w = Ye(i);
2559
+ for (let _ = 1; _ <= w.length; _++)
2560
+ g.push(w.slice(0, _));
2561
+ return g;
2565
2562
  }, 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]);
2570
- 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] = {
2563
+ const g = T(), w = /* @__PURE__ */ new Set();
2564
+ return g.forEach((_, R) => {
2565
+ const m = _[_.length - 1];
2566
+ m.total && m.total.enabled && w.add(R);
2567
+ }), w;
2568
+ }, I = () => {
2569
+ const g = T(), w = [], _ = J();
2570
+ return _.size === 0 || _.forEach((R) => {
2571
+ let m = [];
2572
+ R > 0 && (m = g[R - 1]);
2573
+ const O = {};
2574
+ t.forEach((x) => {
2575
+ let P = "";
2576
+ if (R > 0 ? P = m.map((C) => me(x, C.field)).join("|") : P = "__GLOBAL__", !O[P]) {
2577
+ const D = g[R][R].total;
2578
+ O[P] = {
2576
2579
  records: [],
2577
- config: $
2580
+ config: D
2578
2581
  };
2579
2582
  }
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));
2583
+ O[P].records.push(x);
2584
+ }), w.push({ level: R, data: O });
2585
+ }), w;
2586
+ }, N = j(), $ = /* @__PURE__ */ new Map(), k = (g, w) => {
2587
+ if (ce.has(g)) {
2588
+ const _ = ce.get(g), m = !_.get(w);
2589
+ _.set(w, m), dt.set("rowKey", w), dt.set("level", g), dt.set("expanded", m);
2590
+ const O = g - 1;
2591
+ if (O >= 0 && O < d.length && d[O].clickExpandChildren && m === !0) {
2592
+ const P = g + 1;
2593
+ if (ce.has(P)) {
2594
+ const C = ce.get(P), D = w + "|";
2595
+ C.forEach((K, ne) => {
2596
+ ne.startsWith(D) && (C.set(ne, !0), p(P, ne));
2594
2597
  });
2595
2598
  }
2596
2599
  }
2597
2600
  }
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, _));
2601
+ }, p = (g, w) => {
2602
+ const _ = g + 1;
2603
+ if (ce.has(_)) {
2604
+ const R = ce.get(_), m = w + "|";
2605
+ R.forEach((O, x) => {
2606
+ x.startsWith(m) && (R.set(x, !0), p(_, x));
2604
2607
  });
2605
2608
  }
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;
2609
+ }, F = (g) => {
2610
+ const w = I(), _ = [...g];
2611
+ if (w.length === 0)
2612
+ return _;
2613
+ for (let R = 0; R < w.length; R++) {
2614
+ const { level: m, data: O } = w[R];
2615
+ Object.keys(O).forEach((x) => {
2616
+ const { records: P, config: C } = O[x], { label: D = Gt, position: K = "bottom" } = C || {}, ne = x.split("|");
2617
+ let y = -1, le = -1;
2618
+ if (m === 0)
2619
+ y = 0, le = _.length - 1;
2617
2620
  else
2618
- for (let Z = 0; Z < w.length; Z++) {
2619
- const te = w[Z];
2620
- f.slice(0, g).every(($e, pe) => {
2621
- var se;
2622
- return ((se = te[pe]) == null ? void 0 : se.content) === ne[pe];
2623
- }) && (ee === -1 && (ee = Z), O = Z);
2621
+ for (let X = 0; X < _.length; X++) {
2622
+ const ae = _[X];
2623
+ v.slice(0, m).every((Pe, we) => {
2624
+ var ie;
2625
+ return ((ie = ae[we]) == null ? void 0 : ie.content) === ne[we];
2626
+ }) && (y === -1 && (y = X), le = X);
2624
2627
  }
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({
2634
- content: se,
2628
+ if (y !== -1) {
2629
+ const X = [];
2630
+ let ae = "";
2631
+ v.forEach((Pe, we) => {
2632
+ let ie = Ce;
2633
+ const te = we + 1, ue = te < v.length, Me = d[we];
2634
+ we <= m && (we === m ? ie = D : ie = ne[we], ae += `|${ie}`);
2635
+ const We = ce.has(te) && ce.get(te).get(ae) || !0;
2636
+ (ie === Ce || ie === null || ie === void 0) && Me.emptyReplace && (ie = Me.emptyReplace), X.push({
2637
+ content: ie,
2635
2638
  rowspan: 1,
2636
2639
  colspan: 1,
2637
2640
  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
2641
+ rowKey: ae,
2642
+ expandable: K === "top" && ue && ie !== Ce && ie !== Gt,
2643
+ expanded: K === "top" ? We : !1,
2644
+ level: te,
2645
+ onClick: K === "top" && ue ? (ze) => k(ze.level, ze.rowKey) : void 0
2643
2646
  });
2644
- }), z.forEach(([$e, pe]) => {
2645
- const se = {};
2646
- c.forEach((ae) => {
2647
- if (ae.calculateType === "expr")
2647
+ }), N.forEach(([Pe, we]) => {
2648
+ const ie = {};
2649
+ c.forEach((te) => {
2650
+ if (te.calculateType === "expr")
2648
2651
  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;
2652
+ const ue = te.field, Me = te.calculateType || "sum", ze = P.filter((Ve) => ft(Ve, E) === Pe).map((Ve) => me(Ve, ue));
2653
+ let je = 0;
2654
+ Ue[Me] && (je = Ue[Me](ze)), ie[te.field] = je;
2655
+ }), c.forEach((te) => {
2656
+ if (te.calculateType === "expr" && te.expression) {
2657
+ const ue = Jt(te.expression, ie);
2658
+ ie[te.field] = ue !== null ? ue : 0;
2656
2659
  }
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,
2660
+ }), h.forEach((te) => {
2661
+ let ue = ie[te.field];
2662
+ (ue === Ce || ue === null || ue === void 0 || typeof ue == "number" && isNaN(ue)) && te.emptyReplace && (ue = te.emptyReplace), X.push({
2663
+ content: ue,
2661
2664
  rowspan: 1,
2662
2665
  colspan: 1,
2663
2666
  data: null
2664
2667
  });
2665
2668
  });
2666
2669
  });
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));
2670
+ const ve = K === "top" ? y : le + 1;
2671
+ ht.has(ae) || (_.splice(ve, 0, X), ht.set(ae, 1), K === "top" && m > 0 && $.set(x, ae));
2669
2672
  }
2670
2673
  });
2671
2674
  }
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, !_);
2675
+ return _;
2676
+ }, M = Ye(i);
2677
+ ce.clear(), t.forEach((g) => {
2678
+ let w = "";
2679
+ v.forEach((_, R) => {
2680
+ const m = R + 1, O = me(g, _);
2681
+ w += `|${O}`, ce.has(m) || ce.set(m, /* @__PURE__ */ new Map());
2682
+ const x = d[R].collapsed;
2683
+ ce.get(m).set(w, !x);
2681
2684
  });
2682
2685
  });
2683
- const M = T();
2684
- let W = [];
2686
+ const W = u();
2687
+ let Y = [];
2685
2688
  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);
2689
+ W.forEach(([g, w]) => {
2690
+ const _ = w[0];
2691
+ let R = "";
2692
+ v.forEach((m, O) => {
2693
+ const x = me(_, m), P = O + 1;
2694
+ R += `|${x}`, H.has(P) || H.set(P, /* @__PURE__ */ new Map());
2695
+ const C = H.get(P);
2696
+ C.set(R, (C.get(R) || 0) + 1);
2694
2697
  });
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);
2698
+ }), W.forEach(([g, w]) => {
2699
+ const _ = w[0], R = [];
2700
+ let m = "";
2701
+ v.forEach((O, x) => {
2702
+ var ae;
2703
+ let P = me(_, O);
2704
+ const C = x + 1, D = C < v.length, K = d[x];
2705
+ m += `|${P}`;
2706
+ let ne = g;
2707
+ const y = M.find((ve) => ve.field === O);
2708
+ if ((ae = y == null ? void 0 : y.total) != null && ae.enabled && y.total.label && (ne = `${m}|${y.total.label}`), D) {
2709
+ const ve = m;
2710
+ $.has(ve) || $.set(ve, ne);
2708
2711
  }
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,
2712
+ const le = ce.has(C) && ce.get(C).get(m) || !0, X = C < v.length ? (H.get(C).get(m) || 0) > 1 : !1;
2713
+ (P === Ce || P === null || P === void 0) && K.emptyReplace && (P = K.emptyReplace), R.push({
2714
+ content: P,
2712
2715
  rowspan: 1,
2713
2716
  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
2717
+ data: _,
2718
+ expandable: D && X,
2719
+ expanded: le,
2720
+ level: C,
2721
+ rowKey: m,
2722
+ onClick: D && X ? (ve) => k(ve.level, ve.rowKey) : void 0
2720
2723
  });
2721
- }), z.forEach(([x, _]) => {
2722
- const R = {};
2723
- c.forEach((S) => {
2724
- if (S.calculateType === "expr")
2724
+ }), N.forEach(([O, x]) => {
2725
+ const P = {};
2726
+ c.forEach((C) => {
2727
+ if (C.calculateType === "expr")
2725
2728
  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;
2729
+ const D = C.field, K = C.calculateType || "sum", ne = `${g}||${O}`, le = (S.get(ne) || []).map((ae) => me(ae, D));
2730
+ let X = 0;
2731
+ Ue[K] && (X = Ue[K](le)), P[C.field] = X;
2732
+ }), c.forEach((C) => {
2733
+ if (C.calculateType === "expr" && C.expression) {
2734
+ const D = Jt(C.expression, P);
2735
+ P[C.field] = D !== null ? D : 0;
2733
2736
  }
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: $,
2737
+ }), h.forEach((C) => {
2738
+ let D = P[C.field];
2739
+ (D === Ce || D === null || D === void 0 || typeof D == "number" && isNaN(D)) && C.emptyReplace && (D = C.emptyReplace), R.push({
2740
+ content: D,
2738
2741
  rowspan: 1,
2739
2742
  colspan: 1,
2740
- data: w
2743
+ data: _
2741
2744
  });
2742
2745
  });
2743
- }), W.push({ cells: m, rowKey: g });
2746
+ }), Y.push({ cells: R, rowKey: m });
2744
2747
  });
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)
2748
+ const ee = (g) => {
2749
+ const _ = g.split("|").filter(Boolean).length;
2750
+ for (let R = 1; R < _; R++)
2751
+ if (ce.has(R)) {
2752
+ const m = ce.get(R), O = g.split("|").slice(0, R + 1).join("|");
2753
+ if (m.has(O) && !m.get(O)) {
2754
+ const x = O, P = $.get(x);
2755
+ if (g !== P)
2753
2756
  return !1;
2754
2757
  }
2755
2758
  }
2756
2759
  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];
2760
+ }, de = (g) => {
2761
+ var w, _;
2762
+ if (!g || g.length === 0)
2763
+ return g;
2764
+ for (let R = 0; R < d.length; R++) {
2765
+ let m = g[0][R].content, O = 0, x = d[R], P = (w = x.total) == null ? void 0 : w.enabled, C = ((_ = x.total) == null ? void 0 : _.label) || "";
2766
+ for (let D = 1; D < g.length; D++) {
2767
+ const K = g[D][R];
2765
2768
  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) {
2769
+ if (R > 0)
2770
+ for (let y = 0; y < R; y++) {
2771
+ const le = g[O][y], X = g[D][y];
2772
+ if (le.content !== X.content) {
2770
2773
  ne = !1;
2771
2774
  break;
2772
2775
  }
2773
2776
  }
2774
- Y.content !== xe && (!R || Y.content !== S) && Y.content === g && ne ? (Y.rowspan = 0, v[x][m].rowspan++) : (g = Y.content, x = $);
2777
+ K.content !== Ce && (!P || K.content !== C) && K.content === m && ne ? (K.rowspan = 0, g[O][R].rowspan++) : (m = K.content, O = D);
2775
2778
  }
2776
2779
  }
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));
2780
+ return g;
2781
+ }, be = (g) => {
2782
+ const w = g.filter((m) => ee(m.rowKey)), _ = w.map((m) => m.cells.map((O) => {
2783
+ const x = { ...O };
2784
+ if (x.expandable && x.level && x.rowKey && ce.has(x.level)) {
2785
+ const P = ce.get(x.level);
2786
+ P.has(x.rowKey) && (x.expanded = P.get(x.rowKey));
2784
2787
  }
2785
- return _;
2788
+ return x;
2786
2789
  }));
2787
- return re(w), C.map((g, x) => ({
2788
- rowKey: g.rowKey,
2789
- cells: w[x]
2790
+ return de(_), w.map((m, O) => ({
2791
+ rowKey: m.rowKey,
2792
+ cells: _[O]
2790
2793
  }));
2791
2794
  };
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,
2795
+ ht.clear();
2796
+ const Se = Y.map((g) => g.cells), pe = F(Se).map((g, w) => {
2797
+ let _ = "";
2798
+ return g.forEach((R, m) => {
2799
+ m < v.length && R.rowKey && (_ = R.rowKey);
2800
+ }), { cells: g, rowKey: _ };
2801
+ }), Te = (() => {
2802
+ const g = [];
2803
+ if (d.forEach((w) => {
2804
+ g.push({
2805
+ ...w,
2806
+ width: w.width || 100,
2804
2807
  fixed: "left",
2805
- key: C.field
2808
+ key: w.field
2806
2809
  });
2807
2810
  }), l.length === 0)
2808
- c.forEach((C) => {
2809
- v.push({
2810
- ...C,
2811
- width: C.width || 100,
2812
- key: C.field
2811
+ h.forEach((w) => {
2812
+ g.push({
2813
+ ...w,
2814
+ width: w.width || 100,
2815
+ key: w.field
2813
2816
  });
2814
2817
  });
2815
2818
  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 = {
2819
+ const w = [];
2820
+ N.forEach(([_, R]) => {
2821
+ const m = _.split("|").filter((x) => x !== "");
2822
+ let O = w;
2823
+ m.forEach((x, P) => {
2824
+ var D;
2825
+ let C = O.find((K) => K.title === x);
2826
+ if (!C) {
2827
+ const ne = `${((D = l[P]) == null ? void 0 : D.field) || "unknown"}__${x}`, y = {
2825
2828
  field: ne,
2826
- title: _,
2829
+ title: x,
2827
2830
  children: [],
2828
2831
  key: ne
2829
2832
  };
2830
- x.push(ee), S = ee;
2833
+ O.push(y), C = y;
2831
2834
  }
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}`
2835
+ P === m.length - 1 ? h.forEach((K) => {
2836
+ C.children || (C.children = []), C.children.push({
2837
+ ...K,
2838
+ field: `${_}||${K.field}`,
2839
+ title: K.title || K.field,
2840
+ width: K.width || 100,
2841
+ key: `${_}||${K.field}`
2839
2842
  });
2840
- }) : (S.children || (S.children = []), x = S.children);
2843
+ }) : (C.children || (C.children = []), O = C.children);
2841
2844
  });
2842
- }), v.push(...C);
2845
+ }), g.push(...w);
2843
2846
  }
2844
- return v;
2847
+ return g;
2845
2848
  })();
2846
2849
  return {
2847
- list: _e,
2848
- dataExpandFilter: he,
2849
- tableColumns: Se
2850
+ list: pe,
2851
+ dataExpandFilter: be,
2852
+ tableColumns: Te
2850
2853
  };
2851
2854
  }, Zn = (e) => {
2852
2855
  const { data: t, fields: r } = e, { rows: n, columns: i, values: s } = r;
@@ -2855,60 +2858,60 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2855
2858
  if (!t || t.length === 0)
2856
2859
  return { list: [], dataExpandFilter: (a) => a };
2857
2860
  if (n.length === 0 && i.length === 0) {
2858
- const a = s.filter((c) => !c.hidden), h = a.map((c) => ({
2861
+ const a = s.filter((c) => !c.hidden), d = a.map((c) => ({
2859
2862
  ...c,
2860
2863
  width: c.width || 100,
2861
2864
  key: c.field
2862
2865
  }));
2863
2866
  return {
2864
- list: t.map((c, f) => ({ cells: a.map((b) => ({
2865
- content: c[b.field] ?? xe,
2867
+ list: t.map((c, h) => ({ cells: a.map((E) => ({
2868
+ content: c[E.field] ?? Ce,
2866
2869
  rowspan: 1,
2867
2870
  colspan: 1,
2868
- style: b.style,
2871
+ style: E.style,
2869
2872
  data: c
2870
2873
  // Pass original record for detail view cells
2871
- })), rowKey: f.toString() })),
2874
+ })), rowKey: h.toString() })),
2872
2875
  dataExpandFilter: (c) => c,
2873
- tableColumns: h
2876
+ tableColumns: d
2874
2877
  };
2875
2878
  }
2876
2879
  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;
2880
+ }, to = Xt((e) => {
2881
+ const { scroll: t, data: r, meta: n, sortParams: i, fields: s } = e, [a, d] = $e(0), [l, c] = $e([]), [h, v] = $e([]), E = Le(null), z = ge(() => {
2882
+ if (E.current) {
2883
+ let p = E.current;
2881
2884
  if (!p || !p.list || !p.dataExpandFilter)
2882
2885
  return;
2883
2886
  c(p.dataExpandFilter(p.list));
2884
2887
  }
2885
2888
  }, []);
2886
- Qe(() => {
2889
+ et(() => {
2887
2890
  let F = Zn({
2888
2891
  data: r,
2889
2892
  meta: n,
2890
2893
  sortParams: i,
2891
2894
  fields: s
2892
2895
  });
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
+ E.current = F, F.tableColumns && v(F.tableColumns), z();
2897
+ }, [r, n, i, s, z]);
2898
+ const A = ge((p) => p ? typeof p == "string" ? parseInt(p.replace("px", "")) || 0 : typeof p == "number" ? p : 0 : 0, []), { baseWidth: S, colCount: u } = ye(() => {
2896
2899
  let p = 0, F = 0;
2897
2900
  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);
2901
+ W.forEach((Y) => {
2902
+ (!("type" in Y) || Y.type !== "group") && (p += A(Y.width), F += 1), Y != null && Y.children && Y.children.length > 0 && M(Y.children);
2900
2903
  });
2901
2904
  };
2902
- return M(f), { baseWidth: p, colCount: F };
2903
- }, [f, A]), j = ye(() => {
2905
+ return M(h), { baseWidth: p, colCount: F };
2906
+ }, [h, A]), j = ye(() => {
2904
2907
  const p = (F) => F.map((M) => {
2905
2908
  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;
2909
+ S < a && u > 0 && (W = Math.floor((a - S) / u));
2910
+ const H = (M.width ? A(M.width) : Mn) + W;
2911
+ return M.colSpan && M.colSpan > 1 ? M.width = H * M.colSpan : M.width = H, M.fixed && (M.fixed = !1), M != null && M.children && M.children.length > 0 && (M.children = p(M.children)), M;
2909
2912
  });
2910
- return p(Et(f));
2911
- }, [f, T, a, u, A]), P = ye(() => {
2913
+ return p(wt(h));
2914
+ }, [h, S, a, u, A]), T = ye(() => {
2912
2915
  let p = 0;
2913
2916
  const F = (M) => {
2914
2917
  M.forEach((W) => {
@@ -2916,7 +2919,7 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2916
2919
  });
2917
2920
  };
2918
2921
  return F(j), p;
2919
- }, [j, A]), J = ze(null), z = ze(null), N = ze(!1), D = ge(({ scrollLeft: p }) => {
2922
+ }, [j, A]), J = Le(null), I = Le(null), N = Le(!1), $ = ge(({ scrollLeft: p }) => {
2920
2923
  N.current || (N.current = !0, J.current && (J.current.scrollLeft = p), requestAnimationFrame(() => {
2921
2924
  N.current = !1;
2922
2925
  }));
@@ -2925,20 +2928,20 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2925
2928
  return;
2926
2929
  N.current = !0;
2927
2930
  const F = p.currentTarget.scrollLeft;
2928
- z.current && (z.current.scrollLeft = F), requestAnimationFrame(() => {
2931
+ I.current && (I.current.scrollLeft = F), requestAnimationFrame(() => {
2929
2932
  N.current = !1;
2930
2933
  });
2931
2934
  }, []);
2932
2935
  return /* @__PURE__ */ Q.jsx(
2933
- Rt,
2936
+ St,
2934
2937
  {
2935
2938
  onResize: ({ width: p }) => {
2936
- p && p !== a && h(p);
2939
+ p && p !== a && d(p);
2937
2940
  },
2938
2941
  children: /* @__PURE__ */ Q.jsxs(
2939
2942
  "div",
2940
2943
  {
2941
- className: St("virtual-table", e.className),
2944
+ className: Ct("virtual-table", e.className),
2942
2945
  style: { width: "100%", ...e.style },
2943
2946
  children: [
2944
2947
  /* @__PURE__ */ Q.jsx(
@@ -2956,14 +2959,14 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
2956
2959
  {
2957
2960
  data: l,
2958
2961
  info: {
2959
- ref: z,
2960
- onScroll: D
2962
+ ref: I,
2963
+ onScroll: $
2961
2964
  },
2962
2965
  scroll: t,
2963
2966
  columns: j,
2964
2967
  tableWidth: a,
2965
- gridWidth: P,
2966
- handleExpand: I,
2968
+ gridWidth: T,
2969
+ handleExpand: z,
2967
2970
  meta: n
2968
2971
  }
2969
2972
  ) })