@australiangreens/ag-internal-components 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -126,7 +126,7 @@ function dn() {
126
126
  var d = O && r[O] || r[h];
127
127
  return typeof d == "function" ? d : null;
128
128
  }
129
- var ee = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
129
+ var te = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
130
130
  function Y(r) {
131
131
  {
132
132
  for (var d = arguments.length, m = new Array(d > 1 ? d - 1 : 0), $ = 1; $ < d; $++)
@@ -136,7 +136,7 @@ function dn() {
136
136
  }
137
137
  function ge(r, d, m) {
138
138
  {
139
- var $ = ee.ReactDebugCurrentFrame, q = $.getStackAddendum();
139
+ var $ = te.ReactDebugCurrentFrame, q = $.getStackAddendum();
140
140
  q !== "" && (d += "%s", m = m.concat([q]));
141
141
  var K = m.map(function(L) {
142
142
  return "" + L;
@@ -263,18 +263,18 @@ function dn() {
263
263
  ae < 0 && Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
264
264
  }
265
265
  }
266
- var S = ee.ReactCurrentDispatcher, M;
266
+ var S = te.ReactCurrentDispatcher, j;
267
267
  function A(r, d, m) {
268
268
  {
269
- if (M === void 0)
269
+ if (j === void 0)
270
270
  try {
271
271
  throw Error();
272
272
  } catch (q) {
273
273
  var $ = q.stack.trim().match(/\n( *(at )?)/);
274
- M = $ && $[1] || "";
274
+ j = $ && $[1] || "";
275
275
  }
276
276
  return `
277
- ` + M + r;
277
+ ` + j + r;
278
278
  }
279
279
  }
280
280
  var w = !1, z;
@@ -332,18 +332,18 @@ function dn() {
332
332
  if (xe && $ && typeof xe.stack == "string") {
333
333
  for (var W = xe.stack.split(`
334
334
  `), de = $.stack.split(`
335
- `), Q = W.length - 1, te = de.length - 1; Q >= 1 && te >= 0 && W[Q] !== de[te]; )
336
- te--;
337
- for (; Q >= 1 && te >= 0; Q--, te--)
338
- if (W[Q] !== de[te]) {
339
- if (Q !== 1 || te !== 1)
335
+ `), Q = W.length - 1, re = de.length - 1; Q >= 1 && re >= 0 && W[Q] !== de[re]; )
336
+ re--;
337
+ for (; Q >= 1 && re >= 0; Q--, re--)
338
+ if (W[Q] !== de[re]) {
339
+ if (Q !== 1 || re !== 1)
340
340
  do
341
- if (Q--, te--, te < 0 || W[Q] !== de[te]) {
341
+ if (Q--, re--, re < 0 || W[Q] !== de[re]) {
342
342
  var Te = `
343
343
  ` + W[Q].replace(" at new ", " at ");
344
344
  return typeof r == "function" && z.set(r, Te), Te;
345
345
  }
346
- while (Q >= 1 && te >= 0);
346
+ while (Q >= 1 && re >= 0);
347
347
  break;
348
348
  }
349
349
  }
@@ -391,8 +391,8 @@ function dn() {
391
391
  }
392
392
  return "";
393
393
  }
394
- var Ge = {}, Je = ee.ReactDebugCurrentFrame;
395
- function Me(r) {
394
+ var Ge = {}, Je = te.ReactDebugCurrentFrame;
395
+ function je(r) {
396
396
  if (r) {
397
397
  var d = r._owner, m = ye(r.type, r._source, d ? d.type : null);
398
398
  Je.setExtraStackFrame(m);
@@ -414,11 +414,11 @@ function dn() {
414
414
  } catch (Q) {
415
415
  W = Q;
416
416
  }
417
- W && !(W instanceof Error) && (Me(q), Y("%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).", $ || "React class", m, L, typeof W), Me(null)), W instanceof Error && !(W.message in Ge) && (Ge[W.message] = !0, Me(q), Y("Failed %s type: %s", m, W.message), Me(null));
417
+ W && !(W instanceof Error) && (je(q), Y("%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).", $ || "React class", m, L, typeof W), je(null)), W instanceof Error && !(W.message in Ge) && (Ge[W.message] = !0, je(q), Y("Failed %s type: %s", m, W.message), je(null));
418
418
  }
419
419
  }
420
420
  }
421
- var me = ee.ReactCurrentOwner, Ce = Object.prototype.hasOwnProperty, dt = {
421
+ var me = te.ReactCurrentOwner, Ce = Object.prototype.hasOwnProperty, dt = {
422
422
  key: !0,
423
423
  ref: !0,
424
424
  __self: !0,
@@ -447,7 +447,7 @@ function dn() {
447
447
  Ee[m] || (Y('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', G(me.current.type), r.ref), Ee[m] = !0);
448
448
  }
449
449
  }
450
- function j(r, d) {
450
+ function M(r, d) {
451
451
  {
452
452
  var m = function() {
453
453
  Xe || (Xe = !0, Y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
@@ -510,14 +510,14 @@ function dn() {
510
510
  L[K] === void 0 && (L[K] = Q[K]);
511
511
  }
512
512
  if (W || de) {
513
- var te = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
514
- W && j(L, te), de && Qe(L, te);
513
+ var re = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
514
+ W && M(L, re), de && Qe(L, re);
515
515
  }
516
516
  return ht(r, W, de, q, $, me.current, L);
517
517
  }
518
518
  }
519
- var tt = ee.ReactCurrentOwner, Bt = ee.ReactDebugCurrentFrame;
520
- function je(r) {
519
+ var tt = te.ReactCurrentOwner, Bt = te.ReactDebugCurrentFrame;
520
+ function Me(r) {
521
521
  if (r) {
522
522
  var d = r._owner, m = ye(r.type, r._source, d ? d.type : null);
523
523
  Bt.setExtraStackFrame(m);
@@ -575,7 +575,7 @@ Check the top-level render call using <` + m + ">.");
575
575
  return;
576
576
  Lt[m] = !0;
577
577
  var $ = "";
578
- r && r._owner && r._owner !== tt.current && ($ = " It was passed a child from " + G(r._owner.type) + "."), je(r), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, $), je(null);
578
+ r && r._owner && r._owner !== tt.current && ($ = " It was passed a child from " + G(r._owner.type) + "."), Me(r), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, $), Me(null);
579
579
  }
580
580
  }
581
581
  function Ut(r, d) {
@@ -627,11 +627,11 @@ Check the top-level render call using <` + m + ">.");
627
627
  for (var d = Object.keys(r.props), m = 0; m < d.length; m++) {
628
628
  var $ = d[m];
629
629
  if ($ !== "children" && $ !== "key") {
630
- je(r), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $), je(null);
630
+ Me(r), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $), Me(null);
631
631
  break;
632
632
  }
633
633
  }
634
- r.ref !== null && (je(r), Y("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
634
+ r.ref !== null && (Me(r), Y("Invalid attribute `ref` supplied to `React.Fragment`."), Me(null));
635
635
  }
636
636
  }
637
637
  function Yt(r, d, m, $, q, K) {
@@ -645,9 +645,9 @@ Check the top-level render call using <` + m + ">.");
645
645
  var Q;
646
646
  r === null ? Q = "null" : Array.isArray(r) ? Q = "array" : r !== void 0 && r.$$typeof === o ? (Q = "<" + (G(r.type) || "Unknown") + " />", W = " Did you accidentally export a JSX literal instead of a component?") : Q = typeof r, Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Q, W);
647
647
  }
648
- var te = et(r, d, m, q, K);
649
- if (te == null)
650
- return te;
648
+ var re = et(r, d, m, q, K);
649
+ if (re == null)
650
+ return re;
651
651
  if (L) {
652
652
  var Te = d.children;
653
653
  if (Te !== void 0)
@@ -661,7 +661,7 @@ Check the top-level render call using <` + m + ">.");
661
661
  else
662
662
  Ut(Te, r);
663
663
  }
664
- return r === e.Fragment ? Fr(te) : Lr(te), te;
664
+ return r === e.Fragment ? Fr(re) : Lr(re), re;
665
665
  }
666
666
  }
667
667
  function Ur(r, d, m) {
@@ -676,7 +676,7 @@ Check the top-level render call using <` + m + ">.");
676
676
  }(mt)), mt;
677
677
  }
678
678
  process.env.NODE_ENV === "production" ? Pt.exports = fn() : Pt.exports = dn();
679
- var re = Pt.exports;
679
+ var ee = Pt.exports;
680
680
  function be(e, t) {
681
681
  if (e == null)
682
682
  return {};
@@ -820,7 +820,7 @@ function vn() {
820
820
  }
821
821
  }
822
822
  }
823
- var h = l, H = v, ee = u, Y = c, ge = t, ie = p, ce = o, ue = C, le = x, G = n, ae = i, X = a, se = E, ne = !1;
823
+ var h = l, H = v, te = u, Y = c, ge = t, ie = p, ce = o, ue = C, le = x, G = n, ae = i, X = a, se = E, ne = !1;
824
824
  function Re(b) {
825
825
  return ne || (ne = !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.")), f(b) || O(b) === l;
826
826
  }
@@ -845,7 +845,7 @@ function vn() {
845
845
  function S(b) {
846
846
  return O(b) === C;
847
847
  }
848
- function M(b) {
848
+ function j(b) {
849
849
  return O(b) === x;
850
850
  }
851
851
  function A(b) {
@@ -860,7 +860,7 @@ function vn() {
860
860
  function oe(b) {
861
861
  return O(b) === E;
862
862
  }
863
- U.AsyncMode = h, U.ConcurrentMode = H, U.ContextConsumer = ee, U.ContextProvider = Y, U.Element = ge, U.ForwardRef = ie, U.Fragment = ce, U.Lazy = ue, U.Memo = le, U.Portal = G, U.Profiler = ae, U.StrictMode = X, U.Suspense = se, U.isAsyncMode = Re, U.isConcurrentMode = f, U.isContextConsumer = T, U.isContextProvider = k, U.isElement = I, U.isForwardRef = _, U.isFragment = V, U.isLazy = S, U.isMemo = M, U.isPortal = A, U.isProfiler = w, U.isStrictMode = z, U.isSuspense = oe, U.isValidElementType = R, U.typeOf = O;
863
+ U.AsyncMode = h, U.ConcurrentMode = H, U.ContextConsumer = te, U.ContextProvider = Y, U.Element = ge, U.ForwardRef = ie, U.Fragment = ce, U.Lazy = ue, U.Memo = le, U.Portal = G, U.Profiler = ae, U.StrictMode = X, U.Suspense = se, U.isAsyncMode = Re, U.isConcurrentMode = f, U.isContextConsumer = T, U.isContextProvider = k, U.isElement = I, U.isForwardRef = _, U.isFragment = V, U.isLazy = S, U.isMemo = j, U.isPortal = A, U.isProfiler = w, U.isStrictMode = z, U.isSuspense = oe, U.isValidElementType = R, U.typeOf = O;
864
864
  }()), U;
865
865
  }
866
866
  var tr;
@@ -970,7 +970,7 @@ function gn() {
970
970
  instanceOf: H,
971
971
  node: ie(),
972
972
  objectOf: Y,
973
- oneOf: ee,
973
+ oneOf: te,
974
974
  oneOfType: ge,
975
975
  shape: ue,
976
976
  exact: le
@@ -985,28 +985,28 @@ function gn() {
985
985
  function P(f) {
986
986
  if (process.env.NODE_ENV !== "production")
987
987
  var T = {}, k = 0;
988
- function I(V, S, M, A, w, z, oe) {
989
- if (A = A || y, z = z || M, oe !== n) {
988
+ function I(V, S, j, A, w, z, oe) {
989
+ if (A = A || y, z = z || j, oe !== n) {
990
990
  if (l) {
991
991
  var b = new Error(
992
992
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
993
993
  );
994
994
  throw b.name = "Invariant Violation", b;
995
995
  } else if (process.env.NODE_ENV !== "production" && typeof console != "undefined") {
996
- var fe = A + ":" + M;
996
+ var fe = A + ":" + j;
997
997
  !T[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
998
998
  k < 3 && (i(
999
999
  "You are manually calling a React.PropTypes validation function for the `" + z + "` prop on `" + A + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1000
1000
  ), T[fe] = !0, k++);
1001
1001
  }
1002
1002
  }
1003
- return S[M] == null ? V ? S[M] === null ? new g("The " + w + " `" + z + "` is marked as required " + ("in `" + A + "`, but its value is `null`.")) : new g("The " + w + " `" + z + "` is marked as required in " + ("`" + A + "`, but its value is `undefined`.")) : null : f(S, M, A, w, z);
1003
+ return S[j] == null ? V ? S[j] === null ? new g("The " + w + " `" + z + "` is marked as required " + ("in `" + A + "`, but its value is `null`.")) : new g("The " + w + " `" + z + "` is marked as required in " + ("`" + A + "`, but its value is `undefined`.")) : null : f(S, j, A, w, z);
1004
1004
  }
1005
1005
  var _ = I.bind(null, !1);
1006
1006
  return _.isRequired = I.bind(null, !0), _;
1007
1007
  }
