@cdc/waffle-chart 4.23.8 → 4.23.9

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.
@@ -26,14 +26,14 @@ function es() {
26
26
  ji = 1;
27
27
  var e = ht, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
28
28
  function o(l, s, c) {
29
- var d, h = {}, m = null, L = null;
30
- c !== void 0 && (m = "" + c), s.key !== void 0 && (m = "" + s.key), s.ref !== void 0 && (L = s.ref);
29
+ var d, h = {}, m = null, S = null;
30
+ c !== void 0 && (m = "" + c), s.key !== void 0 && (m = "" + s.key), s.ref !== void 0 && (S = s.ref);
31
31
  for (d in s)
32
32
  r.call(s, d) && !a.hasOwnProperty(d) && (h[d] = s[d]);
33
33
  if (l && l.defaultProps)
34
34
  for (d in s = l.defaultProps, s)
35
35
  h[d] === void 0 && (h[d] = s[d]);
36
- return { $$typeof: t, type: l, key: m, ref: L, props: h, _owner: i.current };
36
+ return { $$typeof: t, type: l, key: m, ref: S, props: h, _owner: i.current };
37
37
  }
38
38
  return Gt.Fragment = n, Gt.jsx = o, Gt.jsxs = o, Gt;
39
39
  }
@@ -50,45 +50,45 @@ var Zt = {};
50
50
  var $i;