1008
1008
  function N(f) {
1009
- function T(k, I, _, V, S, M) {
1009
+ function T(k, I, _, V, S, j) {
1010
1010
  var A = k[I], w = X(A);
1011
1011
  if (w !== f) {
1012
1012
  var z = se(A);
@@ -1026,13 +1026,13 @@ function gn() {
1026
1026
  function T(k, I, _, V, S) {
1027
1027
  if (typeof f != "function")
1028
1028
  return new g("Property `" + S + "` of component `" + _ + "` has invalid PropType notation inside arrayOf.");
1029
- var M = k[I];
1030
- if (!Array.isArray(M)) {
1031
- var A = X(M);
1029
+ var j = k[I];
1030
+ if (!Array.isArray(j)) {
1031
+ var A = X(j);
1032
1032
  return new g("Invalid " + V + " `" + S + "` of type " + ("`" + A + "` supplied to `" + _ + "`, expected an array."));
1033
1033
  }
1034
- for (var w = 0; w < M.length; w++) {
1035
- var z = f(M, w, _, V, S + "[" + w + "]", n);
1034
+ for (var w = 0; w < j.length; w++) {
1035
+ var z = f(j, w, _, V, S + "[" + w + "]", n);
1036
1036
  if (z instanceof Error)
1037
1037
  return z;
1038
1038
  }
@@ -1044,8 +1044,8 @@ function gn() {
1044
1044
  function f(T, k, I, _, V) {
1045
1045
  var S = T[k];
1046
1046
  if (!u(S)) {
1047
- var M = X(S);
1048
- return new g("Invalid " + _ + " `" + V + "` of type " + ("`" + M + "` supplied to `" + I + "`, expected a single ReactElement."));
1047
+ var j = X(S);
1048
+ return new g("Invalid " + _ + " `" + V + "` of type " + ("`" + j + "` supplied to `" + I + "`, expected a single ReactElement."));
1049
1049
  }
1050
1050
  return null;
1051
1051
  }
@@ -1055,8 +1055,8 @@ function gn() {
1055
1055
  function f(T, k, I, _, V) {
1056
1056
  var S = T[k];
1057
1057
  if (!e.isValidElementType(S)) {
1058
- var M = X(S);
1059
- return new g("Invalid " + _ + " `" + V + "` of type " + ("`" + M + "` supplied to `" + I + "`, expected a single ReactElement type."));
1058
+ var j = X(S);
1059
+ return new g("Invalid " + _ + " `" + V + "` of type " + ("`" + j + "` supplied to `" + I + "`, expected a single ReactElement type."));
1060
1060
  }
1061
1061
  return null;
1062
1062
  }
@@ -1065,27 +1065,27 @@ function gn() {
1065
1065
  function H(f) {
1066
1066
  function T(k, I, _, V, S) {
1067
1067
  if (!(k[I] instanceof f)) {
1068
- var M = f.name || y, A = Re(k[I]);
1069
- return new g("Invalid " + V + " `" + S + "` of type " + ("`" + A + "` supplied to `" + _ + "`, expected ") + ("instance of `" + M + "`."));
1068
+ var j = f.name || y, A = Re(k[I]);
1069
+ return new g("Invalid " + V + " `" + S + "` of type " + ("`" + A + "` supplied to `" + _ + "`, expected ") + ("instance of `" + j + "`."));
1070
1070
  }
1071
1071
  return null;
1072
1072
  }
1073
1073
  return P(T);
1074
1074
  }
1075
- function ee(f) {
1075
+ function te(f) {
1076
1076
  if (!Array.isArray(f))
1077
1077
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1078
1078
  "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])."
1079
1079
  ) : i("Invalid argument supplied to oneOf, expected an array.")), c;
1080
1080
  function T(k, I, _, V, S) {
1081
- for (var M = k[I], A = 0; A < f.length; A++)
1082
- if (C(M, f[A]))
1081
+ for (var j = k[I], A = 0; A < f.length; A++)
1082
+ if (C(j, f[A]))
1083
1083
  return null;
1084
1084
  var w = JSON.stringify(f, function(oe, b) {
1085
1085
  var fe = se(b);
1086
1086
  return fe === "symbol" ? String(b) : b;
1087
1087
  });
1088
- return new g("Invalid " + V + " `" + S + "` of value `" + String(M) + "` " + ("supplied to `" + _ + "`, expected one of " + w + "."));
1088
+ return new g("Invalid " + V + " `" + S + "` of value `" + String(j) + "` " + ("supplied to `" + _ + "`, expected one of " + w + "."));
1089
1089
  }
1090
1090
  return P(T);
1091
1091
  }
@@ -1093,12 +1093,12 @@ function gn() {
1093
1093
  function T(k, I, _, V, S) {
1094
1094
  if (typeof f != "function")
1095
1095
  return new g("Property `" + S + "` of component `" + _ + "` has invalid PropType notation inside objectOf.");
1096
- var M = k[I], A = X(M);
1096
+ var j = k[I], A = X(j);
1097
1097
  if (A !== "object")
1098
1098
  return new g("Invalid " + V + " `" + S + "` of type " + ("`" + A + "` supplied to `" + _ + "`, expected an object."));
1099
- for (var w in M)
1100
- if (o(M, w)) {
1101
- var z = f(M, w, _, V, S + "." + w, n);
1099
+ for (var w in j)
1100
+ if (o(j, w)) {
1101
+ var z = f(j, w, _, V, S + "." + w, n);
1102
1102
  if (z instanceof Error)
1103
1103
  return z;
1104
1104
  }
@@ -1116,15 +1116,15 @@ function gn() {
1116
1116
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ne(k) + " at index " + T + "."
1117
1117
  ), c;
1118
1118
  }
1119
- function I(_, V, S, M, A) {
1119
+ function I(_, V, S, j, A) {
1120
1120
  for (var w = [], z = 0; z < f.length; z++) {
1121
- var oe = f[z], b = oe(_, V, S, M, A, n);
1121
+ var oe = f[z], b = oe(_, V, S, j, A, n);
1122
1122
  if (b == null)
1123
1123
  return null;
1124
1124
  b.data && o(b.data, "expectedType") && w.push(b.data.expectedType);
1125
1125
  }
1126
1126
  var fe = w.length > 0 ? ", expected one of type [" + w.join(", ") + "]" : "";
1127
- return new g("Invalid " + M + " `" + A + "` supplied to " + ("`" + S + "`" + fe + "."));
1127
+ return new g("Invalid " + j + " `" + A + "` supplied to " + ("`" + S + "`" + fe + "."));
1128
1128
  }
1129
1129
  return P(I);
1130
1130
  }
@@ -1141,14 +1141,14 @@ function gn() {
1141
1141
  }
1142
1142
  function ue(f) {
1143
1143
  function T(k, I, _, V, S) {
1144
- var M = k[I], A = X(M);
1144
+ var j = k[I], A = X(j);
1145
1145
  if (A !== "object")
1146
1146
  return new g("Invalid " + V + " `" + S + "` of type `" + A + "` " + ("supplied to `" + _ + "`, expected `object`."));
1147
1147
  for (var w in f) {
1148
1148
  var z = f[w];
1149
1149
  if (typeof z != "function")
1150
1150
  return ce(_, V, S, w, se(z));
1151
- var oe = z(M, w, _, V, S + "." + w, n);
1151
+ var oe = z(j, w, _, V, S + "." + w, n);
1152
1152
  if (oe)
1153
1153
  return oe;
1154
1154
  }
@@ -1158,7 +1158,7 @@ function gn() {
1158
1158
  }
1159
1159
  function le(f) {
1160
1160
  function T(k, I, _, V, S) {
1161
- var M = k[I], A = X(M);
1161
+ var j = k[I], A = X(j);
1162
1162
  if (A !== "object")
1163
1163
  return new g("Invalid " + V + " `" + S + "` of type `" + A + "` " + ("supplied to `" + _ + "`, expected `object`."));
1164
1164
  var w = t({}, k[I], f);
@@ -1171,7 +1171,7 @@ function gn() {
1171
1171
  "Invalid " + V + " `" + S + "` key `" + z + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(k[I], null, " ") + `
1172
1172
  Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
1173
1173
  );
1174
- var b = oe(M, z, _, V, S + "." + z, n);
1174
+ var b = oe(j, z, _, V, S + "." + z, n);
1175
1175
  if (b)
1176
1176
  return b;
1177
1177
  }
@@ -1423,17 +1423,17 @@ function wn(e) {
1423
1423
  } = e;
1424
1424
  return !!(n === "INPUT" && Sn[t] && !e.readOnly || n === "TEXTAREA" && !e.readOnly || e.isContentEditable);
1425
1425
  }
1426
- function Mn(e) {
1426
+ function jn(e) {
1427
1427
  e.metaKey || e.altKey || e.ctrlKey || (ct = !0);
1428
1428
  }
1429
1429
  function _t() {
1430
1430
  ct = !1;
1431
1431
  }
1432
- function jn() {
1432
+ function Mn() {
1433
1433
  this.visibilityState === "hidden" && St && (ct = !0);
1434
1434
  }
1435
1435
  function In(e) {
1436
- e.addEventListener("keydown", Mn, !0), e.addEventListener("mousedown", _t, !0), e.addEventListener("pointerdown", _t, !0), e.addEventListener("touchstart", _t, !0), e.addEventListener("visibilitychange", jn, !0);
1436
+ e.addEventListener("keydown", jn, !0), e.addEventListener("mousedown", _t, !0), e.addEventListener("pointerdown", _t, !0), e.addEventListener("touchstart", _t, !0), e.addEventListener("visibilitychange", Mn, !0);
1437
1437
  }
1438
1438
  function An(e) {
1439
1439
  const {
@@ -2104,10 +2104,10 @@ function _o(e = {}, ...t) {
2104
2104
  });
2105
2105
  }, v;
2106
2106
  }
2107
- const Co = _o(), Dt = Co, Nt = "$$material", Mr = (e) => on(e) && e !== "classes", Po = an({
2107
+ const Co = _o(), Dt = Co, Nt = "$$material", jr = (e) => on(e) && e !== "classes", Po = an({
2108
2108
  themeId: Nt,
2109
2109
  defaultTheme: Dt,
2110
- rootShouldForwardProp: Mr
2110
+ rootShouldForwardProp: jr
2111
2111
  }), _e = Po;
2112
2112
  function He({
2113
2113
  props: e,
@@ -2120,13 +2120,13 @@ function He({
2120
2120
  themeId: Nt
2121
2121
  });
2122
2122
  }
2123
- function Mt(e, t) {
2124
- return Mt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, a) {
2123
+ function jt(e, t) {
2124
+ return jt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, a) {
2125
2125
  return o.__proto__ = a, o;
2126
- }, Mt(e, t);
2126
+ }, jt(e, t);
2127
2127
  }
2128
2128
  function $o(e, t) {
2129
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Mt(e, t);
2129
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, jt(e, t);
2130
2130
  }
2131
2131
  const hr = Se.createContext(null);
2132
2132
  function So(e) {
@@ -2168,7 +2168,7 @@ function wo(e, t) {
2168
2168
  function we(e, t, n) {
2169
2169
  return n[t] != null ? n[t] : e.props[t];
2170
2170
  }
2171
- function Mo(e, t) {
2171
+ function jo(e, t) {
2172
2172
  return Vt(e.children, function(n) {
2173
2173
  return it(n, {
2174
2174
  onExited: t.bind(null, n),
@@ -2179,7 +2179,7 @@ function Mo(e, t) {
2179
2179
  });
2180
2180
  });
2181
2181
  }
2182
- function jo(e, t, n) {
2182
+ function Mo(e, t, n) {
2183
2183
  var o = Vt(e.children), a = wo(t, o);
2184
2184
  return Object.keys(a).forEach(function(i) {
2185
2185
  var c = a[i];
@@ -2236,7 +2236,7 @@ var Io = Object.values || function(e) {
2236
2236
  }, t.getDerivedStateFromProps = function(a, i) {
2237
2237
  var c = i.children, u = i.handleExited, l = i.firstRender;
2238
2238
  return {
2239
- children: l ? Mo(a, u) : jo(a, c, u),
2239
+ children: l ? jo(a, u) : Mo(a, c, u),
2240
2240
  firstRender: !1
2241
2241
  };
2242
2242
  }, n.handleExited = function(a, i) {
@@ -2311,7 +2311,7 @@ zt.propTypes = process.env.NODE_ENV !== "production" ? {
2311
2311
  } : {};
2312
2312
  zt.defaultProps = Ao;
2313
2313
  const ko = zt;
2314
- function jr(e) {
2314
+ function Mr(e) {
2315
2315
  const {
2316
2316
  className: t,
2317
2317
  classes: n,
@@ -2335,15 +2335,15 @@ function jr(e) {
2335
2335
  clearTimeout(g);
2336
2336
  };
2337
2337
  }
2338
- }, [l, u, v]), /* @__PURE__ */ re.jsx("span", {
2338
+ }, [l, u, v]), /* @__PURE__ */ ee.jsx("span", {
2339
2339
  className: y,
2340
2340
  style: x,
2341
- children: /* @__PURE__ */ re.jsx("span", {
2341
+ children: /* @__PURE__ */ ee.jsx("span", {
2342
2342
  className: C
2343
2343
  })
2344
2344
  });
2345
2345
  }
2346
- process.env.NODE_ENV !== "production" && (jr.propTypes = {
2346
+ process.env.NODE_ENV !== "production" && (Mr.propTypes = {
2347
2347
  /**
2348
2348
  * Override or extend the styles applied to the component.
2349
2349
  * See [CSS API](#css) below for more details.
@@ -2381,7 +2381,7 @@ process.env.NODE_ENV !== "production" && (jr.propTypes = {
2381
2381
  });
2382
2382
  const Do = Ke("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), ve = Do, No = ["center", "classes", "className"];
2383
2383
  let lt = (e) => e, gr, br, yr, mr;
2384
- const jt = 550, Vo = 80, zo = It(gr || (gr = lt`
2384
+ const Mt = 550, Vo = 80, zo = It(gr || (gr = lt`
2385
2385
  0% {
2386
2386
  transform: scale(0);
2387
2387
  opacity: 0.1;
@@ -2424,7 +2424,7 @@ const jt = 550, Vo = 80, zo = It(gr || (gr = lt`
2424
2424
  bottom: 0,
2425
2425
  left: 0,
2426
2426
  borderRadius: "inherit"
2427
- }), Fo = _e(jr, {
2427
+ }), Fo = _e(Mr, {
2428
2428
  name: "MuiTouchRipple",
2429
2429
  slot: "Ripple"
2430
2430
  })(mr || (mr = lt`
@@ -2470,11 +2470,11 @@ const jt = 550, Vo = 80, zo = It(gr || (gr = lt`
2470
2470
  animation-iteration-count: infinite;
2471
2471
  animation-delay: 200ms;
2472
2472
  }
2473
- `), ve.rippleVisible, zo, jt, ({
2473
+ `), ve.rippleVisible, zo, Mt, ({
2474
2474
  theme: e
2475
2475
  }) => e.transitions.easing.easeInOut, ve.ripplePulsate, ({
2476
2476
  theme: e
2477
- }) => e.transitions.duration.shorter, ve.child, ve.childLeaving, Bo, jt, ({
2477
+ }) => e.transitions.duration.shorter, ve.child, ve.childLeaving, Bo, Mt, ({
2478
2478
  theme: e
2479
2479
  }) => e.transitions.easing.easeInOut, ve.childPulsate, Wo, ({
2480
2480
  theme: e
@@ -2498,11 +2498,11 @@ const jt = 550, Vo = 80, zo = It(gr || (gr = lt`
2498
2498
  const {
2499
2499
  pulsate: h,
2500
2500
  rippleX: H,
2501
- rippleY: ee,
2501
+ rippleY: te,
2502
2502
  rippleSize: Y,
2503
2503
  cb: ge
2504
2504
  } = O;
2505
- v((ie) => [...ie, /* @__PURE__ */ re.jsx(Fo, {
2505
+ v((ie) => [...ie, /* @__PURE__ */ ee.jsx(Fo, {
2506
2506
  classes: {
2507
2507
  ripple: pe(i.ripple, ve.ripple),
2508
2508
  rippleVisible: pe(i.rippleVisible, ve.rippleVisible),
@@ -2511,16 +2511,16 @@ const jt = 550, Vo = 80, zo = It(gr || (gr = lt`
2511
2511
  childLeaving: pe(i.childLeaving, ve.childLeaving),
2512
2512
  childPulsate: pe(i.childPulsate, ve.childPulsate)
2513
2513
  },
2514
- timeout: jt,
2514
+ timeout: Mt,
2515
2515
  pulsate: h,
2516
2516
  rippleX: H,
2517
- rippleY: ee,
2517
+ rippleY: te,
2518
2518
  rippleSize: Y
2519
2519
  }, p.current)]), p.current += 1, E.current = ge;
2520
2520
  }, [i]), N = D.useCallback((O = {}, h = {}, H = () => {
2521
2521
  }) => {
2522
2522
  const {
2523
- pulsate: ee = !1,
2523
+ pulsate: te = !1,
2524
2524
  center: Y = a || h.pulsate,
2525
2525
  fakeElement: ge = !1
2526
2526
  // For test purposes
@@ -2554,7 +2554,7 @@ const jt = 550, Vo = 80, zo = It(gr || (gr = lt`
2554
2554
  }
2555
2555
  O != null && O.touches ? C.current === null && (C.current = () => {
2556
2556
  P({
2557
- pulsate: ee,
2557
+ pulsate: te,
2558
2558
  rippleX: ue,
2559
2559
  rippleY: le,
2560
2560
  rippleSize: G,
@@ -2563,7 +2563,7 @@ const jt = 550, Vo = 80, zo = It(gr || (gr = lt`
2563
2563
  }, x.current = setTimeout(() => {
2564
2564
  C.current && (C.current(), C.current = null);
2565
2565
  }, Vo)) : P({
2566
- pulsate: ee,
2566
+ pulsate: te,
2567
2567
  rippleX: ue,
2568
2568
  rippleY: le,
2569
2569
  rippleSize: G,
@@ -2586,11 +2586,11 @@ const jt = 550, Vo = 80, zo = It(gr || (gr = lt`
2586
2586
  pulsate: Z,
2587
2587
  start: N,
2588
2588
  stop: R
2589
- }), [Z, N, R]), /* @__PURE__ */ re.jsx(Lo, B({
2589
+ }), [Z, N, R]), /* @__PURE__ */ ee.jsx(Lo, B({
2590
2590
  className: pe(ve.root, i.root, c),
2591
2591
  ref: g
2592
2592
  }, u, {
2593
- children: /* @__PURE__ */ re.jsx(ko, {
2593
+ children: /* @__PURE__ */ ee.jsx(ko, {
2594
2594
  component: null,
2595
2595
  exit: !0,
2596
2596
  children: l
@@ -2694,7 +2694,7 @@ const qo = Ke("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ko = qo, H
2694
2694
  onKeyDown: O,
2695
2695
  onKeyUp: h,
2696
2696
  onMouseDown: H,
2697
- onMouseLeave: ee,
2697
+ onMouseLeave: te,
2698
2698
  onMouseUp: Y,
2699
2699
  onTouchEnd: ge,
2700
2700
  onTouchMove: ie,
@@ -2714,34 +2714,34 @@ const qo = Ke("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ko = qo, H
2714
2714
  V(!0), se.current.focus();
2715
2715
  }
2716
2716
  }), []);
2717
- const [S, M] = D.useState(!1);
2717
+ const [S, j] = D.useState(!1);
2718
2718
  D.useEffect(() => {
2719
- M(!0);
2719
+ j(!0);
2720
2720
  }, []);
2721
2721
  const A = S && !p && !v;
2722
2722
  D.useEffect(() => {
2723
2723
  _ && y && !p && S && ne.current.pulsate();
2724
2724
  }, [p, y, _, S]);
2725
- function w(j, Qe, ht = E) {
2726
- return nt((et) => (Qe && Qe(et), !ht && ne.current && ne.current[j](et), !0));
2725
+ function w(M, Qe, ht = E) {
2726
+ return nt((et) => (Qe && Qe(et), !ht && ne.current && ne.current[M](et), !0));
2727
2727
  }
2728
- const z = w("start", H), oe = w("stop", P), b = w("stop", N), fe = w("stop", Y), Oe = w("stop", (j) => {
2729
- _ && j.preventDefault(), ee && ee(j);
2730
- }), ye = w("start", ce), Ge = w("stop", ge), Je = w("stop", ie), Me = w("stop", (j) => {
2731
- k(j), f.current === !1 && V(!1), C && C(j);
2732
- }, !1), ft = nt((j) => {
2733
- se.current || (se.current = j.currentTarget), T(j), f.current === !0 && (V(!0), R && R(j)), Z && Z(j);
2728
+ const z = w("start", H), oe = w("stop", P), b = w("stop", N), fe = w("stop", Y), Oe = w("stop", (M) => {
2729
+ _ && M.preventDefault(), te && te(M);
2730
+ }), ye = w("start", ce), Ge = w("stop", ge), Je = w("stop", ie), je = w("stop", (M) => {
2731
+ k(M), f.current === !1 && V(!1), C && C(M);
2732
+ }, !1), ft = nt((M) => {
2733
+ se.current || (se.current = M.currentTarget), T(M), f.current === !0 && (V(!0), R && R(M)), Z && Z(M);
2734
2734
  }), me = () => {
2735
- const j = se.current;
2736
- return l && l !== "button" && !(j.tagName === "A" && j.href);
2737
- }, Ce = D.useRef(!1), dt = nt((j) => {
2738
- y && !Ce.current && _ && ne.current && j.key === " " && (Ce.current = !0, ne.current.stop(j, () => {
2739
- ne.current.start(j);
2740
- })), j.target === j.currentTarget && me() && j.key === " " && j.preventDefault(), O && O(j), j.target === j.currentTarget && me() && j.key === "Enter" && !v && (j.preventDefault(), g && g(j));
2741
- }), Xe = nt((j) => {
2742
- y && j.key === " " && ne.current && _ && !j.defaultPrevented && (Ce.current = !1, ne.current.stop(j, () => {
2743
- ne.current.pulsate(j);
2744
- })), h && h(j), g && j.target === j.currentTarget && me() && j.key === " " && !j.defaultPrevented && g(j);
2735
+ const M = se.current;
2736
+ return l && l !== "button" && !(M.tagName === "A" && M.href);
2737
+ }, Ce = D.useRef(!1), dt = nt((M) => {
2738
+ y && !Ce.current && _ && ne.current && M.key === " " && (Ce.current = !0, ne.current.stop(M, () => {
2739
+ ne.current.start(M);
2740
+ })), M.target === M.currentTarget && me() && M.key === " " && M.preventDefault(), O && O(M), M.target === M.currentTarget && me() && M.key === "Enter" && !v && (M.preventDefault(), g && g(M));
2741
+ }), Xe = nt((M) => {
2742
+ y && M.key === " " && ne.current && _ && !M.defaultPrevented && (Ce.current = !1, ne.current.stop(M, () => {
2743
+ ne.current.pulsate(M);
2744
+ })), h && h(M), g && M.target === M.currentTarget && me() && M.key === " " && !M.defaultPrevented && g(M);
2745
2745
  });
2746
2746
  let Pe = l;
2747
2747
  Pe === "button" && (X.href || X.to) && (Pe = x);
@@ -2762,11 +2762,11 @@ const qo = Ke("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ko = qo, H
2762
2762
  tabIndex: ue,
2763
2763
  focusVisible: _
2764
2764
  }), vt = Go(Ze);
2765
- return /* @__PURE__ */ re.jsxs(Jo, B({
2765
+ return /* @__PURE__ */ ee.jsxs(Jo, B({
2766
2766
  as: Pe,
2767
2767
  className: pe(vt.root, u),
2768
2768
  ownerState: Ze,
2769
- onBlur: Me,
2769
+ onBlur: je,
2770
2770
  onClick: g,
2771
2771
  onContextMenu: oe,
2772
2772
  onFocus: ft,
@@ -2785,7 +2785,7 @@ const qo = Ke("MuiButtonBase", ["root", "disabled", "focusVisible"]), Ko = qo, H
2785
2785
  }, Ee, X, {
2786
2786
  children: [c, A ? (
2787
2787
  /* TouchRipple is only needed client-side, x2 boost on the server. */
2788
- /* @__PURE__ */ re.jsx(Uo, B({
2788
+ /* @__PURE__ */ ee.jsx(Uo, B({
2789
2789
  ref: Re,
2790
2790
  center: i
2791
2791
  }, le))
@@ -2984,7 +2984,7 @@ const ea = kr, ta = ["children", "color", "component", "className", "disabled",
2984
2984
  fontSize: 22
2985
2985
  }
2986
2986
  }), na = _e(Xo, {
2987
- shouldForwardProp: (e) => Mr(e) || e === "classes",
2987
+ shouldForwardProp: (e) => jr(e) || e === "classes",
2988
2988
  name: "MuiButton",
2989
2989
  slot: "Root",
2990
2990
  overridesResolver: (e, t) => {
@@ -3179,16 +3179,16 @@ const ea = kr, ta = ["children", "color", "component", "className", "disabled",
3179
3179
  size: P,
3180
3180
  type: Z,
3181
3181
  variant: R
3182
- }), H = ra(h), ee = N && /* @__PURE__ */ re.jsx(oa, {
3182
+ }), H = ra(h), te = N && /* @__PURE__ */ ee.jsx(oa, {
3183
3183
  className: H.startIcon,
3184
3184
  ownerState: h,
3185
3185
  children: N
3186
- }), Y = x && /* @__PURE__ */ re.jsx(aa, {
3186
+ }), Y = x && /* @__PURE__ */ ee.jsx(aa, {
3187
3187
  className: H.endIcon,
3188
3188
  ownerState: h,
3189
3189
  children: x
3190
3190
  });
3191
- return /* @__PURE__ */ re.jsxs(na, B({
3191
+ return /* @__PURE__ */ ee.jsxs(na, B({
3192
3192
  ownerState: h,
3193
3193
  className: pe(o.className, H.root, v),
3194
3194
  component: l,
@@ -3199,7 +3199,7 @@ const ea = kr, ta = ["children", "color", "component", "className", "disabled",
3199
3199
  type: Z
3200
3200
  }, O, {
3201
3201
  classes: H,
3202
- children: [ee, c, Y]
3202
+ children: [te, c, Y]
3203
3203
  }));
3204
3204
  });
3205
3205
  process.env.NODE_ENV !== "production" && (Nr.propTypes = {
@@ -3364,7 +3364,7 @@ const la = ["className", "component", "elevation", "square", "variant"], fa = (e
3364
3364
  variant: l
3365
3365
  }), E = fa(p);
3366
3366
  return process.env.NODE_ENV !== "production" && ca().shadows[c] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${c}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${c}]\` is defined.`].join(`
3367
- `)), /* @__PURE__ */ re.jsx(da, B({
3367
+ `)), /* @__PURE__ */ ee.jsx(da, B({
3368
3368
  as: i,
3369
3369
  ownerState: p,
3370
3370
  className: pe(E.root, a),
@@ -3505,7 +3505,7 @@ const ha = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
3505
3505
  variant: y,
3506
3506
  variantMapping: x
3507
3507
  }), P = l || (E ? "p" : x[y] || Tr[y]) || "span", N = ga(g);
3508
- return /* @__PURE__ */ re.jsx(ba, B({
3508
+ return /* @__PURE__ */ ee.jsx(ba, B({
3509
3509
  as: P,
3510
3510
  ref: n,
3511
3511
  ownerState: g,
@@ -3590,15 +3590,23 @@ process.env.NODE_ENV !== "production" && (zr.propTypes = {
3590
3590
  const xr = zr;
3591
3591
  function Ra({ text: e }) {
3592
3592
  const [t, n] = Zr(0);
3593
- return /* @__PURE__ */ re.jsxs(re.Fragment, { children: [
3594
- /* @__PURE__ */ re.jsx(xr, { variant: "h6", color: "inherit", component: "div", sx: { fontSize: "22px" }, children: "Hello world" }),
3595
- /* @__PURE__ */ re.jsx(xr, { variant: "caption", display: "block", children: /* @__PURE__ */ re.jsx("span", { children: "Just ensuring MUI is working as planned as a peer dependency" }) }),
3596
- /* @__PURE__ */ re.jsx(ia, { variant: "outlined", onClick: () => n((o) => o + 1), children: "Hello I am a button" }),
3597
- /* @__PURE__ */ re.jsxs("p", { children: [
3593
+ return /* @__PURE__ */ ee.jsxs(ee.Fragment, { children: [
3594
+ /* @__PURE__ */ ee.jsx(xr, { variant: "h6", color: "inherit", component: "div", sx: { fontSize: "22px" }, children: "Hello world" }),
3595
+ /* @__PURE__ */ ee.jsx(xr, { variant: "caption", display: "block", children: /* @__PURE__ */ ee.jsx("span", { children: "Just ensuring MUI is working as planned as a peer dependency" }) }),
3596
+ /* @__PURE__ */ ee.jsx(
3597
+ ia,
3598
+ {
3599
+ variant: "outlined",
3600
+ onClick: () => n((o) => o + 1),
3601
+ "aria-label": "Increment",
3602
+ children: "Hello I am a button"
3603
+ }
3604
+ ),
3605
+ /* @__PURE__ */ ee.jsxs("p", { children: [
3598
3606
  "This is some text: ",
3599
- e
3607
+ /* @__PURE__ */ ee.jsx("span", { children: e })
3600
3608
  ] }),
3601
- /* @__PURE__ */ re.jsxs(pa, { children: [
3609
+ /* @__PURE__ */ ee.jsxs(pa, { children: [
3602
3610
  "This number will incremember when button pressed: ",
3603
3611
  t
3604
3612
  ] })