51
51
  function ts() {
52
52
  return $i || ($i = 1, process.env.NODE_ENV !== "production" && function() {
53
- var e = ht, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), L = Symbol.for("react.offscreen"), E = Symbol.iterator, w = "@@iterator";
53
+ var e = ht, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), E = Symbol.iterator, w = "@@iterator";
54
54
  function C(p) {
55
55
  if (p === null || typeof p != "object")
56
56
  return null;
57
- var $ = E && p[E] || p[w];
58
- return typeof $ == "function" ? $ : null;
57
+ var z = E && p[E] || p[w];
58
+ return typeof z == "function" ? z : null;
59
59
  }
60
60
  var A = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
61
- function H(p) {
61
+ function $(p) {
62
62
  {
63
- for (var $ = arguments.length, te = new Array($ > 1 ? $ - 1 : 0), he = 1; he < $; he++)
63
+ for (var z = arguments.length, te = new Array(z > 1 ? z - 1 : 0), he = 1; he < z; he++)
64
64
  te[he - 1] = arguments[he];
65
- F("error", p, te);
65
+ j("error", p, te);
66
66
  }
67
67
  }
68
- function F(p, $, te) {
68
+ function j(p, z, te) {
69
69
  {
70
70
  var he = A.ReactDebugCurrentFrame, xe = he.getStackAddendum();
71
- xe !== "" && ($ += "%s", te = te.concat([xe]));
71
+ xe !== "" && (z += "%s", te = te.concat([xe]));
72
72
  var Le = te.map(function(ye) {
73
73
  return String(ye);
74
74
  });
75
- Le.unshift("Warning: " + $), Function.prototype.apply.call(console[p], console, Le);
75
+ Le.unshift("Warning: " + z), Function.prototype.apply.call(console[p], console, Le);
76
76
  }
77
77
  }
78
- var O = !1, _ = !1, le = !1, q = !1, f = !1, u;
79
- u = Symbol.for("react.module.reference");
78
+ var O = !1, _ = !1, le = !1, q = !1, u = !1, f;
79
+ f = Symbol.for("react.module.reference");
80
80
  function b(p) {
81
- return !!(typeof p == "string" || typeof p == "function" || p === r || p === a || f || p === i || p === c || p === d || q || p === L || O || _ || le || typeof p == "object" && p !== null && (p.$$typeof === m || p.$$typeof === h || p.$$typeof === o || p.$$typeof === l || p.$$typeof === s || // This needs to include all possible module reference object
81
+ return !!(typeof p == "string" || typeof p == "function" || p === r || p === a || u || p === i || p === c || p === d || q || p === S || O || _ || le || typeof p == "object" && p !== null && (p.$$typeof === m || p.$$typeof === h || p.$$typeof === o || p.$$typeof === l || p.$$typeof === s || // This needs to include all possible module reference object
82
82
  // types supported by any Flight configuration anywhere since
83
83
  // we don't know which Flight build this will end up being used
84
84
  // with.
85
- p.$$typeof === u || p.getModuleId !== void 0));
85
+ p.$$typeof === f || p.getModuleId !== void 0));
86
86
  }
87
- function v(p, $, te) {
87
+ function v(p, z, te) {
88
88
  var he = p.displayName;
89
89
  if (he)
90
90
  return he;
91
- var xe = $.displayName || $.name || "";
91
+ var xe = z.displayName || z.name || "";
92
92
  return xe !== "" ? te + "(" + xe + ")" : te;
93
93
  }
94
94
  function M(p) {
@@ -97,7 +97,7 @@ function ts() {
97
97
  function R(p) {
98
98
  if (p == null)
99
99
  return null;
100
- if (typeof p.tag == "number" && H("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof p == "function")
100
+ if (typeof p.tag == "number" && $("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof p == "function")
101
101
  return p.displayName || p.name || null;
102
102
  if (typeof p == "string")
103
103
  return p;
@@ -118,8 +118,8 @@ function ts() {
118
118
  if (typeof p == "object")
119
119
  switch (p.$$typeof) {
120
120
  case l:
121
- var $ = p;
122
- return M($) + ".Consumer";
121
+ var z = p;
122
+ return M(z) + ".Consumer";
123
123
  case o:
124
124
  var te = p;
125
125
  return M(te._context) + ".Provider";
@@ -139,14 +139,14 @@ function ts() {
139
139
  }
140
140
  return null;
141
141
  }
142
- var Y = Object.assign, ie = 0, ee, W, fe, K, S, N, T;
142
+ var Y = Object.assign, ie = 0, ee, W, fe, K, L, N, T;
143
143
  function V() {
144
144
  }
145
145
  V.__reactDisabledLog = !0;
146
146
  function Z() {
147
147
  {
148
148
  if (ie === 0) {
149
- ee = console.log, W = console.info, fe = console.warn, K = console.error, S = console.group, N = console.groupCollapsed, T = console.groupEnd;
149
+ ee = console.log, W = console.info, fe = console.warn, K = console.error, L = console.group, N = console.groupCollapsed, T = console.groupEnd;
150
150
  var p = {
151
151
  configurable: !0,
152
152
  enumerable: !0,
@@ -188,7 +188,7 @@ function ts() {
188
188
  value: K
189
189
  }),
190
190
  group: Y({}, p, {
191
- value: S
191
+ value: L
192
192
  }),
193
193
  groupCollapsed: Y({}, p, {
194
194
  value: N
@@ -198,11 +198,11 @@ function ts() {
198
198
  })
199
199
  });
200
200
  }
201
- ie < 0 && H("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
201
+ ie < 0 && $("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
202
202
  }
203
203
  }
204
- var j = A.ReactCurrentDispatcher, B;
205
- function Q(p, $, te) {
204
+ var F = A.ReactCurrentDispatcher, B;
205
+ function Q(p, z, te) {
206
206
  {
207
207
  if (B === void 0)
208
208
  try {
@@ -220,7 +220,7 @@ function ts() {
220
220
  var U = typeof WeakMap == "function" ? WeakMap : Map;
221
221
  g = new U();
222
222
  }
223
- function x(p, $) {
223
+ function x(p, z) {
224
224
  if (!p || I)
225
225
  return "";
226
226
  {
@@ -233,9 +233,9 @@ function ts() {
233
233
  var xe = Error.prepareStackTrace;
234
234
  Error.prepareStackTrace = void 0;
235
235
  var Le;
236
- Le = j.current, j.current = null, Z();
236
+ Le = F.current, F.current = null, Z();
237
237
  try {
238
- if ($) {
238
+ if (z) {
239
239
  var ye = function() {
240
240
  throw Error();
241
241
  };
@@ -286,19 +286,19 @@ function ts() {
286
286
  }
287
287
  }
288
288
  } finally {
289
- I = !1, j.current = Le, ne(), Error.prepareStackTrace = xe;
289
+ I = !1, F.current = Le, ne(), Error.prepareStackTrace = xe;
290
290
  }
291
291
  var Dt = p ? p.displayName || p.name : "", Di = Dt ? Q(Dt) : "";
292
292
  return typeof p == "function" && g.set(p, Di), Di;
293
293
  }
294
- function J(p, $, te) {
294
+ function J(p, z, te) {
295
295
  return x(p, !1);
296
296
  }
297
297
  function se(p) {
298
- var $ = p.prototype;
299
- return !!($ && $.isReactComponent);
298
+ var z = p.prototype;
299
+ return !!(z && z.isReactComponent);
300
300
  }
301
- function re(p, $, te) {
301
+ function re(p, z, te) {
302
302
  if (p == null)
303
303
  return "";
304
304
  if (typeof p == "function")
@@ -316,11 +316,11 @@ function ts() {
316
316
  case s:
317
317
  return J(p.render);
318
318
  case h:
319
- return re(p.type, $, te);
319
+ return re(p.type, z, te);
320
320
  case m: {
321
321
  var he = p, xe = he._payload, Le = he._init;
322
322
  try {
323
- return re(Le(xe), $, te);
323
+ return re(Le(xe), z, te);
324
324
  } catch {
325
325
  }
326
326
  }
@@ -330,12 +330,12 @@ function ts() {
330
330
  var ae = Object.prototype.hasOwnProperty, D = {}, oe = A.ReactDebugCurrentFrame;
331
331
  function me(p) {
332
332
  if (p) {
333
- var $ = p._owner, te = re(p.type, p._source, $ ? $.type : null);
333
+ var z = p._owner, te = re(p.type, p._source, z ? z.type : null);
334
334
  oe.setExtraStackFrame(te);
335
335
  } else
336
336
  oe.setExtraStackFrame(null);
337
337
  }
338
- function ue(p, $, te, he, xe) {
338
+ function ue(p, z, te, he, xe) {
339
339
  {
340
340
  var Le = Function.call.bind(ae);
341
341
  for (var ye in p)
@@ -346,11 +346,11 @@ function ts() {
346
346
  var Ue = Error((he || "React class") + ": " + te + " type `" + ye + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[ye] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
347
  throw Ue.name = "Invariant Violation", Ue;
348
348
  }
349
- ge = p[ye]($, ye, he, te, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
349
+ ge = p[ye](z, ye, he, te, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
350
  } catch (Me) {
351
351
  ge = Me;
352
352
  }
353
- ge && !(ge instanceof Error) && (me(xe), H("%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).", he || "React class", te, ye, typeof ge), me(null)), ge instanceof Error && !(ge.message in D) && (D[ge.message] = !0, me(xe), H("Failed %s type: %s", te, ge.message), me(null));
353
+ ge && !(ge instanceof Error) && (me(xe), $("%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).", he || "React class", te, ye, typeof ge), me(null)), ge instanceof Error && !(ge.message in D) && (D[ge.message] = !0, me(xe), $("Failed %s type: %s", te, ge.message), me(null));
354
354
  }
355
355
  }
356
356
  }
@@ -360,23 +360,23 @@ function ts() {
360
360
  }
361
361
  function k(p) {
362
362
  {
363
- var $ = typeof Symbol == "function" && Symbol.toStringTag, te = $ && p[Symbol.toStringTag] || p.constructor.name || "Object";
363
+ var z = typeof Symbol == "function" && Symbol.toStringTag, te = z && p[Symbol.toStringTag] || p.constructor.name || "Object";
364
364
  return te;
365
365
  }
366
366
  }
367
367
  function Ce(p) {
368
368
  try {
369
- return z(p), !1;
369
+ return H(p), !1;
370
370
  } catch {
371
371
  return !0;
372
372
  }
373
373
  }
374
- function z(p) {
374
+ function H(p) {
375
375
  return "" + p;
376
376
  }
377
377
  function pe(p) {
378
378
  if (Ce(p))
379
- return H("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", k(p)), z(p);
379
+ return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", k(p)), H(p);
380
380
  }
381
381
  var de = A.ReactCurrentOwner, Te = {
382
382
  key: !0,
@@ -387,30 +387,30 @@ function ts() {
387
387
  ke = {};
388
388
  function Ae(p) {
389
389
  if (ae.call(p, "ref")) {
390
- var $ = Object.getOwnPropertyDescriptor(p, "ref").get;
391
- if ($ && $.isReactWarning)
390
+ var z = Object.getOwnPropertyDescriptor(p, "ref").get;
391
+ if (z && z.isReactWarning)
392
392
  return !1;
393
393
  }
394
394
  return p.ref !== void 0;
395
395
  }
396
396
  function qe(p) {
397
397
  if (ae.call(p, "key")) {
398
- var $ = Object.getOwnPropertyDescriptor(p, "key").get;
399
- if ($ && $.isReactWarning)
398
+ var z = Object.getOwnPropertyDescriptor(p, "key").get;
399
+ if (z && z.isReactWarning)
400
400
  return !1;
401
401
  }
402
402
  return p.key !== void 0;
403
403
  }
404
- function Pe(p, $) {
405
- if (typeof p.ref == "string" && de.current && $ && de.current.stateNode !== $) {
404
+ function Pe(p, z) {
405
+ if (typeof p.ref == "string" && de.current && z && de.current.stateNode !== z) {
406
406
  var te = R(de.current.type);
407
- ke[te] || (H('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', R(de.current.type), p.ref), ke[te] = !0);
407
+ ke[te] || ($('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', R(de.current.type), p.ref), ke[te] = !0);
408
408
  }
409
409
  }
410
- function nt(p, $) {
410
+ function nt(p, z) {
411
411
  {
412
412
  var te = function() {
413
- we || (we = !0, H("%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)", $));
413
+ we || (we = !0, $("%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)", z));
414
414
  };
415
415
  te.isReactWarning = !0, Object.defineProperty(p, "key", {
416
416
  get: te,
@@ -418,10 +418,10 @@ function ts() {
418
418
  });
419
419
  }
420
420
  }
421
- function Et(p, $) {
421
+ function Et(p, z) {
422
422
  {
423
423
  var te = function() {
424
- Ne || (Ne = !0, H("%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)", $));
424
+ Ne || (Ne = !0, $("%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)", z));
425
425
  };
426
426
  te.isReactWarning = !0, Object.defineProperty(p, "ref", {
427
427
  get: te,
@@ -429,13 +429,13 @@ function ts() {
429
429
  });
430
430
  }
431
431
  }
432
- var Yt = function(p, $, te, he, xe, Le, ye) {
432
+ var Yt = function(p, z, te, he, xe, Le, ye) {
433
433
  var ge = {
434
434
  // This tag allows us to uniquely identify this as a React Element
435
435
  $$typeof: t,
436
436
  // Built-in properties that belong on the element
437
437
  type: p,
438
- key: $,
438
+ key: z,
439
439
  ref: te,
440
440
  props: ye,
441
441
  // Record the component responsible for creating this element.
@@ -458,12 +458,12 @@ function ts() {
458
458
  value: xe
459
459
  }), Object.freeze && (Object.freeze(ge.props), Object.freeze(ge)), ge;
460
460
  };
461
- function Ul(p, $, te, he, xe) {
461
+ function Ul(p, z, te, he, xe) {
462
462
  {
463
463
  var Le, ye = {}, ge = null, Ue = null;
464
- te !== void 0 && (pe(te), ge = "" + te), qe($) && (pe($.key), ge = "" + $.key), Ae($) && (Ue = $.ref, Pe($, xe));
465
- for (Le in $)
466
- ae.call($, Le) && !Te.hasOwnProperty(Le) && (ye[Le] = $[Le]);
464
+ te !== void 0 && (pe(te), ge = "" + te), qe(z) && (pe(z.key), ge = "" + z.key), Ae(z) && (Ue = z.ref, Pe(z, xe));
465
+ for (Le in z)
466
+ ae.call(z, Le) && !Te.hasOwnProperty(Le) && (ye[Le] = z[Le]);
467
467
  if (p && p.defaultProps) {
468
468
  var Me = p.defaultProps;
469
469
  for (Le in Me)
@@ -479,7 +479,7 @@ function ts() {
479
479
  var nr = A.ReactCurrentOwner, Ri = A.ReactDebugCurrentFrame;
480
480
  function It(p) {
481
481
  if (p) {
482
- var $ = p._owner, te = re(p.type, p._source, $ ? $.type : null);
482
+ var z = p._owner, te = re(p.type, p._source, z ? z.type : null);
483
483
  Ri.setExtraStackFrame(te);
484
484
  } else
485
485
  Ri.setExtraStackFrame(null);
@@ -504,10 +504,10 @@ Check the render method of \`` + p + "`.";
504
504
  function Bl(p) {
505
505
  {
506
506
  if (p !== void 0) {
507
- var $ = p.fileName.replace(/^.*[\\\/]/, ""), te = p.lineNumber;
507
+ var z = p.fileName.replace(/^.*[\\\/]/, ""), te = p.lineNumber;
508
508
  return `
509
509
 
510
- Check your code at ` + $ + ":" + te + ".";
510
+ Check your code at ` + z + ":" + te + ".";
511
511
  }
512
512
  return "";
513
513
  }
@@ -515,37 +515,37 @@ Check your code at ` + $ + ":" + te + ".";
515
515
  var ki = {};
516
516
  function Wl(p) {
517
517
  {
518
- var $ = Ni();
519
- if (!$) {
518
+ var z = Ni();
519
+ if (!z) {
520
520
  var te = typeof p == "string" ? p : p.displayName || p.name;
521
- te && ($ = `
521
+ te && (z = `
522
522
 
523
523
  Check the top-level render call using <` + te + ">.");
524
524
  }
525
- return $;
525
+ return z;
526
526
  }
527
527
  }
528
- function Mi(p, $) {
528
+ function Mi(p, z) {
529
529
  {
530
530
  if (!p._store || p._store.validated || p.key != null)
531
531
  return;
532
532
  p._store.validated = !0;
533
- var te = Wl($);
533
+ var te = Wl(z);
534
534
  if (ki[te])
535
535
  return;
536
536
  ki[te] = !0;
537
537
  var he = "";
538
- p && p._owner && p._owner !== nr.current && (he = " It was passed a child from " + R(p._owner.type) + "."), It(p), H('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', te, he), It(null);
538
+ p && p._owner && p._owner !== nr.current && (he = " It was passed a child from " + R(p._owner.type) + "."), It(p), $('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', te, he), It(null);
539
539
  }
540
540
  }
541
- function Pi(p, $) {
541
+ function Pi(p, z) {
542
542
  {
543
543
  if (typeof p != "object")
544
544
  return;
545
545
  if (P(p))
546
546
  for (var te = 0; te < p.length; te++) {
547
547
  var he = p[te];
548
- ir(he) && Mi(he, $);
548
+ ir(he) && Mi(he, z);
549
549
  }
550
550
  else if (ir(p))
551
551
  p._store && (p._store.validated = !0);
@@ -553,48 +553,48 @@ Check the top-level render call using <` + te + ">.");
553
553
  var xe = C(p);
554
554
  if (typeof xe == "function" && xe !== p.entries)
555
555
  for (var Le = xe.call(p), ye; !(ye = Le.next()).done; )
556
- ir(ye.value) && Mi(ye.value, $);
556
+ ir(ye.value) && Mi(ye.value, z);
557
557
  }
558
558
  }
559
559
  }
560
560
  function Vl(p) {
561
561
  {
562
- var $ = p.type;
563
- if ($ == null || typeof $ == "string")
562
+ var z = p.type;
563
+ if (z == null || typeof z == "string")
564
564
  return;
565
565
  var te;
566
- if (typeof $ == "function")
567
- te = $.propTypes;
568
- else if (typeof $ == "object" && ($.$$typeof === s || // Note: Memo only checks outer props here.
566
+ if (typeof z == "function")
567
+ te = z.propTypes;
568
+ else if (typeof z == "object" && (z.$$typeof === s || // Note: Memo only checks outer props here.
569
569
  // Inner props are checked in the reconciler.
570
- $.$$typeof === h))
571
- te = $.propTypes;
570
+ z.$$typeof === h))
571
+ te = z.propTypes;
572
572
  else
573
573
  return;
574
574
  if (te) {
575
- var he = R($);
575
+ var he = R(z);
576
576
  ue(te, p.props, "prop", he, p);
577
- } else if ($.PropTypes !== void 0 && !rr) {
577
+ } else if (z.PropTypes !== void 0 && !rr) {
578
578
  rr = !0;
579
- var xe = R($);
580
- H("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", xe || "Unknown");
579
+ var xe = R(z);
580
+ $("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", xe || "Unknown");
581
581
  }
582
- typeof $.getDefaultProps == "function" && !$.getDefaultProps.isReactClassApproved && H("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
582
+ typeof z.getDefaultProps == "function" && !z.getDefaultProps.isReactClassApproved && $("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
583
583
  }
584
584
  }
585
585
  function ql(p) {
586
586
  {
587
- for (var $ = Object.keys(p.props), te = 0; te < $.length; te++) {
588
- var he = $[te];
587
+ for (var z = Object.keys(p.props), te = 0; te < z.length; te++) {
588
+ var he = z[te];
589
589
  if (he !== "children" && he !== "key") {
590
- It(p), H("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", he), It(null);
590
+ It(p), $("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", he), It(null);
591
591
  break;
592
592
  }
593
593
  }
594
- p.ref !== null && (It(p), H("Invalid attribute `ref` supplied to `React.Fragment`."), It(null));
594
+ p.ref !== null && (It(p), $("Invalid attribute `ref` supplied to `React.Fragment`."), It(null));
595
595
  }
596
596
  }
597
- function Ii(p, $, te, he, xe, Le) {
597
+ function Ii(p, z, te, he, xe, Le) {
598
598
  {
599
599
  var ye = b(p);
600
600
  if (!ye) {
@@ -603,13 +603,13 @@ Check the top-level render call using <` + te + ">.");
603
603
  var Ue = Bl(xe);
604
604
  Ue ? ge += Ue : ge += Ni();
605
605
  var Me;
606
- p === null ? Me = "null" : P(p) ? Me = "array" : p !== void 0 && p.$$typeof === t ? (Me = "<" + (R(p.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : Me = typeof p, H("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Me, ge);
606
+ p === null ? Me = "null" : P(p) ? Me = "array" : p !== void 0 && p.$$typeof === t ? (Me = "<" + (R(p.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : Me = typeof p, $("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Me, ge);
607
607
  }
608
- var Ie = Ul(p, $, te, xe, Le);
608
+ var Ie = Ul(p, z, te, xe, Le);
609
609
  if (Ie == null)
610
610
  return Ie;
611
611
  if (ye) {
612
- var Ye = $.children;
612
+ var Ye = z.children;
613
613
  if (Ye !== void 0)
614
614
  if (he)
615
615
  if (P(Ye)) {
@@ -617,18 +617,18 @@ Check the top-level render call using <` + te + ">.");
617
617
  Pi(Ye[Dt], p);
618
618
  Object.freeze && Object.freeze(Ye);
619
619
  } else
620
- H("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
620
+ $("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
621
621
  else
622
622
  Pi(Ye, p);
623
623
  }
624
624
  return p === r ? ql(Ie) : Vl(Ie), Ie;
625
625
  }
626
626
  }
627
- function Yl(p, $, te) {
628
- return Ii(p, $, te, !0);
627
+ function Yl(p, z, te) {
628
+ return Ii(p, z, te, !0);
629
629
  }
630
- function Gl(p, $, te) {
631
- return Ii(p, $, te, !1);
630
+ function Gl(p, z, te) {
631
+ return Ii(p, z, te, !1);
632
632
  }
633
633
  var Zl = Gl, Xl = Yl;
634
634
  Zt.Fragment = r, Zt.jsx = Zl, Zt.jsxs = Xl;
@@ -2230,14 +2230,14 @@ var vo = {}, pi = { exports: {} }, Yi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, $s =
2230
2230
  return s(Bs), A;
2231
2231
  }
2232
2232
  }
2233
- function L() {
2233
+ function S() {
2234
2234
  var E = [];
2235
2235
  d(E);
2236
2236
  for (var w; w = m(); )
2237
2237
  w !== !1 && (E.push(w), d(E));
2238
2238
  return E;
2239
2239
  }
2240
- return c(), L();
2240
+ return c(), S();
2241
2241
  };
2242
2242
  function Xi(e) {
2243
2243
  return e ? e.replace(Ws, Tt) : Tt;
@@ -2373,7 +2373,7 @@ function Qi(e) {
2373
2373
  var vc = ht, gc = wo, Cn = bo, yc = Cn.setStyleProp, bc = Cn.canTextBeChildOfNode;
2374
2374
  function xo(e, t) {
2375
2375
  t = t || {};
2376
- for (var n = t.library || vc, r = n.cloneElement, i = n.createElement, a = n.isValidElement, o = [], l, s, c = typeof t.replace == "function", d, h, m, L = t.trim, E = 0, w = e.length; E < w; E++) {
2376
+ for (var n = t.library || vc, r = n.cloneElement, i = n.createElement, a = n.isValidElement, o = [], l, s, c = typeof t.replace == "function", d, h, m, S = t.trim, E = 0, w = e.length; E < w; E++) {
2377
2377
  if (l = e[E], c && (d = t.replace(l), a(d))) {
2378
2378
  w > 1 && (d = r(d, {
2379
2379
  key: d.key || E
@@ -2381,7 +2381,7 @@ function xo(e, t) {
2381
2381
  continue;
2382
2382
  }
2383
2383
  if (l.type === "text") {
2384
- if (s = !l.data.trim().length, s && l.parent && !bc(l.parent) || L && s)
2384
+ if (s = !l.data.trim().length, s && l.parent && !bc(l.parent) || S && s)
2385
2385
  continue;
2386
2386
  o.push(l.data);
2387
2387
  continue;
@@ -2449,8 +2449,8 @@ function Tc() {
2449
2449
  if (ea)
2450
2450
  return _e;
2451
2451
  ea = 1;
2452
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, L = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, H = e ? Symbol.for("react.scope") : 60119;
2453
- function F(_) {
2452
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
2453
+ function j(_) {
2454
2454
  if (typeof _ == "object" && _ !== null) {
2455
2455
  var le = _.$$typeof;
2456
2456
  switch (le) {
@@ -2468,7 +2468,7 @@ function Tc() {
2468
2468
  case l:
2469
2469
  case d:
2470
2470
  case E:
2471
- case L:
2471
+ case S:
2472
2472
  case o:
2473
2473
  return _;
2474
2474
  default:
@@ -2481,35 +2481,35 @@ function Tc() {
2481
2481
  }
2482
2482
  }
2483
2483
  function O(_) {
2484
- return F(_) === c;
2484
+ return j(_) === c;
2485
2485
  }
2486
- return _e.AsyncMode = s, _e.ConcurrentMode = c, _e.ContextConsumer = l, _e.ContextProvider = o, _e.Element = t, _e.ForwardRef = d, _e.Fragment = r, _e.Lazy = E, _e.Memo = L, _e.Portal = n, _e.Profiler = a, _e.StrictMode = i, _e.Suspense = h, _e.isAsyncMode = function(_) {
2487
- return O(_) || F(_) === s;
2486
+ return _e.AsyncMode = s, _e.ConcurrentMode = c, _e.ContextConsumer = l, _e.ContextProvider = o, _e.Element = t, _e.ForwardRef = d, _e.Fragment = r, _e.Lazy = E, _e.Memo = S, _e.Portal = n, _e.Profiler = a, _e.StrictMode = i, _e.Suspense = h, _e.isAsyncMode = function(_) {
2487
+ return O(_) || j(_) === s;
2488
2488
  }, _e.isConcurrentMode = O, _e.isContextConsumer = function(_) {
2489
- return F(_) === l;
2489
+ return j(_) === l;
2490
2490
  }, _e.isContextProvider = function(_) {
2491
- return F(_) === o;
2491
+ return j(_) === o;
2492
2492
  }, _e.isElement = function(_) {
2493
2493
  return typeof _ == "object" && _ !== null && _.$$typeof === t;
2494
2494
  }, _e.isForwardRef = function(_) {
2495
- return F(_) === d;
2495
+ return j(_) === d;
2496
2496
  }, _e.isFragment = function(_) {
2497
- return F(_) === r;
2497
+ return j(_) === r;
2498
2498
  }, _e.isLazy = function(_) {
2499
- return F(_) === E;
2499
+ return j(_) === E;
2500
2500
  }, _e.isMemo = function(_) {
2501
- return F(_) === L;
2501
+ return j(_) === S;
2502
2502
  }, _e.isPortal = function(_) {
2503
- return F(_) === n;
2503
+ return j(_) === n;
2504
2504
  }, _e.isProfiler = function(_) {
2505
- return F(_) === a;
2505
+ return j(_) === a;
2506
2506
  }, _e.isStrictMode = function(_) {
2507
- return F(_) === i;
2507
+ return j(_) === i;
2508
2508
  }, _e.isSuspense = function(_) {
2509
- return F(_) === h;
2509
+ return j(_) === h;
2510
2510
  }, _e.isValidElementType = function(_) {
2511
- return typeof _ == "string" || typeof _ == "function" || _ === r || _ === c || _ === a || _ === i || _ === h || _ === m || typeof _ == "object" && _ !== null && (_.$$typeof === E || _.$$typeof === L || _.$$typeof === o || _.$$typeof === l || _.$$typeof === d || _.$$typeof === C || _.$$typeof === A || _.$$typeof === H || _.$$typeof === w);
2512
- }, _e.typeOf = F, _e;
2511
+ return typeof _ == "string" || typeof _ == "function" || _ === r || _ === c || _ === a || _ === i || _ === h || _ === m || typeof _ == "object" && _ !== null && (_.$$typeof === E || _.$$typeof === S || _.$$typeof === o || _.$$typeof === l || _.$$typeof === d || _.$$typeof === C || _.$$typeof === A || _.$$typeof === $ || _.$$typeof === w);
2512
+ }, _e.typeOf = j, _e;
2513
2513
  }
2514
2514
  var Ee = {};
2515
2515
  /** @license React v16.13.1
@@ -2523,10 +2523,10 @@ var Ee = {};
2523
2523
  var ta;
2524
2524
  function Sc() {
2525
2525
  return ta || (ta = 1, process.env.NODE_ENV !== "production" && function() {
2526
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, L = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, H = e ? Symbol.for("react.scope") : 60119;
2527
- function F(x) {
2526
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, $ = e ? Symbol.for("react.scope") : 60119;
2527
+ function j(x) {
2528
2528
  return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2529
- x === r || x === c || x === a || x === i || x === h || x === m || typeof x == "object" && x !== null && (x.$$typeof === E || x.$$typeof === L || x.$$typeof === o || x.$$typeof === l || x.$$typeof === d || x.$$typeof === C || x.$$typeof === A || x.$$typeof === H || x.$$typeof === w);
2529
+ x === r || x === c || x === a || x === i || x === h || x === m || typeof x == "object" && x !== null && (x.$$typeof === E || x.$$typeof === S || x.$$typeof === o || x.$$typeof === l || x.$$typeof === d || x.$$typeof === C || x.$$typeof === A || x.$$typeof === $ || x.$$typeof === w);
2530
2530
  }
2531
2531
  function O(x) {
2532
2532
  if (typeof x == "object" && x !== null) {
@@ -2548,7 +2548,7 @@ function Sc() {
2548
2548
  case l:
2549
2549
  case d:
2550
2550
  case E:
2551
- case L:
2551
+ case S:
2552
2552
  case o:
2553
2553
  return re;
2554
2554
  default:
@@ -2560,11 +2560,11 @@ function Sc() {
2560
2560
  }
2561
2561
  }
2562
2562
  }
2563
- var _ = s, le = c, q = l, f = o, u = t, b = d, v = r, M = E, R = L, Y = n, ie = a, ee = i, W = h, fe = !1;
2563
+ var _ = s, le = c, q = l, u = o, f = t, b = d, v = r, M = E, R = S, Y = n, ie = a, ee = i, W = h, fe = !1;
2564
2564
  function K(x) {
2565
- return fe || (fe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), S(x) || O(x) === s;
2565
+ return fe || (fe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(x) || O(x) === s;
2566
2566
  }
2567
- function S(x) {
2567
+ function L(x) {
2568
2568
  return O(x) === c;
2569
2569
  }
2570
2570
  function N(x) {
@@ -2582,11 +2582,11 @@ function Sc() {
2582
2582
  function ne(x) {
2583
2583
  return O(x) === r;
2584
2584
  }
2585
- function j(x) {
2585
+ function F(x) {
2586
2586
  return O(x) === E;
2587
2587
  }
2588
2588
  function B(x) {
2589
- return O(x) === L;
2589
+ return O(x) === S;
2590
2590
  }
2591
2591
  function Q(x) {
2592
2592
  return O(x) === n;
@@ -2600,7 +2600,7 @@ function Sc() {
2600
2600
  function U(x) {
2601
2601
  return O(x) === h;
2602
2602
  }
2603
- Ee.AsyncMode = _, Ee.ConcurrentMode = le, Ee.ContextConsumer = q, Ee.ContextProvider = f, Ee.Element = u, Ee.ForwardRef = b, Ee.Fragment = v, Ee.Lazy = M, Ee.Memo = R, Ee.Portal = Y, Ee.Profiler = ie, Ee.StrictMode = ee, Ee.Suspense = W, Ee.isAsyncMode = K, Ee.isConcurrentMode = S, Ee.isContextConsumer = N, Ee.isContextProvider = T, Ee.isElement = V, Ee.isForwardRef = Z, Ee.isFragment = ne, Ee.isLazy = j, Ee.isMemo = B, Ee.isPortal = Q, Ee.isProfiler = I, Ee.isStrictMode = g, Ee.isSuspense = U, Ee.isValidElementType = F, Ee.typeOf = O;
2603
+ Ee.AsyncMode = _, Ee.ConcurrentMode = le, Ee.ContextConsumer = q, Ee.ContextProvider = u, Ee.Element = f, Ee.ForwardRef = b, Ee.Fragment = v, Ee.Lazy = M, Ee.Memo = R, Ee.Portal = Y, Ee.Profiler = ie, Ee.StrictMode = ee, Ee.Suspense = W, Ee.isAsyncMode = K, Ee.isConcurrentMode = L, Ee.isContextConsumer = N, Ee.isContextProvider = T, Ee.isElement = V, Ee.isForwardRef = Z, Ee.isFragment = ne, Ee.isLazy = F, Ee.isMemo = B, Ee.isPortal = Q, Ee.isProfiler = I, Ee.isStrictMode = g, Ee.isSuspense = U, Ee.isValidElementType = j, Ee.typeOf = O;
2604
2604
  }()), Ee;
2605
2605
  }
2606
2606
  var na;
@@ -2709,9 +2709,9 @@ function Oc() {
2709
2709
  (s || "React class") + ": type specification of " + l + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2710
2710
  ), h instanceof Error && !(h.message in n)) {
2711
2711
  n[h.message] = !0;
2712
- var L = c ? c() : "";
2712
+ var S = c ? c() : "";
2713
2713
  e(
2714
- "Failed " + l + " type: " + h.message + (L ?? "")
2714
+ "Failed " + l + " type: " + h.message + (S ?? "")
2715
2715
  );
2716
2716
  }
2717
2717
  }
@@ -2741,12 +2741,12 @@ function Ac() {
2741
2741
  }
2742
2742
  return hr = function(l, s) {
2743
2743
  var c = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
2744
- function h(S) {
2745
- var N = S && (c && S[c] || S[d]);
2744
+ function h(L) {
2745
+ var N = L && (c && L[c] || L[d]);
2746
2746
  if (typeof N == "function")
2747
2747
  return N;
2748
2748
  }
2749
- var m = "<<anonymous>>", L = {
2749
+ var m = "<<anonymous>>", S = {
2750
2750
  array: A("array"),
2751
2751
  bigint: A("bigint"),
2752
2752
  bool: A("boolean"),
@@ -2755,29 +2755,29 @@ function Ac() {
2755
2755
  object: A("object"),
2756
2756
  string: A("string"),
2757
2757
  symbol: A("symbol"),
2758
- any: H(),
2759
- arrayOf: F,
2758
+ any: $(),
2759
+ arrayOf: j,
2760
2760
  element: O(),
2761
2761
  elementType: _(),
2762
2762
  instanceOf: le,
2763
2763
  node: b(),
2764
- objectOf: f,
2764
+ objectOf: u,
2765
2765
  oneOf: q,
2766
- oneOfType: u,
2766
+ oneOfType: f,
2767
2767
  shape: M,
2768
2768
  exact: R
2769
2769
  };
2770
- function E(S, N) {
2771
- return S === N ? S !== 0 || 1 / S === 1 / N : S !== S && N !== N;
2770
+ function E(L, N) {
2771
+ return L === N ? L !== 0 || 1 / L === 1 / N : L !== L && N !== N;
2772
2772
  }
2773
- function w(S, N) {
2774
- this.message = S, this.data = N && typeof N == "object" ? N : {}, this.stack = "";
2773
+ function w(L, N) {
2774
+ this.message = L, this.data = N && typeof N == "object" ? N : {}, this.stack = "";
2775
2775
  }
2776
2776
  w.prototype = Error.prototype;
2777
- function C(S) {
2777
+ function C(L) {
2778
2778
  if (process.env.NODE_ENV !== "production")
2779
2779
  var N = {}, T = 0;
2780
- function V(ne, j, B, Q, I, g, U) {
2780
+ function V(ne, F, B, Q, I, g, U) {
2781
2781
  if (Q = Q || m, g = g || B, U !== n) {
2782
2782
  if (s) {
2783
2783
  var x = new Error(
@@ -2792,39 +2792,39 @@ function Ac() {
2792
2792
  ), N[J] = !0, T++);
2793
2793
  }
2794
2794
  }
2795
- return j[B] == null ? ne ? j[B] === null ? new w("The " + I + " `" + g + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new w("The " + I + " `" + g + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : S(j, B, Q, I, g);
2795
+ return F[B] == null ? ne ? F[B] === null ? new w("The " + I + " `" + g + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new w("The " + I + " `" + g + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : L(F, B, Q, I, g);
2796
2796
  }
2797
2797
  var Z = V.bind(null, !1);
2798
2798
  return Z.isRequired = V.bind(null, !0), Z;
2799
2799
  }
2800
- function A(S) {
2801
- function N(T, V, Z, ne, j, B) {
2800
+ function A(L) {
2801
+ function N(T, V, Z, ne, F, B) {
2802
2802
  var Q = T[V], I = ee(Q);
2803
- if (I !== S) {
2803
+ if (I !== L) {
2804
2804
  var g = W(Q);
2805
2805
  return new w(
2806
- "Invalid " + ne + " `" + j + "` of type " + ("`" + g + "` supplied to `" + Z + "`, expected ") + ("`" + S + "`."),
2807
- { expectedType: S }
2806
+ "Invalid " + ne + " `" + F + "` of type " + ("`" + g + "` supplied to `" + Z + "`, expected ") + ("`" + L + "`."),
2807
+ { expectedType: L }
2808
2808
  );
2809
2809
  }
2810
2810
  return null;
2811
2811
  }
2812
2812
  return C(N);
2813
2813
  }
2814
- function H() {
2814
+ function $() {
2815
2815
  return C(o);
2816
2816
  }
2817
- function F(S) {
2818
- function N(T, V, Z, ne, j) {
2819
- if (typeof S != "function")
2820
- return new w("Property `" + j + "` of component `" + Z + "` has invalid PropType notation inside arrayOf.");
2817
+ function j(L) {
2818
+ function N(T, V, Z, ne, F) {
2819
+ if (typeof L != "function")
2820
+ return new w("Property `" + F + "` of component `" + Z + "` has invalid PropType notation inside arrayOf.");
2821
2821
  var B = T[V];
2822
2822
  if (!Array.isArray(B)) {
2823
2823
  var Q = ee(B);
2824
- return new w("Invalid " + ne + " `" + j + "` of type " + ("`" + Q + "` supplied to `" + Z + "`, expected an array."));
2824
+ return new w("Invalid " + ne + " `" + F + "` of type " + ("`" + Q + "` supplied to `" + Z + "`, expected an array."));
2825
2825
  }
2826
2826
  for (var I = 0; I < B.length; I++) {
2827
- var g = S(B, I, Z, ne, j + "[" + I + "]", n);
2827
+ var g = L(B, I, Z, ne, F + "[" + I + "]", n);
2828
2828
  if (g instanceof Error)
2829
2829
  return g;
2830
2830
  }
@@ -2833,64 +2833,64 @@ function Ac() {
2833
2833
  return C(N);
2834
2834
  }
2835
2835
  function O() {
2836
- function S(N, T, V, Z, ne) {
2837
- var j = N[T];
2838
- if (!l(j)) {
2839
- var B = ee(j);
2836
+ function L(N, T, V, Z, ne) {
2837
+ var F = N[T];
2838
+ if (!l(F)) {
2839
+ var B = ee(F);
2840
2840
  return new w("Invalid " + Z + " `" + ne + "` of type " + ("`" + B + "` supplied to `" + V + "`, expected a single ReactElement."));
2841
2841
  }
2842
2842
  return null;
2843
2843
  }
2844
- return C(S);
2844
+ return C(L);
2845
2845
  }
2846
2846
  function _() {
2847
- function S(N, T, V, Z, ne) {
2848
- var j = N[T];
2849
- if (!e.isValidElementType(j)) {
2850
- var B = ee(j);
2847
+ function L(N, T, V, Z, ne) {
2848
+ var F = N[T];
2849
+ if (!e.isValidElementType(F)) {
2850
+ var B = ee(F);
2851
2851
  return new w("Invalid " + Z + " `" + ne + "` of type " + ("`" + B + "` supplied to `" + V + "`, expected a single ReactElement type."));
2852
2852
  }
2853
2853
  return null;
2854
2854
  }
2855
- return C(S);
2855
+ return C(L);
2856
2856
  }
2857
- function le(S) {
2858
- function N(T, V, Z, ne, j) {
2859
- if (!(T[V] instanceof S)) {
2860
- var B = S.name || m, Q = K(T[V]);
2861
- return new w("Invalid " + ne + " `" + j + "` of type " + ("`" + Q + "` supplied to `" + Z + "`, expected ") + ("instance of `" + B + "`."));
2857
+ function le(L) {
2858
+ function N(T, V, Z, ne, F) {
2859
+ if (!(T[V] instanceof L)) {
2860
+ var B = L.name || m, Q = K(T[V]);
2861
+ return new w("Invalid " + ne + " `" + F + "` of type " + ("`" + Q + "` supplied to `" + Z + "`, expected ") + ("instance of `" + B + "`."));
2862
2862
  }
2863
2863
  return null;
2864
2864
  }
2865
2865
  return C(N);
2866
2866
  }
2867
- function q(S) {
2868
- if (!Array.isArray(S))
2867
+ function q(L) {
2868
+ if (!Array.isArray(L))
2869
2869
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
2870
2870
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2871
2871
  ) : a("Invalid argument supplied to oneOf, expected an array.")), o;
2872
- function N(T, V, Z, ne, j) {
2873
- for (var B = T[V], Q = 0; Q < S.length; Q++)
2874
- if (E(B, S[Q]))
2872
+ function N(T, V, Z, ne, F) {
2873
+ for (var B = T[V], Q = 0; Q < L.length; Q++)
2874
+ if (E(B, L[Q]))
2875
2875
  return null;
2876
- var I = JSON.stringify(S, function(U, x) {
2876
+ var I = JSON.stringify(L, function(U, x) {
2877
2877
  var J = W(x);
2878
2878
  return J === "symbol" ? String(x) : x;
2879
2879
  });
2880
- return new w("Invalid " + ne + " `" + j + "` of value `" + String(B) + "` " + ("supplied to `" + Z + "`, expected one of " + I + "."));
2880
+ return new w("Invalid " + ne + " `" + F + "` of value `" + String(B) + "` " + ("supplied to `" + Z + "`, expected one of " + I + "."));
2881
2881
  }
2882
2882
  return C(N);
2883
2883
  }
2884
- function f(S) {
2885
- function N(T, V, Z, ne, j) {
2886
- if (typeof S != "function")
2887
- return new w("Property `" + j + "` of component `" + Z + "` has invalid PropType notation inside objectOf.");
2884
+ function u(L) {
2885
+ function N(T, V, Z, ne, F) {
2886
+ if (typeof L != "function")
2887
+ return new w("Property `" + F + "` of component `" + Z + "` has invalid PropType notation inside objectOf.");
2888
2888
  var B = T[V], Q = ee(B);
2889
2889
  if (Q !== "object")
2890
- return new w("Invalid " + ne + " `" + j + "` of type " + ("`" + Q + "` supplied to `" + Z + "`, expected an object."));
2890
+ return new w("Invalid " + ne + " `" + F + "` of type " + ("`" + Q + "` supplied to `" + Z + "`, expected an object."));
2891
2891
  for (var I in B)
2892
2892
  if (r(B, I)) {
2893
- var g = S(B, I, Z, ne, j + "." + I, n);
2893
+ var g = L(B, I, Z, ne, F + "." + I, n);
2894
2894
  if (g instanceof Error)
2895
2895
  return g;
2896
2896
  }
@@ -2898,49 +2898,49 @@ function Ac() {
2898
2898
  }
2899
2899
  return C(N);
2900
2900
  }
2901
- function u(S) {
2902
- if (!Array.isArray(S))
2901
+ function f(L) {
2902
+ if (!Array.isArray(L))
2903
2903
  return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), o;
2904
- for (var N = 0; N < S.length; N++) {
2905
- var T = S[N];
2904
+ for (var N = 0; N < L.length; N++) {
2905
+ var T = L[N];
2906
2906
  if (typeof T != "function")
2907
2907
  return a(
2908
2908
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + fe(T) + " at index " + N + "."
2909
2909
  ), o;
2910
2910
  }
2911
- function V(Z, ne, j, B, Q) {
2912
- for (var I = [], g = 0; g < S.length; g++) {
2913
- var U = S[g], x = U(Z, ne, j, B, Q, n);
2911
+ function V(Z, ne, F, B, Q) {
2912
+ for (var I = [], g = 0; g < L.length; g++) {
2913
+ var U = L[g], x = U(Z, ne, F, B, Q, n);
2914
2914
  if (x == null)
2915
2915
  return null;
2916
2916
  x.data && r(x.data, "expectedType") && I.push(x.data.expectedType);
2917
2917
  }
2918
2918
  var J = I.length > 0 ? ", expected one of type [" + I.join(", ") + "]" : "";
2919
- return new w("Invalid " + B + " `" + Q + "` supplied to " + ("`" + j + "`" + J + "."));
2919
+ return new w("Invalid " + B + " `" + Q + "` supplied to " + ("`" + F + "`" + J + "."));
2920
2920
  }
2921
2921
  return C(V);
2922
2922
  }
2923
2923
  function b() {
2924
- function S(N, T, V, Z, ne) {
2924
+ function L(N, T, V, Z, ne) {
2925
2925
  return Y(N[T]) ? null : new w("Invalid " + Z + " `" + ne + "` supplied to " + ("`" + V + "`, expected a ReactNode."));
2926
2926
  }
2927
- return C(S);
2927
+ return C(L);
2928
2928
  }
2929
- function v(S, N, T, V, Z) {
2929
+ function v(L, N, T, V, Z) {
2930
2930
  return new w(
2931
- (S || "React class") + ": " + N + " type `" + T + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Z + "`."
2931
+ (L || "React class") + ": " + N + " type `" + T + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Z + "`."
2932
2932
  );
2933
2933
  }
2934
- function M(S) {
2935
- function N(T, V, Z, ne, j) {
2934
+ function M(L) {
2935
+ function N(T, V, Z, ne, F) {
2936
2936
  var B = T[V], Q = ee(B);
2937
2937
  if (Q !== "object")
2938
- return new w("Invalid " + ne + " `" + j + "` of type `" + Q + "` " + ("supplied to `" + Z + "`, expected `object`."));
2939
- for (var I in S) {
2940
- var g = S[I];
2938
+ return new w("Invalid " + ne + " `" + F + "` of type `" + Q + "` " + ("supplied to `" + Z + "`, expected `object`."));
2939
+ for (var I in L) {
2940
+ var g = L[I];
2941
2941
  if (typeof g != "function")
2942
- return v(Z, ne, j, I, W(g));
2943
- var U = g(B, I, Z, ne, j + "." + I, n);
2942
+ return v(Z, ne, F, I, W(g));
2943
+ var U = g(B, I, Z, ne, F + "." + I, n);
2944
2944
  if (U)
2945
2945
  return U;
2946
2946
  }
@@ -2948,22 +2948,22 @@ function Ac() {
2948
2948
  }
2949
2949
  return C(N);
2950
2950
  }
2951
- function R(S) {
2952
- function N(T, V, Z, ne, j) {
2951
+ function R(L) {
2952
+ function N(T, V, Z, ne, F) {
2953
2953
  var B = T[V], Q = ee(B);
2954
2954
  if (Q !== "object")
2955
- return new w("Invalid " + ne + " `" + j + "` of type `" + Q + "` " + ("supplied to `" + Z + "`, expected `object`."));
2956
- var I = t({}, T[V], S);
2955
+ return new w("Invalid " + ne + " `" + F + "` of type `" + Q + "` " + ("supplied to `" + Z + "`, expected `object`."));
2956
+ var I = t({}, T[V], L);
2957
2957
  for (var g in I) {
2958
- var U = S[g];
2959
- if (r(S, g) && typeof U != "function")
2960
- return v(Z, ne, j, g, W(U));
2958
+ var U = L[g];
2959
+ if (r(L, g) && typeof U != "function")
2960
+ return v(Z, ne, F, g, W(U));
2961
2961
  if (!U)
2962
2962
  return new w(
2963
- "Invalid " + ne + " `" + j + "` key `" + g + "` supplied to `" + Z + "`.\nBad object: " + JSON.stringify(T[V], null, " ") + `
2964
- Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
2963
+ "Invalid " + ne + " `" + F + "` key `" + g + "` supplied to `" + Z + "`.\nBad object: " + JSON.stringify(T[V], null, " ") + `
2964
+ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
2965
2965
  );
2966
- var x = U(B, g, Z, ne, j + "." + g, n);
2966
+ var x = U(B, g, Z, ne, F + "." + g, n);
2967
2967
  if (x)
2968
2968
  return x;
2969
2969
  }
@@ -2971,23 +2971,23 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
2971
2971
  }
2972
2972
  return C(N);
2973
2973
  }
2974
- function Y(S) {
2975
- switch (typeof S) {
2974
+ function Y(L) {
2975
+ switch (typeof L) {
2976
2976
  case "number":
2977
2977
  case "string":
2978
2978
  case "undefined":
2979
2979
  return !0;
2980
2980
  case "boolean":
2981
- return !S;
2981
+ return !L;
2982
2982
  case "object":
2983
- if (Array.isArray(S))
2984
- return S.every(Y);
2985
- if (S === null || l(S))
2983
+ if (Array.isArray(L))
2984
+ return L.every(Y);
2985
+ if (L === null || l(L))
2986
2986
  return !0;
2987
- var N = h(S);
2987
+ var N = h(L);
2988
2988
  if (N) {
2989
- var T = N.call(S), V;
2990
- if (N !== S.entries) {
2989
+ var T = N.call(L), V;
2990
+ if (N !== L.entries) {
2991
2991
  for (; !(V = T.next()).done; )
2992
2992
  if (!Y(V.value))
2993
2993
  return !1;
@@ -3004,27 +3004,27 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
3004
3004
  return !1;
3005
3005
  }
3006
3006
  }
3007
- function ie(S, N) {
3008
- return S === "symbol" ? !0 : N ? N["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && N instanceof Symbol : !1;
3007
+ function ie(L, N) {
3008
+ return L === "symbol" ? !0 : N ? N["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && N instanceof Symbol : !1;
3009
3009
  }
3010
- function ee(S) {
3011
- var N = typeof S;
3012
- return Array.isArray(S) ? "array" : S instanceof RegExp ? "object" : ie(N, S) ? "symbol" : N;
3010
+ function ee(L) {
3011
+ var N = typeof L;
3012
+ return Array.isArray(L) ? "array" : L instanceof RegExp ? "object" : ie(N, L) ? "symbol" : N;
3013
3013
  }
3014
- function W(S) {
3015
- if (typeof S > "u" || S === null)
3016
- return "" + S;
3017
- var N = ee(S);
3014
+ function W(L) {
3015
+ if (typeof L > "u" || L === null)
3016
+ return "" + L;
3017
+ var N = ee(L);
3018
3018
  if (N === "object") {
3019
- if (S instanceof Date)
3019
+ if (L instanceof Date)
3020
3020
  return "date";
3021
- if (S instanceof RegExp)
3021
+ if (L instanceof RegExp)
3022
3022
  return "regexp";
3023
3023
  }
3024
3024
  return N;
3025
3025
  }
3026
- function fe(S) {
3027
- var N = W(S);
3026
+ function fe(L) {
3027
+ var N = W(L);
3028
3028
  switch (N) {
3029
3029
  case "array":
3030
3030
  case "object":
@@ -3037,10 +3037,10 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
3037
3037
  return N;
3038
3038
  }
3039
3039
  }
3040
- function K(S) {
3041
- return !S.constructor || !S.constructor.name ? m : S.constructor.name;
3040
+ function K(L) {
3041
+ return !L.constructor || !L.constructor.name ? m : L.constructor.name;
3042
3042
  }
3043
- return L.checkPropTypes = i, L.resetWarningCache = i.resetWarningCache, L.PropTypes = L, L;
3043
+ return S.checkPropTypes = i, S.resetWarningCache = i.resetWarningCache, S.PropTypes = S, S;
3044
3044
  }, hr;
3045
3045
  }
3046
3046
  var pr, sa;
@@ -3946,8 +3946,8 @@ function Du() {
3946
3946
  return arguments.length ? (n = m, d()) : n;
3947
3947
  }, h.unknown = function(m) {
3948
3948
  return arguments.length ? (a = m, h) : a;
3949
- }, function(m, L) {
3950
- return r = m, i = L, d();
3949
+ }, function(m, S) {
3950
+ return r = m, i = S, d();
3951
3951
  };
3952
3952
  }
3953
3953
  function ju() {
@@ -4063,18 +4063,18 @@ function Wu(e) {
4063
4063
  var t = e.grouping === void 0 || e.thousands === void 0 ? Ca : Fu(Ta.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? Ca : zu(Ta.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", l = e.minus === void 0 ? "−" : e.minus + "", s = e.nan === void 0 ? "NaN" : e.nan + "";
4064
4064
  function c(h) {
4065
4065
  h = Rn(h);
4066
- var m = h.fill, L = h.align, E = h.sign, w = h.symbol, C = h.zero, A = h.width, H = h.comma, F = h.precision, O = h.trim, _ = h.type;
4067
- _ === "n" ? (H = !0, _ = "g") : Ea[_] || (F === void 0 && (F = 12), O = !0, _ = "g"), (C || m === "0" && L === "=") && (C = !0, m = "0", L = "=");
4068
- var le = w === "$" ? n : w === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", q = w === "$" ? r : /[%p]/.test(_) ? o : "", f = Ea[_], u = /[defgprs%]/.test(_);
4069
- F = F === void 0 ? 6 : /[gprs]/.test(_) ? Math.max(1, Math.min(21, F)) : Math.max(0, Math.min(20, F));
4066
+ var m = h.fill, S = h.align, E = h.sign, w = h.symbol, C = h.zero, A = h.width, $ = h.comma, j = h.precision, O = h.trim, _ = h.type;
4067
+ _ === "n" ? ($ = !0, _ = "g") : Ea[_] || (j === void 0 && (j = 12), O = !0, _ = "g"), (C || m === "0" && S === "=") && (C = !0, m = "0", S = "=");
4068
+ var le = w === "$" ? n : w === "#" && /[boxX]/.test(_) ? "0" + _.toLowerCase() : "", q = w === "$" ? r : /[%p]/.test(_) ? o : "", u = Ea[_], f = /[defgprs%]/.test(_);
4069
+ j = j === void 0 ? 6 : /[gprs]/.test(_) ? Math.max(1, Math.min(21, j)) : Math.max(0, Math.min(20, j));
4070
4070
  function b(v) {
4071
4071
  var M = le, R = q, Y, ie, ee;
4072
4072
  if (_ === "c")
4073
- R = f(v) + R, v = "";
4073
+ R = u(v) + R, v = "";
4074
4074
  else {
4075
4075
  v = +v;
4076
4076
  var W = v < 0 || 1 / v < 0;
4077
- if (v = isNaN(v) ? s : f(Math.abs(v), F), O && (v = Uu(v)), W && +v == 0 && E !== "+" && (W = !1), M = (W ? E === "(" ? E : l : E === "-" || E === "(" ? "" : E) + M, R = (_ === "s" ? Sa[8 + Bo / 3] : "") + R + (W && E === "(" ? ")" : ""), u) {
4077
+ if (v = isNaN(v) ? s : u(Math.abs(v), j), O && (v = Uu(v)), W && +v == 0 && E !== "+" && (W = !1), M = (W ? E === "(" ? E : l : E === "-" || E === "(" ? "" : E) + M, R = (_ === "s" ? Sa[8 + Bo / 3] : "") + R + (W && E === "(" ? ")" : ""), f) {
4078
4078
  for (Y = -1, ie = v.length; ++Y < ie; )
4079
4079
  if (ee = v.charCodeAt(Y), 48 > ee || ee > 57) {
4080
4080
  R = (ee === 46 ? i + v.slice(Y + 1) : v.slice(Y)) + R, v = v.slice(0, Y);
@@ -4082,9 +4082,9 @@ function Wu(e) {
4082
4082
  }
4083
4083
  }
4084
4084
  }
4085
- H && !C && (v = t(v, 1 / 0));
4085
+ $ && !C && (v = t(v, 1 / 0));
4086
4086
  var fe = M.length + v.length + R.length, K = fe < A ? new Array(A - fe + 1).join(m) : "";
4087
- switch (H && C && (v = t(K + v, K.length ? A - R.length : 1 / 0), K = ""), L) {
4087
+ switch ($ && C && (v = t(K + v, K.length ? A - R.length : 1 / 0), K = ""), S) {
4088
4088
  case "<":
4089
4089
  v = M + v + R + K;
4090
4090
  break;
@@ -4105,9 +4105,9 @@ function Wu(e) {
4105
4105
  }, b;
4106
4106
  }
4107
4107
  function d(h, m) {
4108
- var L = c((h = Rn(h), h.type = "f", h)), E = Math.max(-8, Math.min(8, Math.floor(Wt(m) / 3))) * 3, w = Math.pow(10, -E), C = Sa[8 + E / 3];
4108
+ var S = c((h = Rn(h), h.type = "f", h)), E = Math.max(-8, Math.min(8, Math.floor(Wt(m) / 3))) * 3, w = Math.pow(10, -E), C = Sa[8 + E / 3];
4109
4109
  return function(A) {
4110
- return L(w * A) + C;
4110
+ return S(w * A) + C;
4111
4111
  };
4112
4112
  }
4113
4113
  return {
@@ -4879,57 +4879,57 @@ License: MIT
4879
4879
  (function(n, r) {
4880
4880
  e.exports = r();
4881
4881
  })(tt, function n() {
4882
- var r = typeof self < "u" ? self : typeof window < "u" ? window : r !== void 0 ? r : {}, i = !r.document && !!r.postMessage, a = r.IS_PAPA_WORKER || !1, o = {}, l = 0, s = { parse: function(f, u) {
4883
- var b = (u = u || {}).dynamicTyping || !1;
4884
- if (q(b) && (u.dynamicTypingFunction = b, b = {}), u.dynamicTyping = b, u.transform = !!q(u.transform) && u.transform, u.worker && s.WORKERS_SUPPORTED) {
4882
+ var r = typeof self < "u" ? self : typeof window < "u" ? window : r !== void 0 ? r : {}, i = !r.document && !!r.postMessage, a = r.IS_PAPA_WORKER || !1, o = {}, l = 0, s = { parse: function(u, f) {
4883
+ var b = (f = f || {}).dynamicTyping || !1;
4884
+ if (q(b) && (f.dynamicTypingFunction = b, b = {}), f.dynamicTyping = b, f.transform = !!q(f.transform) && f.transform, f.worker && s.WORKERS_SUPPORTED) {
4885
4885
  var v = function() {
4886
4886
  if (!s.WORKERS_SUPPORTED)
4887
4887
  return !1;
4888
4888
  var R = (ie = r.URL || r.webkitURL || null, ee = n.toString(), s.BLOB_URL || (s.BLOB_URL = ie.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", ee, ")();"], { type: "text/javascript" })))), Y = new r.Worker(R), ie, ee;
4889
- return Y.onmessage = H, Y.id = l++, o[Y.id] = Y;
4889
+ return Y.onmessage = $, Y.id = l++, o[Y.id] = Y;
4890
4890
  }();
4891
- return v.userStep = u.step, v.userChunk = u.chunk, v.userComplete = u.complete, v.userError = u.error, u.step = q(u.step), u.chunk = q(u.chunk), u.complete = q(u.complete), u.error = q(u.error), delete u.worker, void v.postMessage({ input: f, config: u, workerId: v.id });
4891
+ return v.userStep = f.step, v.userChunk = f.chunk, v.userComplete = f.complete, v.userError = f.error, f.step = q(f.step), f.chunk = q(f.chunk), f.complete = q(f.complete), f.error = q(f.error), delete f.worker, void v.postMessage({ input: u, config: f, workerId: v.id });
4892
4892
  }
4893
4893
  var M = null;
4894
- return s.NODE_STREAM_INPUT, typeof f == "string" ? (f = function(R) {
4894
+ return s.NODE_STREAM_INPUT, typeof u == "string" ? (u = function(R) {
4895
4895
  return R.charCodeAt(0) === 65279 ? R.slice(1) : R;
4896
- }(f), M = u.download ? new h(u) : new L(u)) : f.readable === !0 && q(f.read) && q(f.on) ? M = new E(u) : (r.File && f instanceof File || f instanceof Object) && (M = new m(u)), M.stream(f);
4897
- }, unparse: function(f, u) {
4896
+ }(u), M = f.download ? new h(f) : new S(f)) : u.readable === !0 && q(u.read) && q(u.on) ? M = new E(f) : (r.File && u instanceof File || u instanceof Object) && (M = new m(f)), M.stream(u);
4897
+ }, unparse: function(u, f) {
4898
4898
  var b = !1, v = !0, M = ",", R = `\r
4899
4899
  `, Y = '"', ie = Y + Y, ee = !1, W = null, fe = !1;
4900
4900
  (function() {
4901
- if (typeof u == "object") {
4902
- if (typeof u.delimiter != "string" || s.BAD_DELIMITERS.filter(function(T) {
4903
- return u.delimiter.indexOf(T) !== -1;
4904
- }).length || (M = u.delimiter), (typeof u.quotes == "boolean" || typeof u.quotes == "function" || Array.isArray(u.quotes)) && (b = u.quotes), typeof u.skipEmptyLines != "boolean" && typeof u.skipEmptyLines != "string" || (ee = u.skipEmptyLines), typeof u.newline == "string" && (R = u.newline), typeof u.quoteChar == "string" && (Y = u.quoteChar), typeof u.header == "boolean" && (v = u.header), Array.isArray(u.columns)) {
4905
- if (u.columns.length === 0)
4901
+ if (typeof f == "object") {
4902
+ if (typeof f.delimiter != "string" || s.BAD_DELIMITERS.filter(function(T) {
4903
+ return f.delimiter.indexOf(T) !== -1;
4904
+ }).length || (M = f.delimiter), (typeof f.quotes == "boolean" || typeof f.quotes == "function" || Array.isArray(f.quotes)) && (b = f.quotes), typeof f.skipEmptyLines != "boolean" && typeof f.skipEmptyLines != "string" || (ee = f.skipEmptyLines), typeof f.newline == "string" && (R = f.newline), typeof f.quoteChar == "string" && (Y = f.quoteChar), typeof f.header == "boolean" && (v = f.header), Array.isArray(f.columns)) {
4905
+ if (f.columns.length === 0)
4906
4906
  throw new Error("Option columns is empty");
4907
- W = u.columns;
4907
+ W = f.columns;
4908
4908
  }
4909
- u.escapeChar !== void 0 && (ie = u.escapeChar + Y), (typeof u.escapeFormulae == "boolean" || u.escapeFormulae instanceof RegExp) && (fe = u.escapeFormulae instanceof RegExp ? u.escapeFormulae : /^[=+\-@\t\r].*$/);
4909
+ f.escapeChar !== void 0 && (ie = f.escapeChar + Y), (typeof f.escapeFormulae == "boolean" || f.escapeFormulae instanceof RegExp) && (fe = f.escapeFormulae instanceof RegExp ? f.escapeFormulae : /^[=+\-@\t\r].*$/);
4910
4910
  }
4911
4911
  })();
4912
4912
  var K = new RegExp(C(Y), "g");
4913
- if (typeof f == "string" && (f = JSON.parse(f)), Array.isArray(f)) {
4914
- if (!f.length || Array.isArray(f[0]))
4915
- return S(null, f, ee);
4916
- if (typeof f[0] == "object")
4917
- return S(W || Object.keys(f[0]), f, ee);
4918
- } else if (typeof f == "object")
4919
- return typeof f.data == "string" && (f.data = JSON.parse(f.data)), Array.isArray(f.data) && (f.fields || (f.fields = f.meta && f.meta.fields || W), f.fields || (f.fields = Array.isArray(f.data[0]) ? f.fields : typeof f.data[0] == "object" ? Object.keys(f.data[0]) : []), Array.isArray(f.data[0]) || typeof f.data[0] == "object" || (f.data = [f.data])), S(f.fields || [], f.data || [], ee);
4913
+ if (typeof u == "string" && (u = JSON.parse(u)), Array.isArray(u)) {
4914
+ if (!u.length || Array.isArray(u[0]))
4915
+ return L(null, u, ee);
4916
+ if (typeof u[0] == "object")
4917
+ return L(W || Object.keys(u[0]), u, ee);
4918
+ } else if (typeof u == "object")
4919
+ return typeof u.data == "string" && (u.data = JSON.parse(u.data)), Array.isArray(u.data) && (u.fields || (u.fields = u.meta && u.meta.fields || W), u.fields || (u.fields = Array.isArray(u.data[0]) ? u.fields : typeof u.data[0] == "object" ? Object.keys(u.data[0]) : []), Array.isArray(u.data[0]) || typeof u.data[0] == "object" || (u.data = [u.data])), L(u.fields || [], u.data || [], ee);
4920
4920
  throw new Error("Unable to serialize unrecognized input");
4921
- function S(T, V, Z) {
4921
+ function L(T, V, Z) {
4922
4922
  var ne = "";
4923
4923
  typeof T == "string" && (T = JSON.parse(T)), typeof V == "string" && (V = JSON.parse(V));
4924
- var j = Array.isArray(T) && 0 < T.length, B = !Array.isArray(V[0]);
4925
- if (j && v) {
4924
+ var F = Array.isArray(T) && 0 < T.length, B = !Array.isArray(V[0]);
4925
+ if (F && v) {
4926
4926
  for (var Q = 0; Q < T.length; Q++)
4927
4927
  0 < Q && (ne += M), ne += N(T[Q], Q);
4928
4928
  0 < V.length && (ne += R);
4929
4929
  }
4930
4930
  for (var I = 0; I < V.length; I++) {
4931
- var g = j ? T.length : V[I].length, U = !1, x = j ? Object.keys(V[I]).length === 0 : V[I].length === 0;
4932
- if (Z && !j && (U = Z === "greedy" ? V[I].join("").trim() === "" : V[I].length === 1 && V[I][0].length === 0), Z === "greedy" && j) {
4931
+ var g = F ? T.length : V[I].length, U = !1, x = F ? Object.keys(V[I]).length === 0 : V[I].length === 0;
4932
+ if (Z && !F && (U = Z === "greedy" ? V[I].join("").trim() === "" : V[I].length === 1 && V[I][0].length === 0), Z === "greedy" && F) {
4933
4933
  for (var J = [], se = 0; se < g; se++) {
4934
4934
  var re = B ? T[se] : se;
4935
4935
  J.push(V[I][re]);
@@ -4939,7 +4939,7 @@ License: MIT
4939
4939
  if (!U) {
4940
4940
  for (var ae = 0; ae < g; ae++) {
4941
4941
  0 < ae && !x && (ne += M);
4942
- var D = j && B ? T[ae] : ae;
4942
+ var D = F && B ? T[ae] : ae;
4943
4943
  ne += N(V[I][D], ae);
4944
4944
  }
4945
4945
  I < V.length - 1 && (!Z || 0 < g && !x) && (ne += R);
@@ -4955,33 +4955,33 @@ License: MIT
4955
4955
  var Z = !1;
4956
4956
  fe && typeof T == "string" && fe.test(T) && (T = "'" + T, Z = !0);
4957
4957
  var ne = T.toString().replace(K, ie);
4958
- return (Z = Z || b === !0 || typeof b == "function" && b(T, V) || Array.isArray(b) && b[V] || function(j, B) {
4958
+ return (Z = Z || b === !0 || typeof b == "function" && b(T, V) || Array.isArray(b) && b[V] || function(F, B) {
4959
4959
  for (var Q = 0; Q < B.length; Q++)
4960
- if (-1 < j.indexOf(B[Q]))
4960
+ if (-1 < F.indexOf(B[Q]))
4961
4961
  return !0;
4962
4962
  return !1;
4963
4963
  }(ne, s.BAD_DELIMITERS) || -1 < ne.indexOf(M) || ne.charAt(0) === " " || ne.charAt(ne.length - 1) === " ") ? Y + ne + Y : ne;
4964
4964
  }
4965
4965
  } };
4966
4966
  if (s.RECORD_SEP = String.fromCharCode(30), s.UNIT_SEP = String.fromCharCode(31), s.BYTE_ORDER_MARK = "\uFEFF", s.BAD_DELIMITERS = ["\r", `
4967
- `, '"', s.BYTE_ORDER_MARK], s.WORKERS_SUPPORTED = !i && !!r.Worker, s.NODE_STREAM_INPUT = 1, s.LocalChunkSize = 10485760, s.RemoteChunkSize = 5242880, s.DefaultDelimiter = ",", s.Parser = A, s.ParserHandle = w, s.NetworkStreamer = h, s.FileStreamer = m, s.StringStreamer = L, s.ReadableStreamStreamer = E, r.jQuery) {
4967
+ `, '"', s.BYTE_ORDER_MARK], s.WORKERS_SUPPORTED = !i && !!r.Worker, s.NODE_STREAM_INPUT = 1, s.LocalChunkSize = 10485760, s.RemoteChunkSize = 5242880, s.DefaultDelimiter = ",", s.Parser = A, s.ParserHandle = w, s.NetworkStreamer = h, s.FileStreamer = m, s.StringStreamer = S, s.ReadableStreamStreamer = E, r.jQuery) {
4968
4968
  var c = r.jQuery;
4969
- c.fn.parse = function(f) {
4970
- var u = f.config || {}, b = [];
4969
+ c.fn.parse = function(u) {
4970
+ var f = u.config || {}, b = [];
4971
4971
  return this.each(function(R) {
4972
4972
  if (!(c(this).prop("tagName").toUpperCase() === "INPUT" && c(this).attr("type").toLowerCase() === "file" && r.FileReader) || !this.files || this.files.length === 0)
4973
4973
  return !0;
4974
4974
  for (var Y = 0; Y < this.files.length; Y++)
4975
- b.push({ file: this.files[Y], inputElem: this, instanceConfig: c.extend({}, u) });
4975
+ b.push({ file: this.files[Y], inputElem: this, instanceConfig: c.extend({}, f) });
4976
4976
  }), v(), this;
4977
4977
  function v() {
4978
4978
  if (b.length !== 0) {
4979
4979
  var R, Y, ie, ee, W = b[0];
4980
- if (q(f.before)) {
4981
- var fe = f.before(W.file, W.inputElem);
4980
+ if (q(u.before)) {
4981
+ var fe = u.before(W.file, W.inputElem);
4982
4982
  if (typeof fe == "object") {
4983
4983
  if (fe.action === "abort")
4984
- return R = "AbortError", Y = W.file, ie = W.inputElem, ee = fe.reason, void (q(f.error) && f.error({ name: R }, Y, ie, ee));
4984
+ return R = "AbortError", Y = W.file, ie = W.inputElem, ee = fe.reason, void (q(u.error) && u.error({ name: R }, Y, ie, ee));
4985
4985
  if (fe.action === "skip")
4986
4986
  return void M();
4987
4987
  typeof fe.config == "object" && (W.instanceConfig = c.extend(W.instanceConfig, fe.config));
@@ -4989,28 +4989,28 @@ License: MIT
4989
4989
  return void M();
4990
4990
  }
4991
4991
  var K = W.instanceConfig.complete;
4992
- W.instanceConfig.complete = function(S) {
4993
- q(K) && K(S, W.file, W.inputElem), M();
4992
+ W.instanceConfig.complete = function(L) {
4993
+ q(K) && K(L, W.file, W.inputElem), M();
4994
4994
  }, s.parse(W.file, W.instanceConfig);
4995
4995
  } else
4996
- q(f.complete) && f.complete();
4996
+ q(u.complete) && u.complete();
4997
4997
  }
4998
4998
  function M() {
4999
4999
  b.splice(0, 1), v();
5000
5000
  }
5001
5001
  };
5002
5002
  }
5003
- function d(f) {
5004
- this._handle = null, this._finished = !1, this._completed = !1, this._halted = !1, this._input = null, this._baseIndex = 0, this._partialLine = "", this._rowCount = 0, this._start = 0, this._nextChunk = null, this.isFirstChunk = !0, this._completeResults = { data: [], errors: [], meta: {} }, function(u) {
5005
- var b = _(u);
5006
- b.chunkSize = parseInt(b.chunkSize), u.step || u.chunk || (b.chunkSize = null), this._handle = new w(b), (this._handle.streamer = this)._config = b;
5007
- }.call(this, f), this.parseChunk = function(u, b) {
5003
+ function d(u) {
5004
+ this._handle = null, this._finished = !1, this._completed = !1, this._halted = !1, this._input = null, this._baseIndex = 0, this._partialLine = "", this._rowCount = 0, this._start = 0, this._nextChunk = null, this.isFirstChunk = !0, this._completeResults = { data: [], errors: [], meta: {} }, function(f) {
5005
+ var b = _(f);
5006
+ b.chunkSize = parseInt(b.chunkSize), f.step || f.chunk || (b.chunkSize = null), this._handle = new w(b), (this._handle.streamer = this)._config = b;
5007
+ }.call(this, u), this.parseChunk = function(f, b) {
5008
5008
  if (this.isFirstChunk && q(this._config.beforeFirstChunk)) {
5009
- var v = this._config.beforeFirstChunk(u);
5010
- v !== void 0 && (u = v);
5009
+ var v = this._config.beforeFirstChunk(f);
5010
+ v !== void 0 && (f = v);
5011
5011
  }
5012
5012
  this.isFirstChunk = !1, this._halted = !1;
5013
- var M = this._partialLine + u;
5013
+ var M = this._partialLine + f;
5014
5014
  this._partialLine = "";
5015
5015
  var R = this._handle.parse(M, this._baseIndex, !this._finished);
5016
5016
  if (!this._handle.paused() && !this._handle.aborted()) {
@@ -5027,13 +5027,13 @@ License: MIT
5027
5027
  return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(R.data), this._completeResults.errors = this._completeResults.errors.concat(R.errors), this._completeResults.meta = R.meta), this._completed || !ie || !q(this._config.complete) || R && R.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), ie || R && R.meta.paused || this._nextChunk(), R;
5028
5028
  }
5029
5029
  this._halted = !0;
5030
- }, this._sendError = function(u) {
5031
- q(this._config.error) ? this._config.error(u) : a && this._config.error && r.postMessage({ workerId: s.WORKER_ID, error: u, finished: !1 });
5030
+ }, this._sendError = function(f) {
5031
+ q(this._config.error) ? this._config.error(f) : a && this._config.error && r.postMessage({ workerId: s.WORKER_ID, error: f, finished: !1 });
5032
5032
  };
5033
5033
  }
5034
- function h(f) {
5035
- var u;
5036
- (f = f || {}).chunkSize || (f.chunkSize = s.RemoteChunkSize), d.call(this, f), this._nextChunk = i ? function() {
5034
+ function h(u) {
5035
+ var f;
5036
+ (u = u || {}).chunkSize || (u.chunkSize = s.RemoteChunkSize), d.call(this, u), this._nextChunk = i ? function() {
5037
5037
  this._readChunk(), this._chunkLoaded();
5038
5038
  } : function() {
5039
5039
  this._readChunk();
@@ -5043,38 +5043,38 @@ License: MIT
5043
5043
  if (this._finished)
5044
5044
  this._chunkLoaded();
5045
5045
  else {
5046
- if (u = new XMLHttpRequest(), this._config.withCredentials && (u.withCredentials = this._config.withCredentials), i || (u.onload = le(this._chunkLoaded, this), u.onerror = le(this._chunkError, this)), u.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !i), this._config.downloadRequestHeaders) {
5046
+ if (f = new XMLHttpRequest(), this._config.withCredentials && (f.withCredentials = this._config.withCredentials), i || (f.onload = le(this._chunkLoaded, this), f.onerror = le(this._chunkError, this)), f.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !i), this._config.downloadRequestHeaders) {
5047
5047
  var b = this._config.downloadRequestHeaders;
5048
5048
  for (var v in b)
5049
- u.setRequestHeader(v, b[v]);
5049
+ f.setRequestHeader(v, b[v]);
5050
5050
  }
5051
5051
  if (this._config.chunkSize) {
5052
5052
  var M = this._start + this._config.chunkSize - 1;
5053
- u.setRequestHeader("Range", "bytes=" + this._start + "-" + M);
5053
+ f.setRequestHeader("Range", "bytes=" + this._start + "-" + M);
5054
5054
  }
5055
5055
  try {
5056
- u.send(this._config.downloadRequestBody);
5056
+ f.send(this._config.downloadRequestBody);
5057
5057
  } catch (R) {
5058
5058
  this._chunkError(R.message);
5059
5059
  }
5060
- i && u.status === 0 && this._chunkError();
5060
+ i && f.status === 0 && this._chunkError();
5061
5061
  }
5062
5062
  }, this._chunkLoaded = function() {
5063
- u.readyState === 4 && (u.status < 200 || 400 <= u.status ? this._chunkError() : (this._start += this._config.chunkSize ? this._config.chunkSize : u.responseText.length, this._finished = !this._config.chunkSize || this._start >= function(b) {
5063
+ f.readyState === 4 && (f.status < 200 || 400 <= f.status ? this._chunkError() : (this._start += this._config.chunkSize ? this._config.chunkSize : f.responseText.length, this._finished = !this._config.chunkSize || this._start >= function(b) {
5064
5064
  var v = b.getResponseHeader("Content-Range");
5065
5065
  return v === null ? -1 : parseInt(v.substring(v.lastIndexOf("/") + 1));
5066
- }(u), this.parseChunk(u.responseText)));
5066
+ }(f), this.parseChunk(f.responseText)));
5067
5067
  }, this._chunkError = function(b) {
5068
- var v = u.statusText || b;
5068
+ var v = f.statusText || b;
5069
5069
  this._sendError(new Error(v));
5070
5070
  };
5071
5071
  }
5072
- function m(f) {
5073
- var u, b;
5074
- (f = f || {}).chunkSize || (f.chunkSize = s.LocalChunkSize), d.call(this, f);
5072
+ function m(u) {
5073
+ var f, b;
5074
+ (u = u || {}).chunkSize || (u.chunkSize = s.LocalChunkSize), d.call(this, u);
5075
5075
  var v = typeof FileReader < "u";
5076
5076
  this.stream = function(M) {
5077
- this._input = M, b = M.slice || M.webkitSlice || M.mozSlice, v ? ((u = new FileReader()).onload = le(this._chunkLoaded, this), u.onerror = le(this._chunkError, this)) : u = new FileReaderSync(), this._nextChunk();
5077
+ this._input = M, b = M.slice || M.webkitSlice || M.mozSlice, v ? ((f = new FileReader()).onload = le(this._chunkLoaded, this), f.onerror = le(this._chunkError, this)) : f = new FileReaderSync(), this._nextChunk();
5078
5078
  }, this._nextChunk = function() {
5079
5079
  this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
5080
5080
  }, this._readChunk = function() {
@@ -5083,28 +5083,28 @@ License: MIT
5083
5083
  var R = Math.min(this._start + this._config.chunkSize, this._input.size);
5084
5084
  M = b.call(M, this._start, R);
5085
5085
  }
5086
- var Y = u.readAsText(M, this._config.encoding);
5086
+ var Y = f.readAsText(M, this._config.encoding);
5087
5087
  v || this._chunkLoaded({ target: { result: Y } });
5088
5088
  }, this._chunkLoaded = function(M) {
5089
5089
  this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(M.target.result);
5090
5090
  }, this._chunkError = function() {
5091
- this._sendError(u.error);
5091
+ this._sendError(f.error);
5092
5092
  };
5093
5093
  }
5094
- function L(f) {
5095
- var u;
5096
- d.call(this, f = f || {}), this.stream = function(b) {
5097
- return u = b, this._nextChunk();
5094
+ function S(u) {
5095
+ var f;
5096
+ d.call(this, u = u || {}), this.stream = function(b) {
5097
+ return f = b, this._nextChunk();
5098
5098
  }, this._nextChunk = function() {
5099
5099
  if (!this._finished) {
5100
5100
  var b, v = this._config.chunkSize;
5101
- return v ? (b = u.substring(0, v), u = u.substring(v)) : (b = u, u = ""), this._finished = !u, this.parseChunk(b);
5101
+ return v ? (b = f.substring(0, v), f = f.substring(v)) : (b = f, f = ""), this._finished = !f, this.parseChunk(b);
5102
5102
  }
5103
5103
  };
5104
5104
  }
5105
- function E(f) {
5106
- d.call(this, f = f || {});
5107
- var u = [], b = !0, v = !1;
5105
+ function E(u) {
5106
+ d.call(this, u = u || {});
5107
+ var f = [], b = !0, v = !1;
5108
5108
  this.pause = function() {
5109
5109
  d.prototype.pause.apply(this, arguments), this._input.pause();
5110
5110
  }, this.resume = function() {
@@ -5112,12 +5112,12 @@ License: MIT
5112
5112
  }, this.stream = function(M) {
5113
5113
  this._input = M, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
5114
5114
  }, this._checkIsFinished = function() {
5115
- v && u.length === 1 && (this._finished = !0);
5115
+ v && f.length === 1 && (this._finished = !0);
5116
5116
  }, this._nextChunk = function() {
5117
- this._checkIsFinished(), u.length ? this.parseChunk(u.shift()) : b = !0;
5117
+ this._checkIsFinished(), f.length ? this.parseChunk(f.shift()) : b = !0;
5118
5118
  }, this._streamData = le(function(M) {
5119
5119
  try {
5120
- u.push(typeof M == "string" ? M : M.toString(this._config.encoding)), b && (b = !1, this._checkIsFinished(), this.parseChunk(u.shift()));
5120
+ f.push(typeof M == "string" ? M : M.toString(this._config.encoding)), b && (b = !1, this._checkIsFinished(), this.parseChunk(f.shift()));
5121
5121
  } catch (R) {
5122
5122
  this._streamError(R);
5123
5123
  }
@@ -5129,58 +5129,58 @@ License: MIT
5129
5129
  this._input.removeListener("data", this._streamData), this._input.removeListener("end", this._streamEnd), this._input.removeListener("error", this._streamError);
5130
5130
  }, this);
5131
5131
  }
5132
- function w(f) {
5133
- var u, b, v, M = Math.pow(2, 53), R = -M, Y = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, ie = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, ee = this, W = 0, fe = 0, K = !1, S = !1, N = [], T = { data: [], errors: [], meta: {} };
5134
- if (q(f.step)) {
5135
- var V = f.step;
5136
- f.step = function(I) {
5137
- if (T = I, j())
5132
+ function w(u) {
5133
+ var f, b, v, M = Math.pow(2, 53), R = -M, Y = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, ie = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, ee = this, W = 0, fe = 0, K = !1, L = !1, N = [], T = { data: [], errors: [], meta: {} };
5134
+ if (q(u.step)) {
5135
+ var V = u.step;
5136
+ u.step = function(I) {
5137
+ if (T = I, F())
5138
5138
  ne();
5139
5139
  else {
5140
5140
  if (ne(), T.data.length === 0)
5141
5141
  return;
5142
- W += I.data.length, f.preview && W > f.preview ? b.abort() : (T.data = T.data[0], V(T, ee));
5142
+ W += I.data.length, u.preview && W > u.preview ? b.abort() : (T.data = T.data[0], V(T, ee));
5143
5143
  }
5144
5144
  };
5145
5145
  }
5146
5146
  function Z(I) {
5147
- return f.skipEmptyLines === "greedy" ? I.join("").trim() === "" : I.length === 1 && I[0].length === 0;
5147
+ return u.skipEmptyLines === "greedy" ? I.join("").trim() === "" : I.length === 1 && I[0].length === 0;
5148
5148
  }
5149
5149
  function ne() {
5150
- return T && v && (Q("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + s.DefaultDelimiter + "'"), v = !1), f.skipEmptyLines && (T.data = T.data.filter(function(I) {
5150
+ return T && v && (Q("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + s.DefaultDelimiter + "'"), v = !1), u.skipEmptyLines && (T.data = T.data.filter(function(I) {
5151
5151
  return !Z(I);
5152
- })), j() && function() {
5152
+ })), F() && function() {
5153
5153
  if (!T)
5154
5154
  return;
5155
5155
  function I(U, x) {
5156
- q(f.transformHeader) && (U = f.transformHeader(U, x)), N.push(U);
5156
+ q(u.transformHeader) && (U = u.transformHeader(U, x)), N.push(U);
5157
5157
  }
5158
5158
  if (Array.isArray(T.data[0])) {
5159
- for (var g = 0; j() && g < T.data.length; g++)
5159
+ for (var g = 0; F() && g < T.data.length; g++)
5160
5160
  T.data[g].forEach(I);
5161
5161
  T.data.splice(0, 1);
5162
5162
  } else
5163
5163
  T.data.forEach(I);
5164
5164
  }(), function() {
5165
- if (!T || !f.header && !f.dynamicTyping && !f.transform)
5165
+ if (!T || !u.header && !u.dynamicTyping && !u.transform)
5166
5166
  return T;
5167
5167
  function I(U, x) {
5168
- var J, se = f.header ? {} : [];
5168
+ var J, se = u.header ? {} : [];
5169
5169
  for (J = 0; J < U.length; J++) {
5170
5170
  var re = J, ae = U[J];
5171
- f.header && (re = J >= N.length ? "__parsed_extra" : N[J]), f.transform && (ae = f.transform(ae, re)), ae = B(re, ae), re === "__parsed_extra" ? (se[re] = se[re] || [], se[re].push(ae)) : se[re] = ae;
5171
+ u.header && (re = J >= N.length ? "__parsed_extra" : N[J]), u.transform && (ae = u.transform(ae, re)), ae = B(re, ae), re === "__parsed_extra" ? (se[re] = se[re] || [], se[re].push(ae)) : se[re] = ae;
5172
5172
  }
5173
- return f.header && (J > N.length ? Q("FieldMismatch", "TooManyFields", "Too many fields: expected " + N.length + " fields but parsed " + J, fe + x) : J < N.length && Q("FieldMismatch", "TooFewFields", "Too few fields: expected " + N.length + " fields but parsed " + J, fe + x)), se;
5173
+ return u.header && (J > N.length ? Q("FieldMismatch", "TooManyFields", "Too many fields: expected " + N.length + " fields but parsed " + J, fe + x) : J < N.length && Q("FieldMismatch", "TooFewFields", "Too few fields: expected " + N.length + " fields but parsed " + J, fe + x)), se;
5174
5174
  }
5175
5175
  var g = 1;
5176
- return !T.data.length || Array.isArray(T.data[0]) ? (T.data = T.data.map(I), g = T.data.length) : T.data = I(T.data, 0), f.header && T.meta && (T.meta.fields = N), fe += g, T;
5176
+ return !T.data.length || Array.isArray(T.data[0]) ? (T.data = T.data.map(I), g = T.data.length) : T.data = I(T.data, 0), u.header && T.meta && (T.meta.fields = N), fe += g, T;
5177
5177
  }();
5178
5178
  }
5179
- function j() {
5180
- return f.header && N.length === 0;
5179
+ function F() {
5180
+ return u.header && N.length === 0;
5181
5181
  }
5182
5182
  function B(I, g) {
5183
- return U = I, f.dynamicTypingFunction && f.dynamicTyping[U] === void 0 && (f.dynamicTyping[U] = f.dynamicTypingFunction(U)), (f.dynamicTyping[U] || f.dynamicTyping) === !0 ? g === "true" || g === "TRUE" || g !== "false" && g !== "FALSE" && (function(x) {
5183
+ return U = I, u.dynamicTypingFunction && u.dynamicTyping[U] === void 0 && (u.dynamicTyping[U] = u.dynamicTypingFunction(U)), (u.dynamicTyping[U] || u.dynamicTyping) === !0 ? g === "true" || g === "TRUE" || g !== "false" && g !== "FALSE" && (function(x) {
5184
5184
  if (Y.test(x)) {
5185
5185
  var J = parseFloat(x);
5186
5186
  if (R < J && J < M)
@@ -5195,8 +5195,8 @@ License: MIT
5195
5195
  x !== void 0 && (J.row = x), T.errors.push(J);
5196
5196
  }
5197
5197
  this.parse = function(I, g, U) {
5198
- var x = f.quoteChar || '"';
5199
- if (f.newline || (f.newline = function(re, ae) {
5198
+ var x = u.quoteChar || '"';
5199
+ if (u.newline || (u.newline = function(re, ae) {
5200
5200
  re = re.substring(0, 1048576);
5201
5201
  var D = new RegExp(C(ae) + "([^]*?)" + C(ae), "gm"), oe = (re = re.replace(D, "")).split("\r"), me = re.split(`
5202
5202
  `), ue = 1 < me.length && me[0].length < oe[0].length;
@@ -5208,65 +5208,65 @@ License: MIT
5208
5208
  ` && X++;
5209
5209
  return X >= oe.length / 2 ? `\r
5210
5210
  ` : "\r";
5211
- }(I, x)), v = !1, f.delimiter)
5212
- q(f.delimiter) && (f.delimiter = f.delimiter(I), T.meta.delimiter = f.delimiter);
5211
+ }(I, x)), v = !1, u.delimiter)
5212
+ q(u.delimiter) && (u.delimiter = u.delimiter(I), T.meta.delimiter = u.delimiter);
5213
5213
  else {
5214
5214
  var J = function(re, ae, D, oe, me) {
5215
5215
  var ue, X, P, k;
5216
5216
  me = me || [",", " ", "|", ";", s.RECORD_SEP, s.UNIT_SEP];
5217
5217
  for (var Ce = 0; Ce < me.length; Ce++) {
5218
- var z = me[Ce], pe = 0, de = 0, Te = 0;
5218
+ var H = me[Ce], pe = 0, de = 0, Te = 0;
5219
5219
  P = void 0;
5220
- for (var we = new A({ comments: oe, delimiter: z, newline: ae, preview: 10 }).parse(re), Ne = 0; Ne < we.data.length; Ne++)
5220
+ for (var we = new A({ comments: oe, delimiter: H, newline: ae, preview: 10 }).parse(re), Ne = 0; Ne < we.data.length; Ne++)
5221
5221
  if (D && Z(we.data[Ne]))
5222
5222
  Te++;
5223
5223
  else {
5224
5224
  var ke = we.data[Ne].length;
5225
5225
  de += ke, P !== void 0 ? 0 < ke && (pe += Math.abs(ke - P), P = ke) : P = ke;
5226
5226
  }
5227
- 0 < we.data.length && (de /= we.data.length - Te), (X === void 0 || pe <= X) && (k === void 0 || k < de) && 1.99 < de && (X = pe, ue = z, k = de);
5227
+ 0 < we.data.length && (de /= we.data.length - Te), (X === void 0 || pe <= X) && (k === void 0 || k < de) && 1.99 < de && (X = pe, ue = H, k = de);
5228
5228
  }
5229
- return { successful: !!(f.delimiter = ue), bestDelimiter: ue };
5230
- }(I, f.newline, f.skipEmptyLines, f.comments, f.delimitersToGuess);
5231
- J.successful ? f.delimiter = J.bestDelimiter : (v = !0, f.delimiter = s.DefaultDelimiter), T.meta.delimiter = f.delimiter;
5229
+ return { successful: !!(u.delimiter = ue), bestDelimiter: ue };
5230
+ }(I, u.newline, u.skipEmptyLines, u.comments, u.delimitersToGuess);
5231
+ J.successful ? u.delimiter = J.bestDelimiter : (v = !0, u.delimiter = s.DefaultDelimiter), T.meta.delimiter = u.delimiter;
5232
5232
  }
5233
- var se = _(f);
5234
- return f.preview && f.header && se.preview++, u = I, b = new A(se), T = b.parse(u, g, U), ne(), K ? { meta: { paused: !0 } } : T || { meta: { paused: !1 } };
5233
+ var se = _(u);
5234
+ return u.preview && u.header && se.preview++, f = I, b = new A(se), T = b.parse(f, g, U), ne(), K ? { meta: { paused: !0 } } : T || { meta: { paused: !1 } };
5235
5235
  }, this.paused = function() {
5236
5236
  return K;
5237
5237
  }, this.pause = function() {
5238
- K = !0, b.abort(), u = q(f.chunk) ? "" : u.substring(b.getCharIndex());
5238
+ K = !0, b.abort(), f = q(u.chunk) ? "" : f.substring(b.getCharIndex());
5239
5239
  }, this.resume = function() {
5240
- ee.streamer._halted ? (K = !1, ee.streamer.parseChunk(u, !0)) : setTimeout(ee.resume, 3);
5240
+ ee.streamer._halted ? (K = !1, ee.streamer.parseChunk(f, !0)) : setTimeout(ee.resume, 3);
5241
5241
  }, this.aborted = function() {
5242
- return S;
5242
+ return L;
5243
5243
  }, this.abort = function() {
5244
- S = !0, b.abort(), T.meta.aborted = !0, q(f.complete) && f.complete(T), u = "";
5244
+ L = !0, b.abort(), T.meta.aborted = !0, q(u.complete) && u.complete(T), f = "";
5245
5245
  };
5246
5246
  }
5247
- function C(f) {
5248
- return f.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
5247
+ function C(u) {
5248
+ return u.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
5249
5249
  }
5250
- function A(f) {
5251
- var u, b = (f = f || {}).delimiter, v = f.newline, M = f.comments, R = f.step, Y = f.preview, ie = f.fastMode, ee = u = f.quoteChar === void 0 || f.quoteChar === null ? '"' : f.quoteChar;
5252
- if (f.escapeChar !== void 0 && (ee = f.escapeChar), (typeof b != "string" || -1 < s.BAD_DELIMITERS.indexOf(b)) && (b = ","), M === b)
5250
+ function A(u) {
5251
+ var f, b = (u = u || {}).delimiter, v = u.newline, M = u.comments, R = u.step, Y = u.preview, ie = u.fastMode, ee = f = u.quoteChar === void 0 || u.quoteChar === null ? '"' : u.quoteChar;
5252
+ if (u.escapeChar !== void 0 && (ee = u.escapeChar), (typeof b != "string" || -1 < s.BAD_DELIMITERS.indexOf(b)) && (b = ","), M === b)
5253
5253
  throw new Error("Comment character same as delimiter");
5254
5254
  M === !0 ? M = "#" : (typeof M != "string" || -1 < s.BAD_DELIMITERS.indexOf(M)) && (M = !1), v !== `
5255
5255
  ` && v !== "\r" && v !== `\r
5256
5256
  ` && (v = `
5257
5257
  `);
5258
5258
  var W = 0, fe = !1;
5259
- this.parse = function(K, S, N) {
5259
+ this.parse = function(K, L, N) {
5260
5260
  if (typeof K != "string")
5261
5261
  throw new Error("Input must be a string");
5262
- var T = K.length, V = b.length, Z = v.length, ne = M.length, j = q(R), B = [], Q = [], I = [], g = W = 0;
5262
+ var T = K.length, V = b.length, Z = v.length, ne = M.length, F = q(R), B = [], Q = [], I = [], g = W = 0;
5263
5263
  if (!K)
5264
5264
  return Ae();
5265
- if (f.header) {
5265
+ if (u.header) {
5266
5266
  var U = K.split(v)[0].split(b), x = [], J = {}, se = !1;
5267
5267
  for (var re in U) {
5268
5268
  var ae = U[re];
5269
- q(f.transformHeader) && (ae = f.transformHeader(ae, re));
5269
+ q(u.transformHeader) && (ae = u.transformHeader(ae, re));
5270
5270
  var D = ae, oe = J[ae] || 0;
5271
5271
  0 < oe && (se = !0, D = ae + "_" + oe), J[ae] = oe + 1, x.push(D);
5272
5272
  }
@@ -5275,14 +5275,14 @@ License: MIT
5275
5275
  me[0] = x.join(b), K = me.join(v);
5276
5276
  }
5277
5277
  }
5278
- if (ie || ie !== !1 && K.indexOf(u) === -1) {
5278
+ if (ie || ie !== !1 && K.indexOf(f) === -1) {
5279
5279
  for (var ue = K.split(v), X = 0; X < ue.length; X++) {
5280
5280
  if (I = ue[X], W += I.length, X !== ue.length - 1)
5281
5281
  W += v.length;
5282
5282
  else if (N)
5283
5283
  return Ae();
5284
5284
  if (!M || I.substring(0, ne) !== M) {
5285
- if (j) {
5285
+ if (F) {
5286
5286
  if (B = [], Te(I.split(b)), qe(), fe)
5287
5287
  return Ae();
5288
5288
  } else
@@ -5293,8 +5293,8 @@ License: MIT
5293
5293
  }
5294
5294
  return Ae();
5295
5295
  }
5296
- for (var P = K.indexOf(b, W), k = K.indexOf(v, W), Ce = new RegExp(C(ee) + C(u), "g"), z = K.indexOf(u, W); ; )
5297
- if (K[W] !== u)
5296
+ for (var P = K.indexOf(b, W), k = K.indexOf(v, W), Ce = new RegExp(C(ee) + C(f), "g"), H = K.indexOf(f, W); ; )
5297
+ if (K[W] !== f)
5298
5298
  if (M && I.length === 0 && K.substring(W, W + ne) === M) {
5299
5299
  if (k === -1)
5300
5300
  return Ae();
@@ -5304,37 +5304,37 @@ License: MIT
5304
5304
  else {
5305
5305
  if (k === -1)
5306
5306
  break;
5307
- if (I.push(K.substring(W, k)), ke(k + Z), j && (qe(), fe))
5307
+ if (I.push(K.substring(W, k)), ke(k + Z), F && (qe(), fe))
5308
5308
  return Ae();
5309
5309
  if (Y && B.length >= Y)
5310
5310
  return Ae(!0);
5311
5311
  }
5312
5312
  else
5313
- for (z = W, W++; ; ) {
5314
- if ((z = K.indexOf(u, z + 1)) === -1)
5313
+ for (H = W, W++; ; ) {
5314
+ if ((H = K.indexOf(f, H + 1)) === -1)
5315
5315
  return N || Q.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: B.length, index: W }), Ne();
5316
- if (z === T - 1)
5317
- return Ne(K.substring(W, z).replace(Ce, u));
5318
- if (u !== ee || K[z + 1] !== ee) {
5319
- if (u === ee || z === 0 || K[z - 1] !== ee) {
5320
- P !== -1 && P < z + 1 && (P = K.indexOf(b, z + 1)), k !== -1 && k < z + 1 && (k = K.indexOf(v, z + 1));
5316
+ if (H === T - 1)
5317
+ return Ne(K.substring(W, H).replace(Ce, f));
5318
+ if (f !== ee || K[H + 1] !== ee) {
5319
+ if (f === ee || H === 0 || K[H - 1] !== ee) {
5320
+ P !== -1 && P < H + 1 && (P = K.indexOf(b, H + 1)), k !== -1 && k < H + 1 && (k = K.indexOf(v, H + 1));
5321
5321
  var pe = we(k === -1 ? P : Math.min(P, k));
5322
- if (K.substr(z + 1 + pe, V) === b) {
5323
- I.push(K.substring(W, z).replace(Ce, u)), K[W = z + 1 + pe + V] !== u && (z = K.indexOf(u, W)), P = K.indexOf(b, W), k = K.indexOf(v, W);
5322
+ if (K.substr(H + 1 + pe, V) === b) {
5323
+ I.push(K.substring(W, H).replace(Ce, f)), K[W = H + 1 + pe + V] !== f && (H = K.indexOf(f, W)), P = K.indexOf(b, W), k = K.indexOf(v, W);
5324
5324
  break;
5325
5325
  }
5326
5326
  var de = we(k);
5327
- if (K.substring(z + 1 + de, z + 1 + de + Z) === v) {
5328
- if (I.push(K.substring(W, z).replace(Ce, u)), ke(z + 1 + de + Z), P = K.indexOf(b, W), z = K.indexOf(u, W), j && (qe(), fe))
5327
+ if (K.substring(H + 1 + de, H + 1 + de + Z) === v) {
5328
+ if (I.push(K.substring(W, H).replace(Ce, f)), ke(H + 1 + de + Z), P = K.indexOf(b, W), H = K.indexOf(f, W), F && (qe(), fe))
5329
5329
  return Ae();
5330
5330
  if (Y && B.length >= Y)
5331
5331
  return Ae(!0);
5332
5332
  break;
5333
5333
  }
5334
- Q.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: B.length, index: W }), z++;
5334
+ Q.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: B.length, index: W }), H++;
5335
5335
  }
5336
5336
  } else
5337
- z++;
5337
+ H++;
5338
5338
  }
5339
5339
  return Ne();
5340
5340
  function Te(Pe) {
@@ -5343,19 +5343,19 @@ License: MIT
5343
5343
  function we(Pe) {
5344
5344
  var nt = 0;
5345
5345
  if (Pe !== -1) {
5346
- var Et = K.substring(z + 1, Pe);
5346
+ var Et = K.substring(H + 1, Pe);
5347
5347
  Et && Et.trim() === "" && (nt = Et.length);
5348
5348
  }
5349
5349
  return nt;
5350
5350
  }
5351
5351
  function Ne(Pe) {
5352
- return N || (Pe === void 0 && (Pe = K.substring(W)), I.push(Pe), W = T, Te(I), j && qe()), Ae();
5352
+ return N || (Pe === void 0 && (Pe = K.substring(W)), I.push(Pe), W = T, Te(I), F && qe()), Ae();
5353
5353
  }
5354
5354
  function ke(Pe) {
5355
5355
  W = Pe, Te(I), I = [], k = K.indexOf(v, W);
5356
5356
  }
5357
5357
  function Ae(Pe) {
5358
- return { data: B, errors: Q, meta: { delimiter: b, linebreak: v, aborted: fe, truncated: !!Pe, cursor: g + (S || 0) } };
5358
+ return { data: B, errors: Q, meta: { delimiter: b, linebreak: v, aborted: fe, truncated: !!Pe, cursor: g + (L || 0) } };
5359
5359
  }
5360
5360
  function qe() {
5361
5361
  R(Ae()), B = [], Q = [];
@@ -5366,55 +5366,55 @@ License: MIT
5366
5366
  return W;
5367
5367
  };
5368
5368
  }
5369
- function H(f) {
5370
- var u = f.data, b = o[u.workerId], v = !1;
5371
- if (u.error)
5372
- b.userError(u.error, u.file);
5373
- else if (u.results && u.results.data) {
5369
+ function $(u) {
5370
+ var f = u.data, b = o[f.workerId], v = !1;
5371
+ if (f.error)
5372
+ b.userError(f.error, f.file);
5373
+ else if (f.results && f.results.data) {
5374
5374
  var M = { abort: function() {
5375
- v = !0, F(u.workerId, { data: [], errors: [], meta: { aborted: !0 } });
5375
+ v = !0, j(f.workerId, { data: [], errors: [], meta: { aborted: !0 } });
5376
5376
  }, pause: O, resume: O };
5377
5377
  if (q(b.userStep)) {
5378
- for (var R = 0; R < u.results.data.length && (b.userStep({ data: u.results.data[R], errors: u.results.errors, meta: u.results.meta }, M), !v); R++)
5378
+ for (var R = 0; R < f.results.data.length && (b.userStep({ data: f.results.data[R], errors: f.results.errors, meta: f.results.meta }, M), !v); R++)
5379
5379
  ;
5380
- delete u.results;
5380
+ delete f.results;
5381
5381
  } else
5382
- q(b.userChunk) && (b.userChunk(u.results, M, u.file), delete u.results);
5382
+ q(b.userChunk) && (b.userChunk(f.results, M, f.file), delete f.results);
5383
5383
  }
5384
- u.finished && !v && F(u.workerId, u.results);
5384
+ f.finished && !v && j(f.workerId, f.results);
5385
5385
  }
5386
- function F(f, u) {
5387
- var b = o[f];
5388
- q(b.userComplete) && b.userComplete(u), b.terminate(), delete o[f];
5386
+ function j(u, f) {
5387
+ var b = o[u];
5388
+ q(b.userComplete) && b.userComplete(f), b.terminate(), delete o[u];
5389
5389
  }
5390
5390
  function O() {
5391
5391
  throw new Error("Not implemented.");
5392
5392
  }
5393
- function _(f) {
5394
- if (typeof f != "object" || f === null)
5395
- return f;
5396
- var u = Array.isArray(f) ? [] : {};
5397
- for (var b in f)
5398
- u[b] = _(f[b]);
5399
- return u;
5393
+ function _(u) {
5394
+ if (typeof u != "object" || u === null)
5395
+ return u;
5396
+ var f = Array.isArray(u) ? [] : {};
5397
+ for (var b in u)
5398
+ f[b] = _(u[b]);
5399
+ return f;
5400
5400
  }
5401
- function le(f, u) {
5401
+ function le(u, f) {
5402
5402
  return function() {
5403
- f.apply(u, arguments);
5403
+ u.apply(f, arguments);
5404
5404
  };
5405
5405
  }
5406
- function q(f) {
5407
- return typeof f == "function";
5406
+ function q(u) {
5407
+ return typeof u == "function";
5408
5408
  }
5409
- return a && (r.onmessage = function(f) {
5410
- var u = f.data;
5411
- if (s.WORKER_ID === void 0 && u && (s.WORKER_ID = u.workerId), typeof u.input == "string")
5412
- r.postMessage({ workerId: s.WORKER_ID, results: s.parse(u.input, u.config), finished: !0 });
5413
- else if (r.File && u.input instanceof File || u.input instanceof Object) {
5414
- var b = s.parse(u.input, u.config);
5409
+ return a && (r.onmessage = function(u) {
5410
+ var f = u.data;
5411
+ if (s.WORKER_ID === void 0 && f && (s.WORKER_ID = f.workerId), typeof f.input == "string")
5412
+ r.postMessage({ workerId: s.WORKER_ID, results: s.parse(f.input, f.config), finished: !0 });
5413
+ else if (r.File && f.input instanceof File || f.input instanceof Object) {
5414
+ var b = s.parse(f.input, f.config);
5415
5415
  b && r.postMessage({ workerId: s.WORKER_ID, results: b, finished: !0 });
5416
5416
  }
5417
- }), (h.prototype = Object.create(d.prototype)).constructor = h, (m.prototype = Object.create(d.prototype)).constructor = m, (L.prototype = Object.create(L.prototype)).constructor = L, (E.prototype = Object.create(d.prototype)).constructor = E, s;
5417
+ }), (h.prototype = Object.create(d.prototype)).constructor = h, (m.prototype = Object.create(d.prototype)).constructor = m, (S.prototype = Object.create(S.prototype)).constructor = S, (E.prototype = Object.create(d.prototype)).constructor = E, s;
5418
5418
  });
5419
5419
  })(fl);
5420
5420
  var sd = fl.exports;
@@ -5816,7 +5816,7 @@ var bl = /* @__PURE__ */ Dn(null), Ad = function(t) {
5816
5816
  var n = t.children, r = t.uuid, i = t.accordionContext, a = t.dangerouslySetExpanded, o = function() {
5817
5817
  i.toggleExpanded(r);
5818
5818
  }, l = function(c) {
5819
- var d = a ?? c.isItemExpanded(r), h = c.isItemDisabled(r), m = c.getPanelAttributes(r, a), L = c.getHeadingAttributes(r), E = c.getButtonAttributes(r, a);
5819
+ var d = a ?? c.isItemExpanded(r), h = c.isItemDisabled(r), m = c.getPanelAttributes(r, a), S = c.getHeadingAttributes(r), E = c.getButtonAttributes(r, a);
5820
5820
  return /* @__PURE__ */ De(bl.Provider, {
5821
5821
  value: {
5822
5822
  uuid: r,
@@ -5824,7 +5824,7 @@ var bl = /* @__PURE__ */ Dn(null), Ad = function(t) {
5824
5824
  disabled: h,
5825
5825
  toggleExpanded: o,
5826
5826
  panelAttributes: m,
5827
- headingAttributes: L,
5827
+ headingAttributes: S,
5828
5828
  buttonAttributes: E
5829
5829
  }
5830
5830
  }, n);
@@ -6120,8 +6120,8 @@ function en(e) {
6120
6120
  async function Sl(e, t) {
6121
6121
  var n;
6122
6122
  t === void 0 && (t = {});
6123
- const { x: r, y: i, platform: a, rects: o, elements: l, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: d = "viewport", elementContext: h = "floating", altBoundary: m = !1, padding: L = 0 } = t, E = Tl(L), w = l[m ? h === "floating" ? "reference" : "floating" : h], C = en(await a.getClippingRect({ element: (n = await (a.isElement == null ? void 0 : a.isElement(w))) == null || n ? w : w.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)), boundary: c, rootBoundary: d, strategy: s })), A = h === "floating" ? { ...o.floating, x: r, y: i } : o.reference, H = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l.floating)), F = await (a.isElement == null ? void 0 : a.isElement(H)) && await (a.getScale == null ? void 0 : a.getScale(H)) || { x: 1, y: 1 }, O = en(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: A, offsetParent: H, strategy: s }) : A);
6124
- return { top: (C.top - O.top + E.top) / F.y, bottom: (O.bottom - C.bottom + E.bottom) / F.y, left: (C.left - O.left + E.left) / F.x, right: (O.right - C.right + E.right) / F.x };
6123
+ const { x: r, y: i, platform: a, rects: o, elements: l, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: d = "viewport", elementContext: h = "floating", altBoundary: m = !1, padding: S = 0 } = t, E = Tl(S), w = l[m ? h === "floating" ? "reference" : "floating" : h], C = en(await a.getClippingRect({ element: (n = await (a.isElement == null ? void 0 : a.isElement(w))) == null || n ? w : w.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)), boundary: c, rootBoundary: d, strategy: s })), A = h === "floating" ? { ...o.floating, x: r, y: i } : o.reference, $ = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l.floating)), j = await (a.isElement == null ? void 0 : a.isElement($)) && await (a.getScale == null ? void 0 : a.getScale($)) || { x: 1, y: 1 }, O = en(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: A, offsetParent: $, strategy: s }) : A);
6124
+ return { top: (C.top - O.top + E.top) / j.y, bottom: (O.bottom - C.bottom + E.bottom) / j.y, left: (C.left - O.left + E.left) / j.x, right: (O.right - C.right + E.right) / j.x };
6125
6125
  }
6126
6126
  const b1 = Math.min, w1 = Math.max;
6127
6127
  function Gr(e, t, n) {
@@ -6145,18 +6145,18 @@ function Cr(e) {
6145
6145
  const C1 = function(e) {
6146
6146
  return e === void 0 && (e = {}), { name: "flip", options: e, async fn(t) {
6147
6147
  var n;
6148
- const { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: l, elements: s } = t, { mainAxis: c = !0, crossAxis: d = !0, fallbackPlacements: h, fallbackStrategy: m = "bestFit", fallbackAxisSideDirection: L = "none", flipAlignment: E = !0, ...w } = e, C = Rt(r), A = Rt(o) === o, H = await (l.isRTL == null ? void 0 : l.isRTL(s.floating)), F = h || (A || !E ? [Pn(o)] : function(v) {
6148
+ const { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: l, elements: s } = t, { mainAxis: c = !0, crossAxis: d = !0, fallbackPlacements: h, fallbackStrategy: m = "bestFit", fallbackAxisSideDirection: S = "none", flipAlignment: E = !0, ...w } = e, C = Rt(r), A = Rt(o) === o, $ = await (l.isRTL == null ? void 0 : l.isRTL(s.floating)), j = h || (A || !E ? [Pn(o)] : function(v) {
6149
6149
  const M = Pn(v);
6150
6150
  return [Cr(v), M, Cr(M)];
6151
6151
  }(o));
6152
- h || L === "none" || F.push(...function(v, M, R, Y) {
6152
+ h || S === "none" || j.push(...function(v, M, R, Y) {
6153
6153
  const ie = hn(v);
6154
6154
  let ee = function(W, fe, K) {
6155
- const S = ["left", "right"], N = ["right", "left"], T = ["top", "bottom"], V = ["bottom", "top"];
6155
+ const L = ["left", "right"], N = ["right", "left"], T = ["top", "bottom"], V = ["bottom", "top"];
6156
6156
  switch (W) {
6157
6157
  case "top":
6158
6158
  case "bottom":
6159
- return K ? fe ? N : S : fe ? S : N;
6159
+ return K ? fe ? N : L : fe ? L : N;
6160
6160
  case "left":
6161
6161
  case "right":
6162
6162
  return fe ? T : V;
@@ -6165,19 +6165,19 @@ const C1 = function(e) {
6165
6165
  }
6166
6166
  }(Rt(v), R === "start", Y);
6167
6167
  return ie && (ee = ee.map((W) => W + "-" + ie), M && (ee = ee.concat(ee.map(Cr)))), ee;
6168
- }(o, E, L, H));
6169
- const O = [o, ...F], _ = await Sl(t, w), le = [];
6168
+ }(o, E, S, $));
6169
+ const O = [o, ...j], _ = await Sl(t, w), le = [];
6170
6170
  let q = ((n = i.flip) == null ? void 0 : n.overflows) || [];
6171
6171
  if (c && le.push(_[C]), d) {
6172
- const { main: v, cross: M } = _1(r, a, H);
6172
+ const { main: v, cross: M } = _1(r, a, $);
6173
6173
  le.push(_[v], _[M]);
6174
6174
  }
6175
6175
  if (q = [...q, { placement: r, overflows: le }], !le.every((v) => v <= 0)) {
6176
- var f, u;
6177
- const v = (((f = i.flip) == null ? void 0 : f.index) || 0) + 1, M = O[v];
6176
+ var u, f;
6177
+ const v = (((u = i.flip) == null ? void 0 : u.index) || 0) + 1, M = O[v];
6178
6178
  if (M)
6179
6179
  return { data: { index: v, overflows: q }, reset: { placement: M } };
6180
- let R = (u = q.find((Y) => Y.overflows[0] <= 0)) == null ? void 0 : u.placement;
6180
+ let R = (f = q.find((Y) => Y.overflows[0] <= 0)) == null ? void 0 : f.placement;
6181
6181
  if (!R)
6182
6182
  switch (m) {
6183
6183
  case "bestFit": {
@@ -6197,28 +6197,28 @@ const C1 = function(e) {
6197
6197
  }, T1 = function(e) {
6198
6198
  return e === void 0 && (e = 0), { name: "offset", options: e, async fn(t) {
6199
6199
  const { x: n, y: r } = t, i = await async function(a, o) {
6200
- const { placement: l, platform: s, elements: c } = a, d = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), h = Rt(l), m = hn(l), L = pn(l) === "x", E = ["left", "top"].includes(h) ? -1 : 1, w = d && L ? -1 : 1, C = typeof o == "function" ? o(a) : o;
6201
- let { mainAxis: A, crossAxis: H, alignmentAxis: F } = typeof C == "number" ? { mainAxis: C, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...C };
6202
- return m && typeof F == "number" && (H = m === "end" ? -1 * F : F), L ? { x: H * w, y: A * E } : { x: A * E, y: H * w };
6200
+ const { placement: l, platform: s, elements: c } = a, d = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), h = Rt(l), m = hn(l), S = pn(l) === "x", E = ["left", "top"].includes(h) ? -1 : 1, w = d && S ? -1 : 1, C = typeof o == "function" ? o(a) : o;
6201
+ let { mainAxis: A, crossAxis: $, alignmentAxis: j } = typeof C == "number" ? { mainAxis: C, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...C };
6202
+ return m && typeof j == "number" && ($ = m === "end" ? -1 * j : j), S ? { x: $ * w, y: A * E } : { x: A * E, y: $ * w };
6203
6203
  }(t, e);
6204
6204
  return { x: n + i.x, y: r + i.y, data: i };
6205
6205
  } };
6206
6206
  }, S1 = function(e) {
6207
6207
  return e === void 0 && (e = {}), { name: "shift", options: e, async fn(t) {
6208
6208
  const { x: n, y: r, placement: i } = t, { mainAxis: a = !0, crossAxis: o = !1, limiter: l = { fn: (C) => {
6209
- let { x: A, y: H } = C;
6210
- return { x: A, y: H };
6209
+ let { x: A, y: $ } = C;
6210
+ return { x: A, y: $ };
6211
6211
  } }, ...s } = e, c = { x: n, y: r }, d = await Sl(t, s), h = pn(Rt(i)), m = h === "x" ? "y" : "x";
6212
- let L = c[h], E = c[m];
6212
+ let S = c[h], E = c[m];
6213
6213
  if (a) {
6214
6214
  const C = h === "y" ? "bottom" : "right";
6215
- L = Gr(L + d[h === "y" ? "top" : "left"], L, L - d[C]);
6215
+ S = Gr(S + d[h === "y" ? "top" : "left"], S, S - d[C]);
6216
6216
  }
6217
6217
  if (o) {
6218
6218
  const C = m === "y" ? "bottom" : "right";
6219
6219
  E = Gr(E + d[m === "y" ? "top" : "left"], E, E - d[C]);
6220
6220
  }
6221
- const w = l.fn({ ...t, [h]: L, [m]: E });
6221
+ const w = l.fn({ ...t, [h]: S, [m]: E });
6222
6222
  return { ...w, data: { x: w.x - n, y: w.y - r } };
6223
6223
  } };
6224
6224
  };
@@ -6297,16 +6297,16 @@ function cn(e, t, n, r) {
6297
6297
  let s = kl;
6298
6298
  t && (r ? mt(r) && (s = Ut(r)) : s = Ut(e));
6299
6299
  const c = l ? Xe(l) : window, d = !Rl() && n;
6300
- let h = (o.left + (d && ((i = c.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / s.x, m = (o.top + (d && ((a = c.visualViewport) == null ? void 0 : a.offsetTop) || 0)) / s.y, L = o.width / s.x, E = o.height / s.y;
6300
+ let h = (o.left + (d && ((i = c.visualViewport) == null ? void 0 : i.offsetLeft) || 0)) / s.x, m = (o.top + (d && ((a = c.visualViewport) == null ? void 0 : a.offsetTop) || 0)) / s.y, S = o.width / s.x, E = o.height / s.y;
6301
6301
  if (l) {
6302
6302
  const w = Xe(l), C = r && mt(r) ? Xe(r) : r;
6303
6303
  let A = w.frameElement;
6304
6304
  for (; A && r && C !== w; ) {
6305
- const H = Ut(A), F = A.getBoundingClientRect(), O = getComputedStyle(A);
6306
- F.x += (A.clientLeft + parseFloat(O.paddingLeft)) * H.x, F.y += (A.clientTop + parseFloat(O.paddingTop)) * H.y, h *= H.x, m *= H.y, L *= H.x, E *= H.y, h += F.x, m += F.y, A = Xe(A).frameElement;
6305
+ const $ = Ut(A), j = A.getBoundingClientRect(), O = getComputedStyle(A);
6306
+ j.x += (A.clientLeft + parseFloat(O.paddingLeft)) * $.x, j.y += (A.clientTop + parseFloat(O.paddingTop)) * $.y, h *= $.x, m *= $.y, S *= $.x, E *= $.y, h += j.x, m += j.y, A = Xe(A).frameElement;
6307
6307
  }
6308
6308
  }
6309
- return { width: L, height: E, top: m, right: h + L, bottom: m + E, left: h, x: h, y: m };
6309
+ return { width: S, height: E, top: m, right: h + S, bottom: m + E, left: h, x: h, y: m };
6310
6310
  }
6311
6311
  function vt(e) {
6312
6312
  return ((Al(e) ? e.ownerDocument : e.document) || window.document).documentElement;
@@ -6389,12 +6389,12 @@ const A1 = { getClippingRect: function(e) {
6389
6389
  const h = d.get(c);
6390
6390
  if (h)
6391
6391
  return h;
6392
- let m = Il(c).filter((C) => mt(C) && bt(C) !== "body"), L = null;
6392
+ let m = Il(c).filter((C) => mt(C) && bt(C) !== "body"), S = null;
6393
6393
  const E = at(c).position === "fixed";
6394
6394
  let w = E ? un(c) : c;
6395
6395
  for (; mt(w) && !Ai(w); ) {
6396
6396
  const C = at(w), A = Zr(w);
6397
- (E ? A || L : A || C.position !== "static" || !L || !["absolute", "fixed"].includes(L.position)) ? L = C : m = m.filter((H) => H !== w), w = un(w);
6397
+ (E ? A || S : A || C.position !== "static" || !S || !["absolute", "fixed"].includes(S.position)) ? S = C : m = m.filter(($) => $ !== w), w = un(w);
6398
6398
  }
6399
6399
  return d.set(c, m), m;
6400
6400
  }(t, this._c) : [].concat(n), o = [...a, r], l = o[0], s = o.reduce((c, d) => {
@@ -6423,19 +6423,19 @@ const A1 = { getClippingRect: function(e) {
6423
6423
  }, getClientRects: (e) => Array.from(e.getClientRects()), isRTL: (e) => at(e).direction === "rtl" }, Fa = (e, t, n) => {
6424
6424
  const r = /* @__PURE__ */ new Map(), i = { platform: A1, ...n }, a = { ...i.platform, _c: r };
6425
6425
  return (async (o, l, s) => {
6426
- const { placement: c = "bottom", strategy: d = "absolute", middleware: h = [], platform: m } = s, L = h.filter(Boolean), E = await (m.isRTL == null ? void 0 : m.isRTL(l));
6427
- if (m == null && console.error(["Floating UI: `platform` property was not passed to config. If you", "want to use Floating UI on the web, install @floating-ui/dom", "instead of the /core package. Otherwise, you can create your own", "`platform`: https://floating-ui.com/docs/platform"].join(" ")), L.filter((_) => {
6426
+ const { placement: c = "bottom", strategy: d = "absolute", middleware: h = [], platform: m } = s, S = h.filter(Boolean), E = await (m.isRTL == null ? void 0 : m.isRTL(l));
6427
+ if (m == null && console.error(["Floating UI: `platform` property was not passed to config. If you", "want to use Floating UI on the web, install @floating-ui/dom", "instead of the /core package. Otherwise, you can create your own", "`platform`: https://floating-ui.com/docs/platform"].join(" ")), S.filter((_) => {
6428
6428
  let { name: le } = _;
6429
6429
  return le === "autoPlacement" || le === "flip";
6430
6430
  }).length > 1)
6431
6431
  throw new Error(["Floating UI: duplicate `flip` and/or `autoPlacement` middleware", "detected. This will lead to an infinite loop. Ensure only one of", "either has been passed to the `middleware` array."].join(" "));
6432
6432
  o && l || console.error(["Floating UI: The reference and/or floating element was not defined", "when `computePosition()` was called. Ensure that both elements have", "been created and can be measured."].join(" "));
6433
- let w = await m.getElementRects({ reference: o, floating: l, strategy: d }), { x: C, y: A } = Ma(w, c, E), H = c, F = {}, O = 0;
6434
- for (let _ = 0; _ < L.length; _++) {
6435
- const { name: le, fn: q } = L[_], { x: f, y: u, data: b, reset: v } = await q({ x: C, y: A, initialPlacement: c, placement: H, strategy: d, middlewareData: F, rects: w, platform: m, elements: { reference: o, floating: l } });
6436
- C = f ?? C, A = u ?? A, F = { ...F, [le]: { ...F[le], ...b } }, O > 50 && console.warn(["Floating UI: The middleware lifecycle appears to be running in an", "infinite loop. This is usually caused by a `reset` continually", "being returned without a break condition."].join(" ")), v && O <= 50 && (O++, typeof v == "object" && (v.placement && (H = v.placement), v.rects && (w = v.rects === !0 ? await m.getElementRects({ reference: o, floating: l, strategy: d }) : v.rects), { x: C, y: A } = Ma(w, H, E)), _ = -1);
6433
+ let w = await m.getElementRects({ reference: o, floating: l, strategy: d }), { x: C, y: A } = Ma(w, c, E), $ = c, j = {}, O = 0;
6434
+ for (let _ = 0; _ < S.length; _++) {
6435
+ const { name: le, fn: q } = S[_], { x: u, y: f, data: b, reset: v } = await q({ x: C, y: A, initialPlacement: c, placement: $, strategy: d, middlewareData: j, rects: w, platform: m, elements: { reference: o, floating: l } });
6436
+ C = u ?? C, A = f ?? A, j = { ...j, [le]: { ...j[le], ...b } }, O > 50 && console.warn(["Floating UI: The middleware lifecycle appears to be running in an", "infinite loop. This is usually caused by a `reset` continually", "being returned without a break condition."].join(" ")), v && O <= 50 && (O++, typeof v == "object" && (v.placement && ($ = v.placement), v.rects && (w = v.rects === !0 ? await m.getElementRects({ reference: o, floating: l, strategy: d }) : v.rects), { x: C, y: A } = Ma(w, $, E)), _ = -1);
6437
6437
  }
6438
- return { x: C, y: A, placement: H, strategy: d, middlewareData: F };
6438
+ return { x: C, y: A, placement: $, strategy: d, middlewareData: j };
6439
6439
  })(e, t, { ...i, platform: a });
6440
6440
  };
6441
6441
  var pt, Nt = { exports: {} }, za = {};
@@ -6450,21 +6450,21 @@ var pt, Nt = { exports: {} }, za = {};
6450
6450
  pt = za, function() {
6451
6451
  var e = ht, t = 60103, n = 60106;
6452
6452
  pt.Fragment = 60107;
6453
- var r = 60108, i = 60114, a = 60109, o = 60110, l = 60112, s = 60113, c = 60120, d = 60115, h = 60116, m = 60121, L = 60122, E = 60117, w = 60129, C = 60131;
6453
+ var r = 60108, i = 60114, a = 60109, o = 60110, l = 60112, s = 60113, c = 60120, d = 60115, h = 60116, m = 60121, S = 60122, E = 60117, w = 60129, C = 60131;
6454
6454
  if (typeof Symbol == "function" && Symbol.for) {
6455
6455
  var A = Symbol.for;
6456
- t = A("react.element"), n = A("react.portal"), pt.Fragment = A("react.fragment"), r = A("react.strict_mode"), i = A("react.profiler"), a = A("react.provider"), o = A("react.context"), l = A("react.forward_ref"), s = A("react.suspense"), c = A("react.suspense_list"), d = A("react.memo"), h = A("react.lazy"), m = A("react.block"), L = A("react.server.block"), E = A("react.fundamental"), A("react.scope"), A("react.opaque.id"), w = A("react.debug_trace_mode"), A("react.offscreen"), C = A("react.legacy_hidden");
6456
+ t = A("react.element"), n = A("react.portal"), pt.Fragment = A("react.fragment"), r = A("react.strict_mode"), i = A("react.profiler"), a = A("react.provider"), o = A("react.context"), l = A("react.forward_ref"), s = A("react.suspense"), c = A("react.suspense_list"), d = A("react.memo"), h = A("react.lazy"), m = A("react.block"), S = A("react.server.block"), E = A("react.fundamental"), A("react.scope"), A("react.opaque.id"), w = A("react.debug_trace_mode"), A("react.offscreen"), C = A("react.legacy_hidden");
6457
6457
  }
6458
- var H = typeof Symbol == "function" && Symbol.iterator, F = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
6458
+ var $ = typeof Symbol == "function" && Symbol.iterator, j = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
6459
6459
  function O(g) {
6460
6460
  for (var U = arguments.length, x = new Array(U > 1 ? U - 1 : 0), J = 1; J < U; J++)
6461
6461
  x[J - 1] = arguments[J];
6462
6462
  _("error", g, x);
6463
6463
  }
6464
6464
  function _(g, U, x) {
6465
- var J = F.ReactDebugCurrentFrame, se = "";
6466
- if (u) {
6467
- var re = q(u.type), ae = u._owner;
6465
+ var J = j.ReactDebugCurrentFrame, se = "";
6466
+ if (f) {
6467
+ var re = q(f.type), ae = f._owner;
6468
6468
  se += function(oe, me, ue) {
6469
6469
  var X = "";
6470
6470
  if (me) {
@@ -6472,8 +6472,8 @@ pt = za, function() {
6472
6472
  if (/^index\./.test(k)) {
6473
6473
  var Ce = P.match(le);
6474
6474
  if (Ce) {
6475
- var z = Ce[1];
6476
- z && (k = z.replace(le, "") + "/" + k);
6475
+ var H = Ce[1];
6476
+ H && (k = H.replace(le, "") + "/" + k);
6477
6477
  }
6478
6478
  }
6479
6479
  X = " (at " + k + ":" + me.lineNumber + ")";
@@ -6481,7 +6481,7 @@ pt = za, function() {
6481
6481
  ue && (X = " (created by " + ue + ")");
6482
6482
  return `
6483
6483
  in ` + (oe || "Unknown") + X;
6484
- }(re, u._source, ae && q(ae.type));
6484
+ }(re, f._source, ae && q(ae.type));
6485
6485
  }
6486
6486
  (se += J.getStackAddendum()) !== "" && (U += "%s", x = x.concat([se]));
6487
6487
  var D = x.map(function(oe) {
@@ -6531,13 +6531,13 @@ pt = za, function() {
6531
6531
  var x, J, se, re, ae;
6532
6532
  return null;
6533
6533
  }
6534
- var f = {};
6535
- F.ReactDebugCurrentFrame;
6536
- var u = null;
6534
+ var u = {};
6535
+ j.ReactDebugCurrentFrame;
6536
+ var f = null;
6537
6537
  function b(g) {
6538
- u = g;
6538
+ f = g;
6539
6539
  }
6540
- var v, M, R, Y = F.ReactCurrentOwner, ie = Object.prototype.hasOwnProperty, ee = { key: !0, ref: !0, __self: !0, __source: !0 };
6540
+ var v, M, R, Y = j.ReactCurrentOwner, ie = Object.prototype.hasOwnProperty, ee = { key: !0, ref: !0, __self: !0, __source: !0 };
6541
6541
  function W(g, U, x, J, se) {
6542
6542
  var re, ae = {}, D = null, oe = null;
6543
6543
  for (re in x !== void 0 && (D = "" + x), function(X) {
@@ -6580,15 +6580,15 @@ pt = za, function() {
6580
6580
  k.isReactWarning = !0, Object.defineProperty(X, "ref", { get: k, configurable: !0 });
6581
6581
  }(ae, ue);
6582
6582
  }
6583
- return function(X, P, k, Ce, z, pe, de) {
6583
+ return function(X, P, k, Ce, H, pe, de) {
6584
6584
  var Te = { $$typeof: t, type: X, key: P, ref: k, props: de, _owner: pe, _store: {} };
6585
- return Object.defineProperty(Te._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(Te, "_self", { configurable: !1, enumerable: !1, writable: !1, value: Ce }), Object.defineProperty(Te, "_source", { configurable: !1, enumerable: !1, writable: !1, value: z }), Object.freeze && (Object.freeze(Te.props), Object.freeze(Te)), Te;
6585
+ return Object.defineProperty(Te._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: !1 }), Object.defineProperty(Te, "_self", { configurable: !1, enumerable: !1, writable: !1, value: Ce }), Object.defineProperty(Te, "_source", { configurable: !1, enumerable: !1, writable: !1, value: H }), Object.freeze && (Object.freeze(Te.props), Object.freeze(Te)), Te;
6586
6586
  }(g, D, oe, se, J, Y.current, ae);
6587
6587
  }
6588
6588
  R = {};
6589
- var fe, K = F.ReactCurrentOwner;
6590
- function S(g) {
6591
- u = g;
6589
+ var fe, K = j.ReactCurrentOwner;
6590
+ function L(g) {
6591
+ f = g;
6592
6592
  }
6593
6593
  function N(g) {
6594
6594
  return typeof g == "object" && g !== null && g.$$typeof === t;
@@ -6603,7 +6603,7 @@ Check the render method of \`` + g + "`.";
6603
6603
  }
6604
6604
  return "";
6605
6605
  }
6606
- F.ReactDebugCurrentFrame, fe = !1;
6606
+ j.ReactDebugCurrentFrame, fe = !1;
6607
6607
  var V = {};
6608
6608
  function Z(g, U) {
6609
6609
  if (g._store && !g._store.validated && g.key == null) {
@@ -6621,7 +6621,7 @@ Check the top-level render call using <` + ae + ">.");
6621
6621
  if (!V[x]) {
6622
6622
  V[x] = !0;
6623
6623
  var J = "";
6624
- g && g._owner && g._owner !== K.current && (J = " It was passed a child from " + q(g._owner.type) + "."), S(g), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, J), S(null);
6624
+ g && g._owner && g._owner !== K.current && (J = " It was passed a child from " + q(g._owner.type) + "."), L(g), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, J), L(null);
6625
6625
  }
6626
6626
  }
6627
6627
  }
@@ -6638,7 +6638,7 @@ Check the top-level render call using <` + ae + ">.");
6638
6638
  var se = function(D) {
6639
6639
  if (D === null || typeof D != "object")
6640
6640
  return null;
6641
- var oe = H && D[H] || D["@@iterator"];
6641
+ var oe = $ && D[$] || D["@@iterator"];
6642
6642
  return typeof oe == "function" ? oe : null;
6643
6643
  }(g);
6644
6644
  if (typeof se == "function" && se !== g.entries)
@@ -6647,7 +6647,7 @@ Check the top-level render call using <` + ae + ">.");
6647
6647
  }
6648
6648
  }
6649
6649
  }
6650
- function j(g) {
6650
+ function F(g) {
6651
6651
  var U, x = g.type;
6652
6652
  if (x != null && typeof x != "string") {
6653
6653
  if (typeof x == "function")
@@ -6673,7 +6673,7 @@ Check the top-level render call using <` + ae + ">.");
6673
6673
  } catch (k) {
6674
6674
  X = k;
6675
6675
  }
6676
- !X || X instanceof Error || (b(oe), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", D || "React class", ae, ue, typeof X), b(null)), X instanceof Error && !(X.message in f) && (f[X.message] = !0, b(oe), O("Failed %s type: %s", ae, X.message), b(null));
6676
+ !X || X instanceof Error || (b(oe), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", D || "React class", ae, ue, typeof X), b(null)), X instanceof Error && !(X.message in u) && (u[X.message] = !0, b(oe), O("Failed %s type: %s", ae, X.message), b(null));
6677
6677
  }
6678
6678
  })(U, g.props, "prop", J, g);
6679
6679
  } else
@@ -6683,7 +6683,7 @@ Check the top-level render call using <` + ae + ">.");
6683
6683
  }
6684
6684
  function B(g, U, x, J, se, re) {
6685
6685
  var ae = function(k) {
6686
- return typeof k == "string" || typeof k == "function" || k === pt.Fragment || k === i || k === w || k === r || k === s || k === c || k === C || typeof k == "object" && k !== null && (k.$$typeof === h || k.$$typeof === d || k.$$typeof === a || k.$$typeof === o || k.$$typeof === l || k.$$typeof === E || k.$$typeof === m || k[0] === L);
6686
+ return typeof k == "string" || typeof k == "function" || k === pt.Fragment || k === i || k === w || k === r || k === s || k === c || k === C || typeof k == "object" && k !== null && (k.$$typeof === h || k.$$typeof === d || k.$$typeof === a || k.$$typeof === o || k.$$typeof === l || k.$$typeof === E || k.$$typeof === m || k[0] === S);
6687
6687
  }(g);
6688
6688
  if (!ae) {
6689
6689
  var D = "";
@@ -6712,15 +6712,15 @@ Check your code at ` + k.fileName.replace(/^.*[\\\/]/, "") + ":" + k.lineNumber
6712
6712
  ne(X, g);
6713
6713
  }
6714
6714
  return g === pt.Fragment ? function(k) {
6715
- for (var Ce = Object.keys(k.props), z = 0; z < Ce.length; z++) {
6716
- var pe = Ce[z];
6715
+ for (var Ce = Object.keys(k.props), H = 0; H < Ce.length; H++) {
6716
+ var pe = Ce[H];
6717
6717
  if (pe !== "children" && pe !== "key") {
6718
- S(k), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", pe), S(null);
6718
+ L(k), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", pe), L(null);
6719
6719
  break;
6720
6720
  }
6721
6721
  }
6722
- k.ref !== null && (S(k), O("Invalid attribute `ref` supplied to `React.Fragment`."), S(null));
6723
- }(ue) : j(ue), ue;
6722
+ k.ref !== null && (L(k), O("Invalid attribute `ref` supplied to `React.Fragment`."), L(null));
6723
+ }(ue) : F(ue), ue;
6724
6724
  }
6725
6725
  var Q = function(g, U, x) {
6726
6726
  return B(g, U, x, !1);
@@ -6785,95 +6785,95 @@ const Ba = async ({ elementReference: e = null, tooltipReference: t = null, tool
6785
6785
  return { tooltipStyles: {}, tooltipArrowStyles: {} };
6786
6786
  const l = o;
6787
6787
  return n ? (l.push({ name: "arrow", options: s = { element: n, padding: 5 }, async fn(c) {
6788
- const { element: d, padding: h = 0 } = s || {}, { x: m, y: L, placement: E, rects: w, platform: C } = c;
6788
+ const { element: d, padding: h = 0 } = s || {}, { x: m, y: S, placement: E, rects: w, platform: C } = c;
6789
6789
  if (d == null)
6790
6790
  return console.warn("Floating UI: No `element` was passed to the `arrow` middleware."), {};
6791
- const A = Tl(h), H = { x: m, y: L }, F = pn(E), O = Oi(F), _ = await C.getDimensions(d), le = F === "y" ? "top" : "left", q = F === "y" ? "bottom" : "right", f = w.reference[O] + w.reference[F] - H[F] - w.floating[O], u = H[F] - w.reference[F], b = await (C.getOffsetParent == null ? void 0 : C.getOffsetParent(d));
6792
- let v = b ? F === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0;
6791
+ const A = Tl(h), $ = { x: m, y: S }, j = pn(E), O = Oi(j), _ = await C.getDimensions(d), le = j === "y" ? "top" : "left", q = j === "y" ? "bottom" : "right", u = w.reference[O] + w.reference[j] - $[j] - w.floating[O], f = $[j] - w.reference[j], b = await (C.getOffsetParent == null ? void 0 : C.getOffsetParent(d));
6792
+ let v = b ? j === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0;
6793
6793
  v === 0 && (v = w.floating[O]);
6794
- const M = f / 2 - u / 2, R = A[le], Y = v - _[O] - A[q], ie = v / 2 - _[O] / 2 + M, ee = Gr(R, ie, Y), W = hn(E) != null && ie != ee && w.reference[O] / 2 - (ie < R ? A[le] : A[q]) - _[O] / 2 < 0;
6795
- return { [F]: H[F] - (W ? ie < R ? R - ie : Y - ie : 0), data: { [F]: ee, centerOffset: ie - ee } };
6794
+ const M = u / 2 - f / 2, R = A[le], Y = v - _[O] - A[q], ie = v / 2 - _[O] / 2 + M, ee = Gr(R, ie, Y), W = hn(E) != null && ie != ee && w.reference[O] / 2 - (ie < R ? A[le] : A[q]) - _[O] / 2 < 0;
6795
+ return { [j]: $[j] - (W ? ie < R ? R - ie : Y - ie : 0), data: { [j]: ee, centerOffset: ie - ee } };
6796
6796
  } }), Fa(e, t, { placement: r, strategy: a, middleware: l }).then(({ x: c, y: d, placement: h, middlewareData: m }) => {
6797
- var L, E;
6798
- const w = { left: `${c}px`, top: `${d}px` }, { x: C, y: A } = (L = m.arrow) !== null && L !== void 0 ? L : { x: 0, y: 0 };
6797
+ var S, E;
6798
+ const w = { left: `${c}px`, top: `${d}px` }, { x: C, y: A } = (S = m.arrow) !== null && S !== void 0 ? S : { x: 0, y: 0 };
6799
6799
  return { tooltipStyles: w, tooltipArrowStyles: { left: C != null ? `${C}px` : "", top: A != null ? `${A}px` : "", right: "", bottom: "", [(E = { top: "bottom", right: "left", bottom: "top", left: "right" }[h.split("-")[0]]) !== null && E !== void 0 ? E : "bottom"]: "-4px" } };
6800
6800
  })) : Fa(e, t, { placement: "bottom", strategy: a, middleware: l }).then(({ x: c, y: d }) => ({ tooltipStyles: { left: `${c}px`, top: `${d}px` }, tooltipArrowStyles: {} }));
6801
6801
  var s;
6802
6802
  };
6803
6803
  var Ct = { tooltip: "styles-module_tooltip__mnnfp", fixed: "styles-module_fixed__7ciUi", arrow: "styles-module_arrow__K0L3T", "no-arrow": "styles-module_no-arrow__KcFZN", clickable: "styles-module_clickable__Bv9o7", show: "styles-module_show__2NboJ", dark: "styles-module_dark__xNqje", light: "styles-module_light__Z6W-X", success: "styles-module_success__A2AKt", warning: "styles-module_warning__SCK0X", error: "styles-module_error__JvumD", info: "styles-module_info__BWdHW" };
6804
- const Wa = ({ id: e, className: t, classNameArrow: n, variant: r = "dark", anchorId: i, anchorSelect: a, place: o = "top", offset: l = 10, events: s = ["hover"], positionStrategy: c = "absolute", middlewares: d, wrapper: h, children: m = null, delayShow: L = 0, delayHide: E = 0, float: w = !1, noArrow: C = !1, clickable: A = !1, closeOnEsc: H = !1, style: F, position: O, afterShow: _, afterHide: le, content: q, html: f, isOpen: u, setIsOpen: b, activeAnchor: v, setActiveAnchor: M }) => {
6805
- const R = je(null), Y = je(null), ie = je(null), ee = je(null), [W, fe] = be({}), [K, S] = be({}), [N, T] = be(!1), [V, Z] = be(!1), ne = je(!1), j = je(null), { anchorRefs: B, setActiveAnchor: Q } = jl(e), I = je(!1), [g, U] = be([]), x = je(!1);
6804
+ const Wa = ({ id: e, className: t, classNameArrow: n, variant: r = "dark", anchorId: i, anchorSelect: a, place: o = "top", offset: l = 10, events: s = ["hover"], positionStrategy: c = "absolute", middlewares: d, wrapper: h, children: m = null, delayShow: S = 0, delayHide: E = 0, float: w = !1, noArrow: C = !1, clickable: A = !1, closeOnEsc: $ = !1, style: j, position: O, afterShow: _, afterHide: le, content: q, html: u, isOpen: f, setIsOpen: b, activeAnchor: v, setActiveAnchor: M }) => {
6805
+ const R = je(null), Y = je(null), ie = je(null), ee = je(null), [W, fe] = be({}), [K, L] = be({}), [N, T] = be(!1), [V, Z] = be(!1), ne = je(!1), F = je(null), { anchorRefs: B, setActiveAnchor: Q } = jl(e), I = je(!1), [g, U] = be([]), x = je(!1);
6806
6806
  Kl(() => (x.current = !0, () => {
6807
6807
  x.current = !1;
6808
6808
  }), []), Oe(() => {
6809
6809
  if (!N) {
6810
- const z = setTimeout(() => {
6810
+ const H = setTimeout(() => {
6811
6811
  Z(!1);
6812
6812
  }, 150);
6813
6813
  return () => {
6814
- clearTimeout(z);
6814
+ clearTimeout(H);
6815
6815
  };
6816
6816
  }
6817
6817
  return () => null;
6818
6818
  }, [N]);
6819
- const J = (z) => {
6820
- x.current && (z && Z(!0), setTimeout(() => {
6821
- x.current && (b == null || b(z), u === void 0 && T(z));
6819
+ const J = (H) => {
6820
+ x.current && (H && Z(!0), setTimeout(() => {
6821
+ x.current && (b == null || b(H), f === void 0 && T(H));
6822
6822
  }, 10));
6823
6823
  };
6824
6824
  Oe(() => {
6825
- if (u === void 0)
6825
+ if (f === void 0)
6826
6826
  return () => null;
6827
- u && Z(!0);
6828
- const z = setTimeout(() => {
6829
- T(u);
6827
+ f && Z(!0);
6828
+ const H = setTimeout(() => {
6829
+ T(f);
6830
6830
  }, 10);
6831
6831
  return () => {
6832
- clearTimeout(z);
6832
+ clearTimeout(H);
6833
6833
  };
6834
- }, [u]), Oe(() => {
6834
+ }, [f]), Oe(() => {
6835
6835
  N !== ne.current && (ne.current = N, N ? _ == null || _() : le == null || le());
6836
6836
  }, [N]);
6837
- const se = (z = E) => {
6837
+ const se = (H = E) => {
6838
6838
  ee.current && clearTimeout(ee.current), ee.current = setTimeout(() => {
6839
6839
  I.current || J(!1);
6840
- }, z);
6841
- }, re = (z) => {
6840
+ }, H);
6841
+ }, re = (H) => {
6842
6842
  var pe;
6843
- if (!z)
6843
+ if (!H)
6844
6844
  return;
6845
- L ? (ie.current && clearTimeout(ie.current), ie.current = setTimeout(() => {
6845
+ S ? (ie.current && clearTimeout(ie.current), ie.current = setTimeout(() => {
6846
6846
  J(!0);
6847
- }, L)) : J(!0);
6848
- const de = (pe = z.currentTarget) !== null && pe !== void 0 ? pe : z.target;
6847
+ }, S)) : J(!0);
6848
+ const de = (pe = H.currentTarget) !== null && pe !== void 0 ? pe : H.target;
6849
6849
  M(de), Q({ current: de }), ee.current && clearTimeout(ee.current);
6850
6850
  }, ae = () => {
6851
6851
  A ? se(E || 100) : E ? se() : J(!1), ie.current && clearTimeout(ie.current);
6852
- }, D = ({ x: z, y: pe }) => {
6853
- Ba({ place: o, offset: l, elementReference: { getBoundingClientRect: () => ({ x: z, y: pe, width: 0, height: 0, top: pe, left: z, right: z, bottom: pe }) }, tooltipReference: R.current, tooltipArrowReference: Y.current, strategy: c, middlewares: d }).then((de) => {
6854
- Object.keys(de.tooltipStyles).length && fe(de.tooltipStyles), Object.keys(de.tooltipArrowStyles).length && S(de.tooltipArrowStyles);
6852
+ }, D = ({ x: H, y: pe }) => {
6853
+ Ba({ place: o, offset: l, elementReference: { getBoundingClientRect: () => ({ x: H, y: pe, width: 0, height: 0, top: pe, left: H, right: H, bottom: pe }) }, tooltipReference: R.current, tooltipArrowReference: Y.current, strategy: c, middlewares: d }).then((de) => {
6854
+ Object.keys(de.tooltipStyles).length && fe(de.tooltipStyles), Object.keys(de.tooltipArrowStyles).length && L(de.tooltipArrowStyles);
6855
6855
  });
6856
- }, oe = (z) => {
6857
- if (!z)
6856
+ }, oe = (H) => {
6857
+ if (!H)
6858
6858
  return;
6859
- const pe = z, de = { x: pe.clientX, y: pe.clientY };
6860
- D(de), j.current = de;
6861
- }, me = (z) => {
6862
- re(z), E && se();
6863
- }, ue = (z) => {
6859
+ const pe = H, de = { x: pe.clientX, y: pe.clientY };
6860
+ D(de), F.current = de;
6861
+ }, me = (H) => {
6862
+ re(H), E && se();
6863
+ }, ue = (H) => {
6864
6864
  const pe = document.querySelector(`[id='${i}']`);
6865
- pe != null && pe.contains(z.target) || g.some((de) => de.contains(z.target)) || J(!1);
6866
- }, X = (z) => {
6867
- z.key === "Escape" && J(!1);
6865
+ pe != null && pe.contains(H.target) || g.some((de) => de.contains(H.target)) || J(!1);
6866
+ }, X = (H) => {
6867
+ H.key === "Escape" && J(!1);
6868
6868
  }, P = Ua(re, 50), k = Ua(ae, 50);
6869
6869
  Oe(() => {
6870
- var z, pe;
6870
+ var H, pe;
6871
6871
  const de = new Set(B);
6872
6872
  g.forEach((Ae) => {
6873
6873
  de.add({ current: Ae });
6874
6874
  });
6875
6875
  const Te = document.querySelector(`[id='${i}']`);
6876
- Te && de.add({ current: Te }), H && window.addEventListener("keydown", X);
6876
+ Te && de.add({ current: Te }), $ && window.addEventListener("keydown", X);
6877
6877
  const we = [];
6878
6878
  s.find((Ae) => Ae === "click") && (window.addEventListener("click", ue), we.push({ event: "click", listener: me })), s.find((Ae) => Ae === "hover") && (we.push({ event: "mouseenter", listener: P }, { event: "mouseleave", listener: k }, { event: "focus", listener: P }, { event: "blur", listener: k }), w && we.push({ event: "mousemove", listener: oe }));
6879
6879
  const Ne = () => {
@@ -6881,30 +6881,30 @@ const Wa = ({ id: e, className: t, classNameArrow: n, variant: r = "dark", ancho
6881
6881
  }, ke = () => {
6882
6882
  I.current = !1, ae();
6883
6883
  };
6884
- return A && ((z = R.current) === null || z === void 0 || z.addEventListener("mouseenter", Ne), (pe = R.current) === null || pe === void 0 || pe.addEventListener("mouseleave", ke)), we.forEach(({ event: Ae, listener: qe }) => {
6884
+ return A && ((H = R.current) === null || H === void 0 || H.addEventListener("mouseenter", Ne), (pe = R.current) === null || pe === void 0 || pe.addEventListener("mouseleave", ke)), we.forEach(({ event: Ae, listener: qe }) => {
6885
6885
  de.forEach((Pe) => {
6886
6886
  var nt;
6887
6887
  (nt = Pe.current) === null || nt === void 0 || nt.addEventListener(Ae, qe);
6888
6888
  });
6889
6889
  }), () => {
6890
6890
  var Ae, qe;
6891
- s.find((Pe) => Pe === "click") && window.removeEventListener("click", ue), H && window.removeEventListener("keydown", X), A && ((Ae = R.current) === null || Ae === void 0 || Ae.removeEventListener("mouseenter", Ne), (qe = R.current) === null || qe === void 0 || qe.removeEventListener("mouseleave", ke)), we.forEach(({ event: Pe, listener: nt }) => {
6891
+ s.find((Pe) => Pe === "click") && window.removeEventListener("click", ue), $ && window.removeEventListener("keydown", X), A && ((Ae = R.current) === null || Ae === void 0 || Ae.removeEventListener("mouseenter", Ne), (qe = R.current) === null || qe === void 0 || qe.removeEventListener("mouseleave", ke)), we.forEach(({ event: Pe, listener: nt }) => {
6892
6892
  de.forEach((Et) => {
6893
6893
  var Yt;
6894
6894
  (Yt = Et.current) === null || Yt === void 0 || Yt.removeEventListener(Pe, nt);
6895
6895
  });
6896
6896
  });
6897
6897
  };
6898
- }, [V, B, g, H, s]), Oe(() => {
6899
- let z = a ?? "";
6900
- !z && e && (z = `[data-tooltip-id='${e}']`);
6898
+ }, [V, B, g, $, s]), Oe(() => {
6899
+ let H = a ?? "";
6900
+ !H && e && (H = `[data-tooltip-id='${e}']`);
6901
6901
  const pe = new MutationObserver((de) => {
6902
6902
  const Te = [];
6903
6903
  de.forEach((we) => {
6904
- if (we.type === "attributes" && we.attributeName === "data-tooltip-id" && we.target.getAttribute("data-tooltip-id") === e && Te.push(we.target), we.type === "childList" && (v && [...we.removedNodes].some((Ne) => !!Ne.contains(v) && (Z(!1), J(!1), M(null), !0)), z))
6904
+ if (we.type === "attributes" && we.attributeName === "data-tooltip-id" && we.target.getAttribute("data-tooltip-id") === e && Te.push(we.target), we.type === "childList" && (v && [...we.removedNodes].some((Ne) => !!Ne.contains(v) && (Z(!1), J(!1), M(null), !0)), H))
6905
6905
  try {
6906
6906
  const Ne = [...we.addedNodes].filter((ke) => ke.nodeType === 1);
6907
- Te.push(...Ne.filter((ke) => ke.matches(z))), Te.push(...Ne.flatMap((ke) => [...ke.querySelectorAll(z)]));
6907
+ Te.push(...Ne.filter((ke) => ke.matches(H))), Te.push(...Ne.flatMap((ke) => [...ke.querySelectorAll(H)]));
6908
6908
  } catch {
6909
6909
  }
6910
6910
  }), Te.length && U((we) => [...we, ...Te]);
@@ -6913,29 +6913,29 @@ const Wa = ({ id: e, className: t, classNameArrow: n, variant: r = "dark", ancho
6913
6913
  pe.disconnect();
6914
6914
  };
6915
6915
  }, [e, a, v]), Oe(() => {
6916
- O ? D(O) : w ? j.current && D(j.current) : Ba({ place: o, offset: l, elementReference: v, tooltipReference: R.current, tooltipArrowReference: Y.current, strategy: c, middlewares: d }).then((z) => {
6917
- x.current && (Object.keys(z.tooltipStyles).length && fe(z.tooltipStyles), Object.keys(z.tooltipArrowStyles).length && S(z.tooltipArrowStyles));
6916
+ O ? D(O) : w ? F.current && D(F.current) : Ba({ place: o, offset: l, elementReference: v, tooltipReference: R.current, tooltipArrowReference: Y.current, strategy: c, middlewares: d }).then((H) => {
6917
+ x.current && (Object.keys(H.tooltipStyles).length && fe(H.tooltipStyles), Object.keys(H.tooltipArrowStyles).length && L(H.tooltipArrowStyles));
6918
6918
  });
6919
- }, [N, v, q, f, o, l, c, O]), Oe(() => {
6920
- var z;
6919
+ }, [N, v, q, u, o, l, c, O]), Oe(() => {
6920
+ var H;
6921
6921
  const pe = document.querySelector(`[id='${i}']`), de = [...g, pe];
6922
- v && de.includes(v) || M((z = g[0]) !== null && z !== void 0 ? z : pe);
6922
+ v && de.includes(v) || M((H = g[0]) !== null && H !== void 0 ? H : pe);
6923
6923
  }, [i, g, v]), Oe(() => () => {
6924
6924
  ie.current && clearTimeout(ie.current), ee.current && clearTimeout(ee.current);
6925
6925
  }, []), Oe(() => {
6926
- let z = a;
6927
- if (!z && e && (z = `[data-tooltip-id='${e}']`), z)
6926
+ let H = a;
6927
+ if (!H && e && (H = `[data-tooltip-id='${e}']`), H)
6928
6928
  try {
6929
- const pe = Array.from(document.querySelectorAll(z));
6929
+ const pe = Array.from(document.querySelectorAll(H));
6930
6930
  U(pe);
6931
6931
  } catch {
6932
6932
  U([]);
6933
6933
  }
6934
6934
  }, [e, a]);
6935
- const Ce = !!(f || q || m) && N && Object.keys(W).length > 0;
6936
- return V ? Nt.exports.jsxs(h, { id: e, role: "tooltip", className: Ha("react-tooltip", Ct.tooltip, Ct[r], t, { [Ct.show]: Ce, [Ct.fixed]: c === "fixed", [Ct.clickable]: A }), style: { ...F, ...W }, ref: R, children: [f && Nt.exports.jsx(R1, { content: f }) || q || m, Nt.exports.jsx(h, { className: Ha("react-tooltip-arrow", Ct.arrow, n, { [Ct["no-arrow"]]: C }), style: K, ref: Y })] }) : null;
6937
- }, M1 = ({ id: e, anchorId: t, anchorSelect: n, content: r, html: i, className: a, classNameArrow: o, variant: l = "dark", place: s = "top", offset: c = 10, wrapper: d = "div", children: h = null, events: m = ["hover"], positionStrategy: L = "absolute", middlewares: E, delayShow: w = 0, delayHide: C = 0, float: A = !1, noArrow: H = !1, clickable: F = !1, closeOnEsc: O = !1, style: _, position: le, isOpen: q, setIsOpen: f, afterShow: u, afterHide: b }) => {
6938
- const [v, M] = be(r), [R, Y] = be(i), [ie, ee] = be(s), [W, fe] = be(l), [K, S] = be(c), [N, T] = be(w), [V, Z] = be(C), [ne, j] = be(A), [B, Q] = be(d), [I, g] = be(m), [U, x] = be(L), [J, se] = be(null), { anchorRefs: re, activeAnchor: ae } = jl(e), D = (ue) => ue == null ? void 0 : ue.getAttributeNames().reduce((X, P) => {
6935
+ const Ce = !!(u || q || m) && N && Object.keys(W).length > 0;
6936
+ return V ? Nt.exports.jsxs(h, { id: e, role: "tooltip", className: Ha("react-tooltip", Ct.tooltip, Ct[r], t, { [Ct.show]: Ce, [Ct.fixed]: c === "fixed", [Ct.clickable]: A }), style: { ...j, ...W }, ref: R, children: [u && Nt.exports.jsx(R1, { content: u }) || q || m, Nt.exports.jsx(h, { className: Ha("react-tooltip-arrow", Ct.arrow, n, { [Ct["no-arrow"]]: C }), style: K, ref: Y })] }) : null;
6937
+ }, M1 = ({ id: e, anchorId: t, anchorSelect: n, content: r, html: i, className: a, classNameArrow: o, variant: l = "dark", place: s = "top", offset: c = 10, wrapper: d = "div", children: h = null, events: m = ["hover"], positionStrategy: S = "absolute", middlewares: E, delayShow: w = 0, delayHide: C = 0, float: A = !1, noArrow: $ = !1, clickable: j = !1, closeOnEsc: O = !1, style: _, position: le, isOpen: q, setIsOpen: u, afterShow: f, afterHide: b }) => {
6938
+ const [v, M] = be(r), [R, Y] = be(i), [ie, ee] = be(s), [W, fe] = be(l), [K, L] = be(c), [N, T] = be(w), [V, Z] = be(C), [ne, F] = be(A), [B, Q] = be(d), [I, g] = be(m), [U, x] = be(S), [J, se] = be(null), { anchorRefs: re, activeAnchor: ae } = jl(e), D = (ue) => ue == null ? void 0 : ue.getAttributeNames().reduce((X, P) => {
6939
6939
  var k;
6940
6940
  return P.startsWith("data-tooltip-") && (X[P.replace(/^data-tooltip-/, "")] = (k = ue == null ? void 0 : ue.getAttribute(P)) !== null && k !== void 0 ? k : null), X;
6941
6941
  }, {}), oe = (ue) => {
@@ -6950,7 +6950,7 @@ const Wa = ({ id: e, className: t, classNameArrow: n, variant: r = "dark", ancho
6950
6950
  var k;
6951
6951
  fe((k = P) !== null && k !== void 0 ? k : l);
6952
6952
  }, offset: (P) => {
6953
- S(P === null ? c : Number(P));
6953
+ L(P === null ? c : Number(P));
6954
6954
  }, wrapper: (P) => {
6955
6955
  var k;
6956
6956
  Q((k = P) !== null && k !== void 0 ? k : d);
@@ -6959,13 +6959,13 @@ const Wa = ({ id: e, className: t, classNameArrow: n, variant: r = "dark", ancho
6959
6959
  g(k ?? m);
6960
6960
  }, "position-strategy": (P) => {
6961
6961
  var k;
6962
- x((k = P) !== null && k !== void 0 ? k : L);
6962
+ x((k = P) !== null && k !== void 0 ? k : S);
6963
6963
  }, "delay-show": (P) => {
6964
6964
  T(P === null ? w : Number(P));
6965
6965
  }, "delay-hide": (P) => {
6966
6966
  Z(P === null ? C : Number(P));
6967
6967
  }, float: (P) => {
6968
- j(P === null ? A : !!P);
6968
+ F(P === null ? A : !!P);
6969
6969
  } };
6970
6970
  Object.values(X).forEach((P) => P(null)), Object.entries(ue).forEach(([P, k]) => {
6971
6971
  var Ce;
@@ -6993,7 +6993,7 @@ const Wa = ({ id: e, className: t, classNameArrow: n, variant: r = "dark", ancho
6993
6993
  const k = document.querySelector(`[id='${t}']`);
6994
6994
  if (k && X.add({ current: k }), !X.size)
6995
6995
  return () => null;
6996
- const Ce = (ue = J ?? k) !== null && ue !== void 0 ? ue : ae.current, z = new MutationObserver((de) => {
6996
+ const Ce = (ue = J ?? k) !== null && ue !== void 0 ? ue : ae.current, H = new MutationObserver((de) => {
6997
6997
  de.forEach((Te) => {
6998
6998
  var we;
6999
6999
  if (!Ce || Te.type !== "attributes" || !(!((we = Te.attributeName) === null || we === void 0) && we.startsWith("data-tooltip-")))
@@ -7004,13 +7004,13 @@ const Wa = ({ id: e, className: t, classNameArrow: n, variant: r = "dark", ancho
7004
7004
  }), pe = { attributes: !0, childList: !1, subtree: !1 };
7005
7005
  if (Ce) {
7006
7006
  const de = D(Ce);
7007
- oe(de), z.observe(Ce, pe);
7007
+ oe(de), H.observe(Ce, pe);
7008
7008
  }
7009
7009
  return () => {
7010
- z.disconnect();
7010
+ H.disconnect();
7011
7011
  };
7012
7012
  }, [re, ae, J, t, n]);
7013
- const me = { id: e, anchorId: t, anchorSelect: n, className: a, classNameArrow: o, content: v, html: R, place: ie, variant: W, offset: K, wrapper: B, events: I, positionStrategy: U, middlewares: E, delayShow: N, delayHide: V, float: ne, noArrow: H, clickable: F, closeOnEsc: O, style: _, position: le, isOpen: q, setIsOpen: f, afterShow: u, afterHide: b, activeAnchor: J, setActiveAnchor: (ue) => se(ue) };
7013
+ const me = { id: e, anchorId: t, anchorSelect: n, className: a, classNameArrow: o, content: v, html: R, place: ie, variant: W, offset: K, wrapper: B, events: I, positionStrategy: U, middlewares: E, delayShow: N, delayHide: V, float: ne, noArrow: $, clickable: j, closeOnEsc: O, style: _, position: le, isOpen: q, setIsOpen: u, afterShow: f, afterHide: b, activeAnchor: J, setActiveAnchor: (ue) => se(ue) };
7014
7014
  return h ? Nt.exports.jsx(Wa, { ...me, children: h }) : Nt.exports.jsx(Wa, { ...me });
7015
7015
  };
7016
7016
  const $l = () => null, Fl = () => null, We = ({ place: e = "top", trigger: t = "hover", float: n = !1, shadow: r = !0, border: i = !1, children: a, style: o, ...l }) => {
@@ -7060,21 +7060,21 @@ Ft.Section.propTypes = {
7060
7060
  };
7061
7061
  const P1 = ({ color: e = "#fff", opacity: t = 100, size: n = 100, className: r }) => /* @__PURE__ */ y(gt, { children: /* @__PURE__ */ y("div", { className: `cove-loadspin${r ? " " + r : ""}`, style: { width: n, height: n }, children: /* @__PURE__ */ y("div", { className: "cove-loadspin__roller", style: { opacity: t / 100, transform: `scale(${n / 80})` }, children: [...Array(8)].map((a, o) => /* @__PURE__ */ y("div", { style: { backgroundColor: e } }, o)) }) }) });
7062
7062
  const Hl = ({ style: e, role: t, hoverStyle: n = {}, fluid: r = !1, loading: i = !1, loadingText: a = "Loading...", flexCenter: o, active: l = !1, onClick: s, children: c, ...d }) => {
7063
- const h = je(null), [m, L] = be("out"), [E, w] = be({ ...e }), [C, A] = be(), [H, F] = be(), O = {
7063
+ const h = je(null), [m, S] = be("out"), [E, w] = be({ ...e }), [C, A] = be(), [$, j] = be(), O = {
7064
7064
  ...d,
7065
7065
  style: E,
7066
7066
  className: "cove-button" + (o || t === "loader" ? " cove-button--flex-center" : "") + (r ? " fluid" : "") + (i ? " loading" : "") + (d.className ? " " + d.className : ""),
7067
- onMouseOver: () => L("in"),
7068
- onMouseOut: () => L("out"),
7069
- onFocus: () => L("in"),
7070
- onBlur: () => L("out")
7067
+ onMouseOver: () => S("in"),
7068
+ onMouseOut: () => S("out"),
7069
+ onFocus: () => S("in"),
7070
+ onBlur: () => S("out")
7071
7071
  };
7072
7072
  return Oe(() => {
7073
7073
  if (t === "loader" && h.current) {
7074
7074
  const _ = document.createElement("span"), le = document.createTextNode(c);
7075
7075
  _.style.opacity = "0", _.style.visibility = "hidden";
7076
- const q = document.createElement("span"), f = document.createTextNode(a);
7077
- q.style.opacity = "0", q.style.visibility = "hidden", _.appendChild(le), q.appendChild(f), h.current.parentNode.insertBefore(_, h.current), h.current.parentNode.insertBefore(q, h.current), A(_.offsetWidth + 2), F(q.offsetWidth + 2), h.current.parentNode.removeChild(_), h.current.parentNode.removeChild(q);
7076
+ const q = document.createElement("span"), u = document.createTextNode(a);
7077
+ q.style.opacity = "0", q.style.visibility = "hidden", _.appendChild(le), q.appendChild(u), h.current.parentNode.insertBefore(_, h.current), h.current.parentNode.insertBefore(q, h.current), A(_.offsetWidth + 2), j(q.offsetWidth + 2), h.current.parentNode.removeChild(_), h.current.parentNode.removeChild(q);
7078
7078
  }
7079
7079
  return () => {
7080
7080
  };
@@ -7089,7 +7089,7 @@ const Hl = ({ style: e, role: t, hoverStyle: n = {}, fluid: r = !1, loading: i =
7089
7089
  ref: h,
7090
7090
  children: c && /* @__PURE__ */ ce(gt, { children: [
7091
7091
  t === "loader" && /* @__PURE__ */ ce(gt, { children: [
7092
- /* @__PURE__ */ ce("span", { className: "cove-button__text", style: i ? { width: H + "px" } : { width: C + "px" }, children: [
7092
+ /* @__PURE__ */ ce("span", { className: "cove-button__text", style: i ? { width: $ + "px" } : { width: C + "px" }, children: [
7093
7093
  /* @__PURE__ */ y("div", { className: "cove-button__text--loading", style: i ? { opacity: 1 } : null, children: a }),
7094
7094
  /* @__PURE__ */ y("div", { className: "cove-button__text--children", style: i ? { opacity: 0 } : null, children: c })
7095
7095
  ] }),
@@ -7123,44 +7123,44 @@ function I1(e, t, n) {
7123
7123
  if (typeof e != "function")
7124
7124
  throw new TypeError("Expected a function");
7125
7125
  t = +t || 0, n = n || {};
7126
- var L = !!n.leading, E = "trailing" in n ? !!n.trailing : !0, w = "maxWait" in n, C = w ? Math.max(+n.maxWait || 0, t) : null;
7126
+ var S = !!n.leading, E = "trailing" in n ? !!n.trailing : !0, w = "maxWait" in n, C = w ? Math.max(+n.maxWait || 0, t) : null;
7127
7127
  Oe(function() {
7128
7128
  return h.current = !0, function() {
7129
7129
  h.current = !1;
7130
7130
  };
7131
7131
  }, []);
7132
7132
  var A = Ql(function() {
7133
- var H = function(f) {
7134
- var u = l.current, b = s.current;
7135
- return l.current = s.current = null, a.current = f, c.current = d.current.apply(b, u);
7136
- }, F = function(f, u) {
7137
- m && cancelAnimationFrame(o.current), o.current = m ? requestAnimationFrame(f) : setTimeout(f, u);
7138
- }, O = function(f) {
7133
+ var $ = function(u) {
7134
+ var f = l.current, b = s.current;
7135
+ return l.current = s.current = null, a.current = u, c.current = d.current.apply(b, f);
7136
+ }, j = function(u, f) {
7137
+ m && cancelAnimationFrame(o.current), o.current = m ? requestAnimationFrame(u) : setTimeout(u, f);
7138
+ }, O = function(u) {
7139
7139
  if (!h.current)
7140
7140
  return !1;
7141
- var u = f - i.current, b = f - a.current;
7142
- return !i.current || u >= t || u < 0 || w && b >= C;
7143
- }, _ = function(f) {
7144
- return o.current = null, E && l.current ? H(f) : (l.current = s.current = null, c.current);
7141
+ var f = u - i.current, b = u - a.current;
7142
+ return !i.current || f >= t || f < 0 || w && b >= C;
7143
+ }, _ = function(u) {
7144
+ return o.current = null, E && l.current ? $(u) : (l.current = s.current = null, c.current);
7145
7145
  }, le = function() {
7146
- var f = Date.now();
7147
- if (O(f))
7148
- return _(f);
7146
+ var u = Date.now();
7147
+ if (O(u))
7148
+ return _(u);
7149
7149
  if (h.current) {
7150
- var u = f - i.current, b = f - a.current, v = t - u, M = w ? Math.min(v, C - b) : v;
7151
- F(le, M);
7150
+ var f = u - i.current, b = u - a.current, v = t - f, M = w ? Math.min(v, C - b) : v;
7151
+ j(le, M);
7152
7152
  }
7153
7153
  }, q = function() {
7154
- for (var f = [], u = 0; u < arguments.length; u++)
7155
- f[u] = arguments[u];
7154
+ for (var u = [], f = 0; f < arguments.length; f++)
7155
+ u[f] = arguments[f];
7156
7156
  var b = Date.now(), v = O(b);
7157
- if (l.current = f, s.current = r, i.current = b, v) {
7157
+ if (l.current = u, s.current = r, i.current = b, v) {
7158
7158
  if (!o.current && h.current)
7159
- return a.current = i.current, F(le, t), L ? H(i.current) : c.current;
7159
+ return a.current = i.current, j(le, t), S ? $(i.current) : c.current;
7160
7160
  if (w)
7161
- return F(le, t), H(i.current);
7161
+ return j(le, t), $(i.current);
7162
7162
  }
7163
- return o.current || F(le, t), c.current;
7163
+ return o.current || j(le, t), c.current;
7164
7164
  };
7165
7165
  return q.cancel = function() {
7166
7166
  o.current && (m ? cancelAnimationFrame(o.current) : clearTimeout(o.current)), a.current = 0, l.current = i.current = s.current = o.current = null;
@@ -7169,7 +7169,7 @@ function I1(e, t, n) {
7169
7169
  }, q.flush = function() {
7170
7170
  return o.current ? _(Date.now()) : c.current;
7171
7171
  }, q;
7172
- }, [L, w, t, C, E, m]);
7172
+ }, [S, w, t, C, E, m]);
7173
7173
  return A;
7174
7174
  }
7175
7175
  function D1(e, t) {
@@ -7194,24 +7194,24 @@ function $1(e, t, n) {
7194
7194
  r(s.current, e) || (l(e), s.current = e);
7195
7195
  }, [e, l, r]), [a, { cancel: l.cancel, isPending: l.isPending, flush: l.flush }];
7196
7196
  }
7197
- const Ge = fn(({ label: e, section: t = null, subsection: n = null, fieldName: r, updateField: i, value: a, type: o = "input", tooltip: l, placeholder: s, i: c = null, min: d = null, max: h = null, className: m, ...L }) => {
7197
+ const Ge = fn(({ label: e, section: t = null, subsection: n = null, fieldName: r, updateField: i, value: a, type: o = "input", tooltip: l, placeholder: s, i: c = null, min: d = null, max: h = null, className: m, ...S }) => {
7198
7198
  const [E, w] = be(a), [C] = $1(E, 500);
7199
7199
  Oe(() => {
7200
7200
  typeof C == "string" && a !== C && i && i(t, n, r, C, c);
7201
7201
  }, [C, t, n, r, c, a, i]);
7202
7202
  let A = n ? `${t}-${n}-${r}` : `${t}-${n}-${r}`;
7203
- const H = (_) => {
7203
+ const $ = (_) => {
7204
7204
  o !== "number" || d === null || !_.target.value || parseFloat(d) <= parseFloat(_.target.value) & parseFloat(h) >= parseFloat(_.target.value) ? w(_.target.value) : w(d.toString());
7205
7205
  };
7206
- let F = {
7206
+ let j = {
7207
7207
  className: `cove-input${m ? " " + m : ""}`,
7208
7208
  type: o,
7209
7209
  name: A,
7210
7210
  placeholder: s,
7211
- onChange: H,
7211
+ onChange: $,
7212
7212
  value: E,
7213
- ...L
7214
- }, O = o === "textarea" ? /* @__PURE__ */ y("textarea", { ...F }) : /* @__PURE__ */ y("input", { ...F });
7213
+ ...S
7214
+ }, O = o === "textarea" ? /* @__PURE__ */ y("textarea", { ...j }) : /* @__PURE__ */ y("input", { ...j });
7215
7215
  return /* @__PURE__ */ ce(gt, { children: [
7216
7216
  e && /* @__PURE__ */ y("label", { className: "cove-input__label", children: e }),
7217
7217
  l,
@@ -7262,17 +7262,17 @@ const Ge = fn(({ label: e, section: t = null, subsection: n = null, fieldName: r
7262
7262
  max: h = null,
7263
7263
  ...m
7264
7264
  }) => {
7265
- const [L, E] = be(s);
7265
+ const [S, E] = be(s);
7266
7266
  let w = a ? `${i}-${a}-${o}` : `${i}-${a}-${o}`;
7267
7267
  return Oe(() => {
7268
- s !== void 0 && s !== L && E(s);
7268
+ s !== void 0 && s !== S && E(s);
7269
7269
  }, [s]), Oe(() => {
7270
- s !== void 0 && s !== L && l && l(i, a, o, L, c);
7271
- }, [L]), /* @__PURE__ */ ce("div", { className: "input-group", children: [
7270
+ s !== void 0 && s !== S && l && l(i, a, o, S, c);
7271
+ }, [S]), /* @__PURE__ */ ce("div", { className: "input-group", children: [
7272
7272
  e && /* @__PURE__ */ y("label", { children: e }),
7273
- /* @__PURE__ */ ce("div", { className: "cove-input__checkbox" + (t === "small" ? "--small" : t === "large" ? "--large" : "") + (L ? " active" : ""), onClick: () => E(!L), children: [
7274
- /* @__PURE__ */ y("div", { className: `cove-input__checkbox-box${n ? " custom-color" : ""}`, style: L && n ? { backgroundColor: n } : null, children: /* @__PURE__ */ y(F1, { className: "cove-input__checkbox-check", style: { fill: r || "#025eaa" } }) }),
7275
- /* @__PURE__ */ y("input", { className: "cove-input--hidden", type: "checkbox", name: w, checked: L || !1, readOnly: !0 })
7273
+ /* @__PURE__ */ ce("div", { className: "cove-input__checkbox" + (t === "small" ? "--small" : t === "large" ? "--large" : "") + (S ? " active" : ""), onClick: () => E(!S), children: [
7274
+ /* @__PURE__ */ y("div", { className: `cove-input__checkbox-box${n ? " custom-color" : ""}`, style: S && n ? { backgroundColor: n } : null, children: /* @__PURE__ */ y(F1, { className: "cove-input__checkbox-check", style: { fill: r || "#025eaa" } }) }),
7275
+ /* @__PURE__ */ y("input", { className: "cove-input--hidden", type: "checkbox", name: w, checked: S || !1, readOnly: !0 })
7276
7276
  ] })
7277
7277
  ] });
7278
7278
  }
@@ -7301,33 +7301,33 @@ fn(({ label: e, value: t, fieldName: n, section: r = null, subsection: i = null,
7301
7301
  /* @__PURE__ */ y("span", { className: "cove-icon", children: a })
7302
7302
  ] }));
7303
7303
  const U1 = fn((e) => {
7304
- const { config: t, updateConfig: n, loading: r, data: i, setParentConfig: a, isDashboard: o } = Za(hl), [l, s] = be(!0), [c, d] = be(!1), h = (f) => f ? { backgroundColor: "#ffd2d2", color: "#d8000c" } : {}, m = (f, u, b, v) => {
7305
- if (f === null && u === null) {
7304
+ const { config: t, updateConfig: n, loading: r, data: i, setParentConfig: a, isDashboard: o } = Za(hl), [l, s] = be(!0), [c, d] = be(!1), h = (u) => u ? { backgroundColor: "#ffd2d2", color: "#d8000c" } : {}, m = (u, f, b, v) => {
7305
+ if (u === null && f === null) {
7306
7306
  let ie = { ...t, [b]: v };
7307
7307
  b === "filterColumn" && (ie.filterValue = ""), n(ie);
7308
7308
  return;
7309
7309
  }
7310
- const M = Array.isArray(t[f]);
7311
- let R = M ? [...t[f], v] : { ...t[f], [b]: v };
7312
- u !== null && (M ? (R = [...t[f]], R[u] = { ...R[u], [b]: v }) : typeof v == "string" ? R[u] = v : R = { ...t[f], [u]: { ...t[f][u], [b]: v } });
7313
- let Y = { ...t, [f]: R };
7310
+ const M = Array.isArray(t[u]);
7311
+ let R = M ? [...t[u], v] : { ...t[u], [b]: v };
7312
+ f !== null && (M ? (R = [...t[u]], R[f] = { ...R[f], [b]: v }) : typeof v == "string" ? R[f] = v : R = { ...t[u], [f]: { ...t[u][f], [b]: v } });
7313
+ let Y = { ...t, [u]: R };
7314
7314
  n(Y);
7315
7315
  };
7316
7316
  Oe(() => {
7317
7317
  if (a) {
7318
- const f = C();
7319
- a(f);
7318
+ const u = C();
7319
+ a(u);
7320
7320
  }
7321
7321
  }, [t]), Oe(() => {
7322
7322
  if (!c) {
7323
- let f = { ...t };
7324
- delete f.newViz, n(f);
7323
+ let u = { ...t };
7324
+ delete u.newViz, n(u);
7325
7325
  }
7326
7326
  }, []), Oe(() => {
7327
- let f = ["<", ">", "<=", ">="];
7328
- t.dataConditionalComparate !== "" ? f.indexOf(t.dataConditionalOperator) > -1 && isNaN(t.dataConditionalComparate) ? n({ ...t, invalidComparate: !0 }) : t.invalidComparate && n({ ...t, invalidComparate: !1 }) : n({ ...t, invalidComparate: !1 });
7327
+ let u = ["<", ">", "<=", ">="];
7328
+ t.dataConditionalComparate !== "" ? u.indexOf(t.dataConditionalOperator) > -1 && isNaN(t.dataConditionalComparate) ? n({ ...t, invalidComparate: !0 }) : t.invalidComparate && n({ ...t, invalidComparate: !1 }) : n({ ...t, invalidComparate: !1 });
7329
7329
  }, [t.dataConditionalOperator, t.dataConditionalComparate]);
7330
- const L = () => {
7330
+ const S = () => {
7331
7331
  s(!l);
7332
7332
  }, E = () => /* @__PURE__ */ y("section", { className: "waiting", children: /* @__PURE__ */ ce("section", { className: "waiting-container", children: [
7333
7333
  /* @__PURE__ */ y("h3", { children: "Error With Configuration" }),
@@ -7335,32 +7335,32 @@ const U1 = fn((e) => {
7335
7335
  ] }) }), w = () => /* @__PURE__ */ y("section", { className: "waiting", children: /* @__PURE__ */ ce("section", { className: "waiting-container", children: [
7336
7336
  /* @__PURE__ */ y("h3", { children: "Finish Configuring" }),
7337
7337
  /* @__PURE__ */ y("p", { children: "Set all required options to the left and confirm below to display a preview of the chart." }),
7338
- /* @__PURE__ */ y("button", { className: "btn", style: { margin: "1em auto" }, onClick: (u) => {
7339
- u.preventDefault();
7338
+ /* @__PURE__ */ y("button", { className: "btn", style: { margin: "1em auto" }, onClick: (f) => {
7339
+ f.preventDefault();
7340
7340
  let b = { ...t };
7341
7341
  delete b.newViz, n(b);
7342
7342
  }, children: "I'm Done" })
7343
7343
  ] }) }), C = () => {
7344
- let f = JSON.parse(JSON.stringify(t));
7345
- return delete f.newViz, delete f.runtime, f;
7344
+ let u = JSON.parse(JSON.stringify(t));
7345
+ return delete u.newViz, delete u.runtime, u;
7346
7346
  }, A = () => {
7347
- let f = t.filters ? [...t.filters] : [];
7348
- f.push({ values: [] }), n({ ...t, filters: f });
7349
- }, H = (f) => {
7350
- let u = [...t.filters];
7351
- u.splice(f, 1), n({ ...t, filters: u });
7352
- }, F = (f, u, b) => {
7347
+ let u = t.filters ? [...t.filters] : [];
7348
+ u.push({ values: [] }), n({ ...t, filters: u });
7349
+ }, $ = (u) => {
7350
+ let f = [...t.filters];
7351
+ f.splice(u, 1), n({ ...t, filters: f });
7352
+ }, j = (u, f, b) => {
7353
7353
  let v = [...t.filters];
7354
- v[u][f] = b, n({ ...t, filters: v });
7355
- }, O = (f = !0) => {
7356
- let u = {};
7357
- return i.map((b) => Object.keys(b).forEach((v) => u[v] = !0)), Object.keys(u);
7358
- }, _ = (f) => {
7359
- let u = [];
7360
- const b = t.filters[f].columnName;
7354
+ v[f][u] = b, n({ ...t, filters: v });
7355
+ }, O = (u = !0) => {
7356
+ let f = {};
7357
+ return i.map((b) => Object.keys(b).forEach((v) => f[v] = !0)), Object.keys(f);
7358
+ }, _ = (u) => {
7359
+ let f = [];
7360
+ const b = t.filters[u].columnName;
7361
7361
  return i && b && (i.forEach(function(v) {
7362
- v[b] !== void 0 && u.indexOf(v[b]) === -1 && u.push(v[b]);
7363
- }), u.sort()), u;
7362
+ v[b] !== void 0 && f.indexOf(v[b]) === -1 && f.push(v[b]);
7363
+ }), f.sort()), f;
7364
7364
  }, le = ["Waffle", "Gauge"], q = /* @__PURE__ */ ce(Ft, { children: [
7365
7365
  /* @__PURE__ */ ce(Ft.Section, { title: "General", children: [
7366
7366
  /* @__PURE__ */ y("div", { className: "cove-accordion__panel-section", children: /* @__PURE__ */ ce("div", { style: { width: "100%", display: "block" }, className: "cove-input-group", children: [
@@ -7449,14 +7449,14 @@ const U1 = fn((e) => {
7449
7449
  /* @__PURE__ */ y(We.Content, { children: /* @__PURE__ */ y("p", { children: 'To refine the highlighted data point, specify one or more filters (e.g., "Male" and "Female" for a column called "Sex").' }) })
7450
7450
  ] })
7451
7451
  ] }),
7452
- t.filters && /* @__PURE__ */ y("ul", { className: "filters-list", style: { paddingLeft: 0, marginBottom: "1rem" }, children: t.filters.map((f, u) => /* @__PURE__ */ ce("fieldset", { className: "edit-block", children: [
7452
+ t.filters && /* @__PURE__ */ y("ul", { className: "filters-list", style: { paddingLeft: 0, marginBottom: "1rem" }, children: t.filters.map((u, f) => /* @__PURE__ */ ce("fieldset", { className: "edit-block", children: [
7453
7453
  /* @__PURE__ */ y(
7454
7454
  "button",
7455
7455
  {
7456
7456
  type: "button",
7457
7457
  className: "remove-column",
7458
7458
  onClick: () => {
7459
- H(u);
7459
+ $(f);
7460
7460
  },
7461
7461
  children: "Remove"
7462
7462
  }
@@ -7466,9 +7466,9 @@ const U1 = fn((e) => {
7466
7466
  /* @__PURE__ */ ce(
7467
7467
  "select",
7468
7468
  {
7469
- value: f.columnName,
7469
+ value: u.columnName,
7470
7470
  onChange: (b) => {
7471
- F("columnName", u, b.target.value);
7471
+ j("columnName", f, b.target.value);
7472
7472
  },
7473
7473
  children: [
7474
7474
  /* @__PURE__ */ y("option", { value: "", children: "- Select Option -" }),
@@ -7482,18 +7482,18 @@ const U1 = fn((e) => {
7482
7482
  /* @__PURE__ */ ce(
7483
7483
  "select",
7484
7484
  {
7485
- value: f.columnValue,
7485
+ value: u.columnValue,
7486
7486
  onChange: (b) => {
7487
- F("columnValue", u, b.target.value);
7487
+ j("columnValue", f, b.target.value);
7488
7488
  },
7489
7489
  children: [
7490
7490
  /* @__PURE__ */ y("option", { value: "", children: "- Select Option -" }),
7491
- _(u).map((b, v) => /* @__PURE__ */ y("option", { value: b, children: b }, v))
7491
+ _(f).map((b, v) => /* @__PURE__ */ y("option", { value: b, children: b }, v))
7492
7492
  ]
7493
7493
  }
7494
7494
  )
7495
7495
  ] })
7496
- ] }, u)) }),
7496
+ ] }, f)) }),
7497
7497
  /* @__PURE__ */ y(Hl, { onClick: A, fluid: !0, children: "Add Filter" })
7498
7498
  ] }),
7499
7499
  /* @__PURE__ */ ce(Ft.Section, { title: "Visual", children: [
@@ -7516,16 +7516,16 @@ const U1 = fn((e) => {
7516
7516
  /* @__PURE__ */ y(Je, { value: t.overallFontSize, fieldName: "overallFontSize", label: "Overall Font Size", updateField: m, options: ["small", "medium", "large"], className: "cove-input" }),
7517
7517
  /* @__PURE__ */ ce("label", { children: [
7518
7518
  /* @__PURE__ */ y("span", { className: "edit-label cove-input__label", children: "Theme" }),
7519
- /* @__PURE__ */ y("ul", { className: "color-palette", children: H1.map((f) => /* @__PURE__ */ y(
7519
+ /* @__PURE__ */ y("ul", { className: "color-palette", children: H1.map((u) => /* @__PURE__ */ y(
7520
7520
  "li",
7521
7521
  {
7522
- title: f,
7522
+ title: u,
7523
7523
  onClick: () => {
7524
- n({ ...t, theme: f });
7524
+ n({ ...t, theme: u });
7525
7525
  },
7526
- className: t.theme === f ? "selected " + f : f
7526
+ className: t.theme === u ? "selected " + u : u
7527
7527
  },
7528
- f
7528
+ u
7529
7529
  )) })
7530
7530
  ] }),
7531
7531
  /* @__PURE__ */ ce("div", { className: "cove-accordion__panel-section reverse-labels", children: [
@@ -7540,7 +7540,7 @@ const U1 = fn((e) => {
7540
7540
  return r ? null : /* @__PURE__ */ y(dl, { component: "EditorPanel", children: /* @__PURE__ */ ce("div", { className: "cove-editor", children: [
7541
7541
  !t.newViz && t.runtime && t.runtime.editorErrorMessage && /* @__PURE__ */ y(E, {}),
7542
7542
  t.newViz && c && /* @__PURE__ */ y(w, {}),
7543
- /* @__PURE__ */ y("button", { className: "cove-editor--toggle" + (l ? "" : " collapsed"), title: l ? "Collapse Editor" : "Expand Editor", onClick: L }),
7543
+ /* @__PURE__ */ y("button", { className: "cove-editor--toggle" + (l ? "" : " collapsed"), title: l ? "Collapse Editor" : "Expand Editor", onClick: S }),
7544
7544
  /* @__PURE__ */ y("section", { className: "cove-editor__panel" + (l ? "" : " hidden"), children: /* @__PURE__ */ ce("div", { className: "cove-editor__panel-container", children: [
7545
7545
  /* @__PURE__ */ y("h2", { className: "cove-editor__heading", children: "Configure Chart" }),
7546
7546
  /* @__PURE__ */ y("section", { className: "cove-editor__content", children: q })
@@ -7590,15 +7590,30 @@ function B1(e, t) {
7590
7590
  const n = new CustomEvent(e, { detail: t });
7591
7591
  document.dispatchEvent(n);
7592
7592
  }
7593
- function W1(e) {
7594
- var o, l, s, c, d, h, m;
7595
- let t = "", n = "";
7596
- e.lineDatapointStyle === "hover" && (t = " chart-line--hover"), e.lineDatapointStyle === "always show" && (t = " chart-line--always"), e.barHasBorder === "false" && (n = " chart-bar--no-border");
7597
- let r = ["cove-component__inner"], i = ["cove-component__content"];
7598
- return e.title && r.push("component--has-title"), e.subtext && r.push("component--has-subtext"), e.biteStyle && r.push(`bite__style--${e.biteStyle}`), (o = e.general) != null && o.isCompactStyle && r.push("component--isCompactStyle"), !((l = e.visual) != null && l.border) && i.push("no-borders"), e.visualizationType === "Spark Line" && i.push("sparkline"), (s = e.visual) != null && s.borderColorTheme && i.push("component--has-borderColorTheme"), (c = e.visual) != null && c.accent && i.push("component--has-accent"), (d = e.visual) != null && d.background && i.push("component--has-background"), (h = e.visual) != null && h.hideBackgroundColor && i.push("component--hideBackgroundColor"), e.shadow && r.push("shadow"), (m = e == null ? void 0 : e.visual) != null && m.roundedBorders && r.push("bite--has-rounded-borders"), { innerContainerClasses: r, contentClasses: i, barBorderClass: n, lineDatapointClass: t, sparkLineStyles: {
7593
+ function W1(e, t = null) {
7594
+ var m, S, E, w, C, A, $;
7595
+ const { legend: n } = e;
7596
+ let r = "", i = "";
7597
+ e.lineDatapointStyle === "hover" && (r = " chart-line--hover"), e.lineDatapointStyle === "always show" && (r = " chart-line--always"), e.barHasBorder === "false" && (i = " chart-bar--no-border");
7598
+ let a = ["cove-component__inner"], o = ["cove-component__content"];
7599
+ e.title && a.push("component--has-title"), e.subtext && a.push("component--has-subtext"), e.biteStyle && a.push(`bite__style--${e.biteStyle}`), (m = e.general) != null && m.isCompactStyle && a.push("component--isCompactStyle"), !((S = e.visual) != null && S.border) && o.push("no-borders"), e.visualizationType === "Spark Line" && o.push("sparkline"), (E = e.visual) != null && E.borderColorTheme && o.push("component--has-borderColorTheme"), (w = e.visual) != null && w.accent && o.push("component--has-accent"), (C = e.visual) != null && C.background && o.push("component--has-background"), (A = e.visual) != null && A.hideBackgroundColor && o.push("component--hideBackgroundColor"), e.shadow && a.push("shadow"), ($ = e == null ? void 0 : e.visual) != null && $.roundedBorders && a.push("bite--has-rounded-borders");
7600
+ let l = {
7599
7601
  width: "100%",
7600
7602
  height: "100px"
7601
- } };
7603
+ };
7604
+ const s = () => (n == null ? void 0 : n.position) === "side" && (n != null && n.singleColumn) ? "legend-container__ul--single-column" : (n == null ? void 0 : n.position) === "bottom" && (n != null && n.singleRow) ? "single-row" : n != null && n.verticalSorted && !(n != null && n.singleRow) ? "vertical-sorted" : "", c = () => {
7605
+ const j = ["legend-container__ul"];
7606
+ return j.push(s()), j;
7607
+ }, h = {
7608
+ aside: [`${n == null ? void 0 : n.position}`, `${s()}`, "cdcdataviz-sr-focusable", `${t}`],
7609
+ section: ["legend-container"],
7610
+ ul: c(),
7611
+ li: ["single-legend-item", "legend-container__li"],
7612
+ title: ["legend-container__title"],
7613
+ resetButton: ["legend-container__reset-button", "btn", "clear"],
7614
+ description: ["legend-container__description"]
7615
+ };
7616
+ return { innerContainerClasses: a, contentClasses: o, barBorderClass: i, lineDatapointClass: r, sparkLineStyles: l, legendClasses: h };
7602
7617
  }
7603
7618
  const V1 = async (e) => {
7604
7619
  let n = { ...e };
@@ -7620,18 +7635,18 @@ const qa = {
7620
7635
  "theme-green": "#4b830d",
7621
7636
  "theme-amber": "#fbab18"
7622
7637
  }, Y1 = ({ config: e, isEditor: t, link: n }) => {
7623
- let { title: r, theme: i, shape: a, nodeWidth: o, nodeSpacer: l, prefix: s, suffix: c, subtext: d, content: h, orientation: m, filters: L, dataColumn: E, dataFunction: w, dataConditionalColumn: C, dataConditionalOperator: A, dataConditionalComparate: H, customDenom: F, dataDenom: O, dataDenomColumn: _, dataDenomFunction: le, roundToPlace: q } = e;
7624
- const f = Lt(() => {
7638
+ let { title: r, theme: i, shape: a, nodeWidth: o, nodeSpacer: l, prefix: s, suffix: c, subtext: d, content: h, orientation: m, filters: S, dataColumn: E, dataFunction: w, dataConditionalColumn: C, dataConditionalOperator: A, dataConditionalComparate: $, customDenom: j, dataDenom: O, dataDenomColumn: _, dataDenomFunction: le, roundToPlace: q } = e;
7639
+ const u = Lt(() => {
7625
7640
  if (!E || !w)
7626
7641
  return "";
7627
7642
  const T = (D) => {
7628
7643
  if (Array.isArray(D) && D.length > 0) {
7629
7644
  const oe = D.reduce((me, ue) => me + ue);
7630
- return j(oe);
7645
+ return F(oe);
7631
7646
  }
7632
7647
  }, V = (D) => {
7633
7648
  const oe = D.length > 1 ? D.reduce((me, ue) => me + ue) / D.length : D[0];
7634
- return j(oe);
7649
+ return F(oe);
7635
7650
  }, Z = (D) => {
7636
7651
  let oe = {}, me = -1 / 0;
7637
7652
  for (let X = 0; X < D.length; X++)
@@ -7642,10 +7657,10 @@ const qa = {
7642
7657
  return ue;
7643
7658
  }, ne = (D) => {
7644
7659
  const oe = Math.floor(D.length / 2), me = [...D].sort((X, P) => X - P), ue = D.length % 2 !== 0 ? me[oe] : (me[oe - 1] + me[oe]) / 2;
7645
- return j(ue);
7646
- }, j = (D) => (q !== "" && !isNaN(q) && Number(q) > -1 && (D = Number(D).toFixed(Number(q))), D);
7660
+ return F(ue);
7661
+ }, F = (D) => (q !== "" && !isNaN(q) && Number(q) > -1 && (D = Number(D).toFixed(Number(q))), D);
7647
7662
  let B = e.data;
7648
- L.map((D) => {
7663
+ S.map((D) => {
7649
7664
  if (D.columnName && D.columnValue)
7650
7665
  B = B.filter(function(oe) {
7651
7666
  return oe[D.columnName] === D.columnValue;
@@ -7654,25 +7669,25 @@ const qa = {
7654
7669
  return !1;
7655
7670
  });
7656
7671
  let Q = [];
7657
- if (C !== "" && A !== "" && H !== "")
7672
+ if (C !== "" && A !== "" && $ !== "")
7658
7673
  switch (A) {
7659
7674
  case "<":
7660
- Q = B.filter((D) => D[C] < H);
7675
+ Q = B.filter((D) => D[C] < $);
7661
7676
  break;
7662
7677
  case ">":
7663
- Q = B.filter((D) => D[C] > H);
7678
+ Q = B.filter((D) => D[C] > $);
7664
7679
  break;
7665
7680
  case "<=":
7666
- Q = B.filter((D) => D[C] <= H);
7681
+ Q = B.filter((D) => D[C] <= $);
7667
7682
  break;
7668
7683
  case ">=":
7669
- Q = B.filter((D) => D[C] >= H);
7684
+ Q = B.filter((D) => D[C] >= $);
7670
7685
  break;
7671
7686
  case "=":
7672
- isNaN(Number(H)) ? Q = B.filter((D) => String(D[C]) === H) : Q = B.filter((D) => D[C] === H);
7687
+ isNaN(Number($)) ? Q = B.filter((D) => String(D[C]) === $) : Q = B.filter((D) => D[C] === $);
7673
7688
  break;
7674
7689
  case "≠":
7675
- isNaN(Number(H)) ? Q = B.filter((D) => String(D[C]) !== H) : Q = B.filter((D) => D[C] !== H);
7690
+ isNaN(Number($)) ? Q = B.filter((D) => String(D[C]) !== $) : Q = B.filter((D) => D[C] !== $);
7676
7691
  break;
7677
7692
  default:
7678
7693
  Q = [];
@@ -7704,38 +7719,38 @@ const qa = {
7704
7719
  [ei]: Math.min(...x).toString(),
7705
7720
  [ti]: Z(x).join(", ")
7706
7721
  };
7707
- return F && _ && le ? re = ae[le] : re = O > 0 ? O : 100, [j(J / re * 100), re, j(J)];
7708
- }, [E, w, e.data, L, C, A, H, F, _, le, q, O]), [u, b, v] = f(), M = Lt(() => {
7722
+ return j && _ && le ? re = ae[le] : re = O > 0 ? O : 100, [F(J / re * 100), re, F(J)];
7723
+ }, [E, w, e.data, S, C, A, $, j, _, le, q, O]), [f, b, v] = u(), M = Lt(() => {
7709
7724
  let T = [], V = parseInt(o, 10), Z = parseInt(l, 10);
7710
- const ne = (j, B, Q, I, g) => {
7725
+ const ne = (F, B, Q, I, g) => {
7711
7726
  let U = B === "x" ? Q % 10 : B === "y" ? Math.floor(Q / 10) : null;
7712
- return j === "circle" ? U * (I + g) + I / 2 : U * (I + g);
7727
+ return F === "circle" ? U * (I + g) + I / 2 : U * (I + g);
7713
7728
  };
7714
- for (let j = 0; j < 100; j++) {
7729
+ for (let F = 0; F < 100; F++) {
7715
7730
  let B = {
7716
7731
  shape: a,
7717
- x: ne(a, "x", j, V, Z),
7718
- y: ne(a, "y", j, V, Z),
7732
+ x: ne(a, "x", F, V, Z),
7733
+ y: ne(a, "y", F, V, Z),
7719
7734
  color: qa[i],
7720
- opacity: j + 1 > 100 - Math.round(u) ? 1 : 0.35
7735
+ opacity: F + 1 > 100 - Math.round(f) ? 1 : 0.35
7721
7736
  };
7722
7737
  T.push(B);
7723
7738
  }
7724
7739
  return T.map(
7725
- (j, B) => j.shape === "square" ? /* @__PURE__ */ y(ca, { className: "cdc-waffle-chart__node", style: { transitionDelay: `${0.1 * B}ms` }, x: j.x, y: j.y, width: V, height: V, fill: j.color, fillOpacity: j.opacity }, B) : j.shape === "person" ? /* @__PURE__ */ y(
7740
+ (F, B) => F.shape === "square" ? /* @__PURE__ */ y(ca, { className: "cdc-waffle-chart__node", style: { transitionDelay: `${0.1 * B}ms` }, x: F.x, y: F.y, width: V, height: V, fill: F.color, fillOpacity: F.opacity }, B) : F.shape === "person" ? /* @__PURE__ */ y(
7726
7741
  "path",
7727
7742
  {
7728
- style: { transform: `translateX(${j.x + V / 4}px) translateY(${j.y}px) scale(${V / 20})` },
7729
- fill: j.color,
7730
- fillOpacity: j.opacity,
7743
+ style: { transform: `translateX(${F.x + V / 4}px) translateY(${F.y}px) scale(${V / 20})` },
7744
+ fill: F.color,
7745
+ fillOpacity: F.opacity,
7731
7746
  d: `M3.75,0a2.5,2.5,0,1,1-2.5,2.5A2.5,2.5,0,0,1,3.75,0M5.625,5.625H5.18125a3.433,3.433,0,0,1-2.8625,0H1.875A1.875,1.875,
7732
7747
  0,0,0,0,7.5v5.3125a.9375.9375,0,0,0,.9375.9375h.625v5.3125A.9375.9375,0,0,0,2.5,20H5a.9375.9375,0,0,0,
7733
7748
  .9375-.9375V13.75h.625A.9375.9375,0,0,0,7.5,12.8125V7.5A1.875,1.875,0,0,0,5.625,5.625Z`
7734
7749
  },
7735
7750
  B
7736
- ) : /* @__PURE__ */ y(Hc, { className: "cdc-waffle-chart__node", style: { transitionDelay: `${0.1 * B}ms` }, cx: j.x, cy: j.y, r: V / 2, fill: j.color, fillOpacity: j.opacity }, B)
7751
+ ) : /* @__PURE__ */ y(Hc, { className: "cdc-waffle-chart__node", style: { transitionDelay: `${0.1 * B}ms` }, cx: F.x, cy: F.y, r: V / 2, fill: F.color, fillOpacity: F.opacity }, B)
7737
7752
  );
7738
- }, [i, u, a, o, l]), R = Lt(() => o * 10 + l * 9, [o, l]);
7753
+ }, [i, f, a, o, l]), R = Lt(() => o * 10 + l * 9, [o, l]);
7739
7754
  let Y = e.fontSize ? { fontSize: e.fontSize + "px" } : null;
7740
7755
  const { innerContainerClasses: ie, contentClasses: ee } = W1(e), W = (T, V = !1) => {
7741
7756
  V && console.log("handleWaffleChartAriaLabels Testing On:", T);
@@ -7745,8 +7760,8 @@ const qa = {
7745
7760
  } catch (Z) {
7746
7761
  console.error(Z.message);
7747
7762
  }
7748
- }, fe = "100%", K = 35, S = Uf({
7749
- domain: [0, e.dataDenom],
7763
+ }, fe = "100%", K = 35, L = Uf({
7764
+ domain: [0, b],
7750
7765
  range: [0, fe]
7751
7766
  }), N = qa[i];
7752
7767
  return /* @__PURE__ */ y("div", { className: ie.join(" "), children: /* @__PURE__ */ ce(gt, { children: [
@@ -7755,7 +7770,7 @@ const qa = {
7755
7770
  e.visualizationType === "Gauge" && /* @__PURE__ */ y("div", { className: `cove-gauge-chart${e.overallFontSize ? " font-" + e.overallFontSize : ""}`, children: /* @__PURE__ */ ce("div", { className: "cove-gauge-chart__chart", children: [
7756
7771
  /* @__PURE__ */ ce("div", { style: Y, children: [
7757
7772
  s || " ",
7758
- e.showPercent ? u : v,
7773
+ e.showPercent ? f : v,
7759
7774
  c ? c + " " : " ",
7760
7775
  " ",
7761
7776
  e.valueDescription,
@@ -7765,16 +7780,16 @@ const qa = {
7765
7780
  /* @__PURE__ */ y("div", { className: "cove-gauge-chart__data--text", children: Ze(h) }),
7766
7781
  /* @__PURE__ */ y("svg", { height: K, width: "100%", children: /* @__PURE__ */ ce(Nr, { children: [
7767
7782
  /* @__PURE__ */ y("foreignObject", { style: { border: "1px solid black" }, x: 0, y: 0, width: fe, height: K, fill: "#fff" }),
7768
- /* @__PURE__ */ y(ca, { x: 0, y: 0, width: S(u), height: K, fill: N })
7783
+ /* @__PURE__ */ y(ca, { x: 0, y: 0, width: L(v), height: K, fill: N })
7769
7784
  ] }) }),
7770
7785
  /* @__PURE__ */ y("div", { className: "cove-gauge-chart__subtext", children: Ze(d) })
7771
7786
  ] }) }),
7772
7787
  e.visualizationType !== "Gauge" && /* @__PURE__ */ ce("div", { className: `cove-waffle-chart${m === "vertical" ? " cove-waffle-chart--verical" : ""}${e.overallFontSize ? " font-" + e.overallFontSize : ""}`, children: [
7773
7788
  /* @__PURE__ */ y("div", { className: "cove-waffle-chart__chart", style: { width: R() }, children: /* @__PURE__ */ y("svg", { width: R(), height: R(), role: "img", "aria-label": W(e), tabIndex: 0, children: /* @__PURE__ */ y(Nr, { children: M() }) }) }),
7774
- (u || h) && /* @__PURE__ */ ce("div", { className: "cove-waffle-chart__data", children: [
7775
- u && /* @__PURE__ */ ce("div", { className: "cove-waffle-chart__data--primary", style: Y, children: [
7789
+ (f || h) && /* @__PURE__ */ ce("div", { className: "cove-waffle-chart__data", children: [
7790
+ f && /* @__PURE__ */ ce("div", { className: "cove-waffle-chart__data--primary", style: Y, children: [
7776
7791
  s || null,
7777
- u,
7792
+ f,
7778
7793
  c || null
7779
7794
  ] }),
7780
7795
  /* @__PURE__ */ y("div", { className: "cove-waffle-chart__data--text", children: Ze(h) }),
@@ -7785,7 +7800,7 @@ const qa = {
7785
7800
  n && n
7786
7801
  ] }) });
7787
7802
  }, n0 = ({ configUrl: e, config: t, isDashboard: n = !1, isEditor: r = !1, setConfig: i }) => {
7788
- const [a, o] = be({ ...Xt }), [l, s] = be(!0), [c, d] = be("lg"), [h, m] = be(!1), [L, E] = be(), w = (O) => {
7803
+ const [a, o] = be({ ...Xt }), [l, s] = be(!0), [c, d] = be("lg"), [h, m] = be(!1), [S, E] = be(), w = (O) => {
7789
7804
  Object.keys(Xt).forEach((_) => {
7790
7805
  O[_] && typeof O[_] == "object" && !Array.isArray(O[_]) && (O[_] = { ...Xt[_], ...O[_] });
7791
7806
  }), O.runtime = {}, O.runtime.uniqueId = Date.now(), O.runtime.editorErrorMessage = "", o(O);
@@ -7799,29 +7814,29 @@ const qa = {
7799
7814
  let le = ld(_.contentRect.width * 2);
7800
7815
  d(le);
7801
7816
  }
7802
- }), H = Lt((O) => {
7817
+ }), $ = Lt((O) => {
7803
7818
  O !== null && A.observe(O), E(O);
7804
7819
  }, []);
7805
7820
  Oe(() => {
7806
7821
  C().catch((O) => console.log(O));
7807
7822
  }, []), Oe(() => {
7808
- a && !h && L && (B1("cove_loaded", { config: a }), m(!0));
7809
- }, [a, L]), Oe(() => {
7823
+ a && !h && S && (B1("cove_loaded", { config: a }), m(!0));
7824
+ }, [a, S]), Oe(() => {
7810
7825
  C().catch((O) => console.log(O));
7811
7826
  }, []), t && Oe(() => {
7812
7827
  t.dataUrl || w({ ...Xt, ...t });
7813
7828
  }, [t.data]);
7814
- let F = /* @__PURE__ */ y(fd, {});
7829
+ let j = /* @__PURE__ */ y(fd, {});
7815
7830
  if (l === !1) {
7816
7831
  let O = ["cove", "type-waffle-chart", c, a.theme, "font-" + a.overallFontSize];
7817
7832
  r && O.push("is-editor");
7818
- let le = /* @__PURE__ */ y("div", { className: `${["cove-component", "waffle-chart"].join(" ")}`, ref: H, children: /* @__PURE__ */ y(Y1, { config: a, isEditor: r }) });
7819
- F = /* @__PURE__ */ ce("div", { className: O.join(" "), children: [
7833
+ let le = /* @__PURE__ */ y("div", { className: `${["cove-component", "waffle-chart"].join(" ")}`, ref: $, children: /* @__PURE__ */ y(Y1, { config: a, isEditor: r }) });
7834
+ j = /* @__PURE__ */ ce("div", { className: O.join(" "), children: [
7820
7835
  r && /* @__PURE__ */ y(U1, { children: le }),
7821
7836
  !r && le
7822
7837
  ] });
7823
7838
  }
7824
- return /* @__PURE__ */ y(dl, { component: "WaffleChart", children: /* @__PURE__ */ y(hl.Provider, { value: { config: a, updateConfig: w, loading: l, data: a.data, setParentConfig: i, isDashboard: n, outerContainerRef: H }, children: F }) });
7839
+ return /* @__PURE__ */ y(dl, { component: "WaffleChart", children: /* @__PURE__ */ y(hl.Provider, { value: { config: a, updateConfig: w, loading: l, data: a.data, setParentConfig: i, isDashboard: n, outerContainerRef: $ }, children: j }) });
7825
7840
  }, Xr = "Max", Kr = "Count", Jr = "Mean (Average)", Qr = "Median", ei = "Min", ti = "Mode", ni = "Sum", Ya = [Kr, Xr, Jr, Qr, ei, ti, ni], G1 = "<", Z1 = ">", X1 = "<=", K1 = ">=", J1 = "=", Q1 = "≠", e0 = [G1, Z1, X1, K1, J1, Q1];
7826
7841
  export {
7827
7842
  Ya as DATA_FUNCTIONS,