sixseconds-modules 1.6.148 → 1.6.151

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/index.cjs.js CHANGED
@@ -15,7 +15,6 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
15
15
  const jsxRuntime = require("react/jsx-runtime");
16
16
  const material = require("@mui/material");
17
17
  const React = require("react");
18
- const react = require("@emotion/react");
19
18
  const axios = require("axios");
20
19
  const Cookies = require("js-cookie");
21
20
  const MenuIcon = require("@mui/icons-material/Menu");
@@ -391,8 +390,8 @@ deepmerge.all = function deepmergeAll(array2, options) {
391
390
  if (!Array.isArray(array2)) {
392
391
  throw new Error("first argument should be an array");
393
392
  }
394
- return array2.reduce(function(prev2, next2) {
395
- return deepmerge(prev2, next2, options);
393
+ return array2.reduce(function(prev, next) {
394
+ return deepmerge(prev, next, options);
396
395
  }, {});
397
396
  };
398
397
  var deepmerge_1 = deepmerge;
@@ -467,10 +466,10 @@ function eq(value, other) {
467
466
  return value === other || value !== value && other !== other;
468
467
  }
469
468
  function assocIndexOf(array2, key) {
470
- var length2 = array2.length;
471
- while (length2--) {
472
- if (eq(array2[length2][0], key)) {
473
- return length2;
469
+ var length = array2.length;
470
+ while (length--) {
471
+ if (eq(array2[length][0], key)) {
472
+ return length;
474
473
  }
475
474
  }
476
475
  return -1;
@@ -509,9 +508,9 @@ function listCacheSet(key, value) {
509
508
  return this;
510
509
  }
511
510
  function ListCache(entries) {
512
- var index = -1, length2 = entries == null ? 0 : entries.length;
511
+ var index = -1, length = entries == null ? 0 : entries.length;
513
512
  this.clear();
514
- while (++index < length2) {
513
+ while (++index < length) {
515
514
  var entry = entries[index];
516
515
  this.set(entry[0], entry[1]);
517
516
  }
@@ -629,9 +628,9 @@ function hashSet(key, value) {
629
628
  return this;
630
629
  }
631
630
  function Hash(entries) {
632
- var index = -1, length2 = entries == null ? 0 : entries.length;
631
+ var index = -1, length = entries == null ? 0 : entries.length;
633
632
  this.clear();
634
- while (++index < length2) {
633
+ while (++index < length) {
635
634
  var entry = entries[index];
636
635
  this.set(entry[0], entry[1]);
637
636
  }
@@ -675,9 +674,9 @@ function mapCacheSet(key, value) {
675
674
  return this;
676
675
  }
677
676
  function MapCache(entries) {
678
- var index = -1, length2 = entries == null ? 0 : entries.length;
677
+ var index = -1, length = entries == null ? 0 : entries.length;
679
678
  this.clear();
680
- while (++index < length2) {
679
+ while (++index < length) {
681
680
  var entry = entries[index];
682
681
  this.set(entry[0], entry[1]);
683
682
  }
@@ -713,8 +712,8 @@ Stack.prototype.get = stackGet;
713
712
  Stack.prototype.has = stackHas;
714
713
  Stack.prototype.set = stackSet;
715
714
  function arrayEach(array2, iteratee) {
716
- var index = -1, length2 = array2 == null ? 0 : array2.length;
717
- while (++index < length2) {
715
+ var index = -1, length = array2 == null ? 0 : array2.length;
716
+ while (++index < length) {
718
717
  if (iteratee(array2[index], index, array2) === false) {
719
718
  break;
720
719
  }
@@ -752,8 +751,8 @@ function assignValue(object2, key, value) {
752
751
  function copyObject(source, props, object2, customizer) {
753
752
  var isNew = !object2;
754
753
  object2 || (object2 = {});
755
- var index = -1, length2 = props.length;
756
- while (++index < length2) {
754
+ var index = -1, length = props.length;
755
+ while (++index < length) {
757
756
  var key = props[index];
758
757
  var newValue = void 0;
759
758
  if (newValue === void 0) {
@@ -798,10 +797,10 @@ var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : void 0;
798
797
  var isBuffer = nativeIsBuffer || stubFalse;
799
798
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
800
799
  var reIsUint = /^(?:0|[1-9]\d*)$/;
801
- function isIndex(value, length2) {
800
+ function isIndex(value, length) {
802
801
  var type = typeof value;
803
- length2 = length2 == null ? MAX_SAFE_INTEGER$1 : length2;
804
- return !!length2 && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length2);
802
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
803
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
805
804
  }
806
805
  var MAX_SAFE_INTEGER = 9007199254740991;
807
806
  function isLength(value) {
@@ -839,13 +838,13 @@ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedA
839
838
  var objectProto$5 = Object.prototype;
840
839
  var hasOwnProperty$3 = objectProto$5.hasOwnProperty;
841
840
  function arrayLikeKeys(value, inherited) {
842
- var isArr = isArray$1(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length2 = result.length;
841
+ var isArr = isArray$1(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
843
842
  for (var key in value) {
844
843
  if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
845
844
  (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
846
845
  isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
847
846
  isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
848
- isIndex(key, length2)))) {
847
+ isIndex(key, length)))) {
849
848
  result.push(key);
850
849
  }
851
850
  }
@@ -917,21 +916,21 @@ function cloneBuffer(buffer, isDeep) {
917
916
  if (isDeep) {
918
917
  return buffer.slice();
919
918
  }
920
- var length2 = buffer.length, result = allocUnsafe ? allocUnsafe(length2) : new buffer.constructor(length2);
919
+ var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
921
920
  buffer.copy(result);
922
921
  return result;
923
922
  }
924
923
  function copyArray(source, array2) {
925
- var index = -1, length2 = source.length;
926
- array2 || (array2 = Array(length2));
927
- while (++index < length2) {
924
+ var index = -1, length = source.length;
925
+ array2 || (array2 = Array(length));
926
+ while (++index < length) {
928
927
  array2[index] = source[index];
929
928
  }
930
929
  return array2;
931
930
  }
932
931
  function arrayFilter(array2, predicate) {
933
- var index = -1, length2 = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
934
- while (++index < length2) {
932
+ var index = -1, length = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
933
+ while (++index < length) {
935
934
  var value = array2[index];
936
935
  if (predicate(value, index, array2)) {
937
936
  result[resIndex++] = value;
@@ -958,8 +957,8 @@ function copySymbols(source, object2) {
958
957
  return copyObject(source, getSymbols(source), object2);
959
958
  }
960
959
  function arrayPush(array2, values) {
961
- var index = -1, length2 = values.length, offset2 = array2.length;
962
- while (++index < length2) {
960
+ var index = -1, length = values.length, offset2 = array2.length;
961
+ while (++index < length) {
963
962
  array2[offset2 + index] = values[index];
964
963
  }
965
964
  return array2;
@@ -1017,8 +1016,8 @@ if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2 || Map
1017
1016
  var objectProto = Object.prototype;
1018
1017
  var hasOwnProperty = objectProto.hasOwnProperty;
1019
1018
  function initCloneArray(array2) {
1020
- var length2 = array2.length, result = new array2.constructor(length2);
1021
- if (length2 && typeof array2[0] == "string" && hasOwnProperty.call(array2, "index")) {
1019
+ var length = array2.length, result = new array2.constructor(length);
1020
+ if (length && typeof array2[0] == "string" && hasOwnProperty.call(array2, "index")) {
1022
1021
  result.index = array2.index;
1023
1022
  result.input = array2.input;
1024
1023
  }
@@ -1197,11 +1196,11 @@ function requireReactFastCompare() {
1197
1196
  function equal(a, b) {
1198
1197
  if (a === b) return true;
1199
1198
  if (a && b && typeof a == "object" && typeof b == "object") {
1200
- var arrA = isArray2(a), arrB = isArray2(b), i, length2, key;
1199
+ var arrA = isArray2(a), arrB = isArray2(b), i, length, key;
1201
1200
  if (arrA && arrB) {
1202
- length2 = a.length;
1203
- if (length2 != b.length) return false;
1204
- for (i = length2; i-- !== 0; )
1201
+ length = a.length;
1202
+ if (length != b.length) return false;
1203
+ for (i = length; i-- !== 0; )
1205
1204
  if (!equal(a[i], b[i])) return false;
1206
1205
  return true;
1207
1206
  }
@@ -1213,14 +1212,14 @@ function requireReactFastCompare() {
1213
1212
  if (regexpA != regexpB) return false;
1214
1213
  if (regexpA && regexpB) return a.toString() == b.toString();
1215
1214
  var keys2 = keyList(a);
1216
- length2 = keys2.length;
1217
- if (length2 !== keyList(b).length)
1215
+ length = keys2.length;
1216
+ if (length !== keyList(b).length)
1218
1217
  return false;
1219
- for (i = length2; i-- !== 0; )
1218
+ for (i = length; i-- !== 0; )
1220
1219
  if (!hasProp.call(b, keys2[i])) return false;
1221
1220
  if (hasElementType && a instanceof Element && b instanceof Element)
1222
1221
  return a === b;
1223
- for (i = length2; i-- !== 0; ) {
1222
+ for (i = length; i-- !== 0; ) {
1224
1223
  key = keys2[i];
1225
1224
  if (key === "_owner" && a.$$typeof) {
1226
1225
  continue;
@@ -1265,8 +1264,8 @@ function clone$2(value) {
1265
1264
  return baseClone(value, CLONE_SYMBOLS_FLAG);
1266
1265
  }
1267
1266
  function arrayMap(array2, iteratee) {
1268
- var index = -1, length2 = array2 == null ? 0 : array2.length, result = Array(length2);
1269
- while (++index < length2) {
1267
+ var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
1268
+ while (++index < length) {
1270
1269
  result[index] = iteratee(array2[index], index, array2);
1271
1270
  }
1272
1271
  return result;
@@ -1311,8 +1310,8 @@ var stringToPath = memoizeCapped(function(string2) {
1311
1310
  if (string2.charCodeAt(0) === 46) {
1312
1311
  result.push("");
1313
1312
  }
1314
- string2.replace(rePropName, function(match5, number2, quote, subString) {
1315
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match5);
1313
+ string2.replace(rePropName, function(match, number2, quote, subString) {
1314
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match);
1316
1315
  });
1317
1316
  return result;
1318
1317
  });
@@ -1938,9 +1937,9 @@ function useFormik(_ref) {
1938
1937
  });
1939
1938
  var state = stateRef.current;
1940
1939
  var dispatch = React.useCallback(function(action) {
1941
- var prev2 = stateRef.current;
1942
- stateRef.current = formikReducer(prev2, action);
1943
- if (prev2 !== stateRef.current) setIteration(function(x) {
1940
+ var prev = stateRef.current;
1941
+ stateRef.current = formikReducer(prev, action);
1942
+ if (prev !== stateRef.current) setIteration(function(x) {
1944
1943
  return x + 1;
1945
1944
  });
1946
1945
  }, []);
@@ -1995,14 +1994,14 @@ function useFormik(_ref) {
1995
1994
  return runSingleFieldLevelValidation(f, getIn$1(values, f));
1996
1995
  }) : [Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];
1997
1996
  return Promise.all(fieldValidations).then(function(fieldErrorsList) {
1998
- return fieldErrorsList.reduce(function(prev2, curr, index) {
1997
+ return fieldErrorsList.reduce(function(prev, curr, index) {
1999
1998
  if (curr === "DO_NOT_DELETE_YOU_WILL_BE_FIRED") {
2000
- return prev2;
1999
+ return prev;
2001
2000
  }
2002
2001
  if (curr) {
2003
- prev2 = setIn(prev2, fieldKeysWithValidation[index], curr);
2002
+ prev = setIn(prev, fieldKeysWithValidation[index], curr);
2004
2003
  }
2005
- return prev2;
2004
+ return prev;
2006
2005
  }, {});
2007
2006
  });
2008
2007
  }, [runSingleFieldLevelValidation]);
@@ -6733,7 +6732,7 @@ var z = /* @__PURE__ */ Object.freeze({
6733
6732
  quotelessJson,
6734
6733
  ZodError
6735
6734
  });
6736
- const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "qa", "PROD": true, "SSR": false, "VITE_MODULES_CARDS_ADMIN_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_CARDS_HOME_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_CERT_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_ENV": "qa", "VITE_MODULES_EVENTS_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_SSO_BACKEND_BASE_URL": "https://qa-ssoapi.6seconds.org", "VITE_MODULES_SSO_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org", "VITE_MODULES_TOOLS_FRONTEND_BASE_URL": "https://qa-sso.6seconds.org" };
6735
+ const __vite_import_meta_env__ = { "BASE_URL": "/", "DEV": false, "MODE": "development", "PROD": true, "SSR": false, "VITE_MODULES_CARDS_ADMIN_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_CARDS_HOME_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_CERT_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_ENV": "dev", "VITE_MODULES_EVENTS_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_SSO_BACKEND_BASE_URL": "https://dev-ssoapi.6seconds.org", "VITE_MODULES_SSO_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org", "VITE_MODULES_TOOLS_FRONTEND_BASE_URL": "https://dev-sso.6seconds.org" };
6737
6736
  const env = createEnv({
6738
6737
  client: {
6739
6738
  VITE_MODULES_ENV: z.string()
@@ -7282,8 +7281,8 @@ function removeFormattingTokens(input) {
7282
7281
  return input.replace(/\\/g, "");
7283
7282
  }
7284
7283
  function makeFormatFunction(format2) {
7285
- var array2 = format2.match(formattingTokens), i, length2;
7286
- for (i = 0, length2 = array2.length; i < length2; i++) {
7284
+ var array2 = format2.match(formattingTokens), i, length;
7285
+ for (i = 0, length = array2.length; i < length; i++) {
7287
7286
  if (formatTokenFunctions[array2[i]]) {
7288
7287
  array2[i] = formatTokenFunctions[array2[i]];
7289
7288
  } else {
@@ -7292,7 +7291,7 @@ function makeFormatFunction(format2) {
7292
7291
  }
7293
7292
  return function(mom) {
7294
7293
  var output = "", i2;
7295
- for (i2 = 0; i2 < length2; i2++) {
7294
+ for (i2 = 0; i2 < length; i2++) {
7296
7295
  output += isFunction2(array2[i2]) ? array2[i2].call(mom, format2) : array2[i2];
7297
7296
  }
7298
7297
  return output;
@@ -8430,18 +8429,18 @@ function normalizeLocale(key) {
8430
8429
  return key ? key.toLowerCase().replace("_", "-") : key;
8431
8430
  }
8432
8431
  function chooseLocale(names) {
8433
- var i = 0, j, next2, locale2, split;
8432
+ var i = 0, j, next, locale2, split;
8434
8433
  while (i < names.length) {
8435
8434
  split = normalizeLocale(names[i]).split("-");
8436
8435
  j = split.length;
8437
- next2 = normalizeLocale(names[i + 1]);
8438
- next2 = next2 ? next2.split("-") : null;
8436
+ next = normalizeLocale(names[i + 1]);
8437
+ next = next ? next.split("-") : null;
8439
8438
  while (j > 0) {
8440
8439
  locale2 = loadLocale(split.slice(0, j).join("-"));
8441
8440
  if (locale2) {
8442
8441
  return locale2;
8443
8442
  }
8444
- if (next2 && next2.length >= j && commonPrefix(split, next2) >= j - 1) {
8443
+ if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {
8445
8444
  break;
8446
8445
  }
8447
8446
  j--;
@@ -8636,11 +8635,11 @@ var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\
8636
8635
  PST: -8 * 60
8637
8636
  };
8638
8637
  function configFromISO(config) {
8639
- var i, l, string2 = config._i, match5 = extendedIsoRegex.exec(string2) || basicIsoRegex.exec(string2), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
8640
- if (match5) {
8638
+ var i, l, string2 = config._i, match = extendedIsoRegex.exec(string2) || basicIsoRegex.exec(string2), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
8639
+ if (match) {
8641
8640
  getParsingFlags(config).iso = true;
8642
8641
  for (i = 0, l = isoDatesLen; i < l; i++) {
8643
- if (isoDates[i][1].exec(match5[1])) {
8642
+ if (isoDates[i][1].exec(match[1])) {
8644
8643
  dateFormat = isoDates[i][0];
8645
8644
  allowTime = isoDates[i][2] !== false;
8646
8645
  break;
@@ -8650,10 +8649,10 @@ function configFromISO(config) {
8650
8649
  config._isValid = false;
8651
8650
  return;
8652
8651
  }
8653
- if (match5[3]) {
8652
+ if (match[3]) {
8654
8653
  for (i = 0, l = isoTimesLen; i < l; i++) {
8655
- if (isoTimes[i][1].exec(match5[3])) {
8656
- timeFormat = (match5[2] || " ") + isoTimes[i][0];
8654
+ if (isoTimes[i][1].exec(match[3])) {
8655
+ timeFormat = (match[2] || " ") + isoTimes[i][0];
8657
8656
  break;
8658
8657
  }
8659
8658
  }
@@ -8666,8 +8665,8 @@ function configFromISO(config) {
8666
8665
  config._isValid = false;
8667
8666
  return;
8668
8667
  }
8669
- if (match5[4]) {
8670
- if (tzRegex.exec(match5[4])) {
8668
+ if (match[4]) {
8669
+ if (tzRegex.exec(match[4])) {
8671
8670
  tzFormat = "Z";
8672
8671
  } else {
8673
8672
  config._isValid = false;
@@ -8731,21 +8730,21 @@ function calculateOffset(obsOffset, militaryOffset, numOffset) {
8731
8730
  }
8732
8731
  }
8733
8732
  function configFromRFC2822(config) {
8734
- var match5 = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
8735
- if (match5) {
8733
+ var match = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
8734
+ if (match) {
8736
8735
  parsedArray = extractFromRFC2822Strings(
8737
- match5[4],
8738
- match5[3],
8739
- match5[2],
8740
- match5[5],
8741
- match5[6],
8742
- match5[7]
8736
+ match[4],
8737
+ match[3],
8738
+ match[2],
8739
+ match[5],
8740
+ match[6],
8741
+ match[7]
8743
8742
  );
8744
- if (!checkWeekday(match5[1], parsedArray, config)) {
8743
+ if (!checkWeekday(match[1], parsedArray, config)) {
8745
8744
  return;
8746
8745
  }
8747
8746
  config._a = parsedArray;
8748
- config._tzm = calculateOffset(match5[8], match5[9], match5[10]);
8747
+ config._tzm = calculateOffset(match[8], match[9], match[10]);
8749
8748
  config._d = createUTCDate.apply(null, config._a);
8750
8749
  config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
8751
8750
  getParsingFlags(config).rfc2822 = true;
@@ -9380,7 +9379,7 @@ function isUtc() {
9380
9379
  }
9381
9380
  var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
9382
9381
  function createDuration(input, key) {
9383
- var duration = input, match5 = null, sign2, ret, diffRes;
9382
+ var duration = input, match = null, sign2, ret, diffRes;
9384
9383
  if (isDuration(input)) {
9385
9384
  duration = {
9386
9385
  ms: input._milliseconds,
@@ -9394,27 +9393,27 @@ function createDuration(input, key) {
9394
9393
  } else {
9395
9394
  duration.milliseconds = +input;
9396
9395
  }
9397
- } else if (match5 = aspNetRegex.exec(input)) {
9398
- sign2 = match5[1] === "-" ? -1 : 1;
9396
+ } else if (match = aspNetRegex.exec(input)) {
9397
+ sign2 = match[1] === "-" ? -1 : 1;
9399
9398
  duration = {
9400
9399
  y: 0,
9401
- d: toInt(match5[DATE]) * sign2,
9402
- h: toInt(match5[HOUR]) * sign2,
9403
- m: toInt(match5[MINUTE]) * sign2,
9404
- s: toInt(match5[SECOND]) * sign2,
9405
- ms: toInt(absRound(match5[MILLISECOND] * 1e3)) * sign2
9400
+ d: toInt(match[DATE]) * sign2,
9401
+ h: toInt(match[HOUR]) * sign2,
9402
+ m: toInt(match[MINUTE]) * sign2,
9403
+ s: toInt(match[SECOND]) * sign2,
9404
+ ms: toInt(absRound(match[MILLISECOND] * 1e3)) * sign2
9406
9405
  // the millisecond decimal point is included in the match
9407
9406
  };
9408
- } else if (match5 = isoRegex.exec(input)) {
9409
- sign2 = match5[1] === "-" ? -1 : 1;
9407
+ } else if (match = isoRegex.exec(input)) {
9408
+ sign2 = match[1] === "-" ? -1 : 1;
9410
9409
  duration = {
9411
- y: parseIso(match5[2], sign2),
9412
- M: parseIso(match5[3], sign2),
9413
- w: parseIso(match5[4], sign2),
9414
- d: parseIso(match5[5], sign2),
9415
- h: parseIso(match5[6], sign2),
9416
- m: parseIso(match5[7], sign2),
9417
- s: parseIso(match5[8], sign2)
9410
+ y: parseIso(match[2], sign2),
9411
+ M: parseIso(match[3], sign2),
9412
+ w: parseIso(match[4], sign2),
9413
+ d: parseIso(match[5], sign2),
9414
+ h: parseIso(match[6], sign2),
9415
+ m: parseIso(match[7], sign2),
9416
+ s: parseIso(match[8], sign2)
9418
9417
  };
9419
9418
  } else if (duration == null) {
9420
9419
  duration = {};
@@ -9734,16 +9733,16 @@ function inspect() {
9734
9733
  if (!this.isValid()) {
9735
9734
  return "moment.invalid(/* " + this._i + " */)";
9736
9735
  }
9737
- var func = "moment", zone = "", prefix2, year, datetime, suffix;
9736
+ var func = "moment", zone = "", prefix, year, datetime, suffix;
9738
9737
  if (!this.isLocal()) {
9739
9738
  func = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone";
9740
9739
  zone = "Z";
9741
9740
  }
9742
- prefix2 = "[" + func + '("]';
9741
+ prefix = "[" + func + '("]';
9743
9742
  year = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY";
9744
9743
  datetime = "-MM-DD[T]HH:mm:ss.SSS";
9745
9744
  suffix = zone + '[")]';
9746
- return this.format(prefix2 + year + datetime + suffix);
9745
+ return this.format(prefix + year + datetime + suffix);
9747
9746
  }
9748
9747
  function format(inputString) {
9749
9748
  if (!inputString) {
@@ -9752,7 +9751,7 @@ function format(inputString) {
9752
9751
  var output = formatMoment(this, inputString);
9753
9752
  return this.localeData().postformat(output);
9754
9753
  }
9755
- function from$1(time, withoutSuffix) {
9754
+ function from(time, withoutSuffix) {
9756
9755
  if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
9757
9756
  return createDuration({ to: this, from: time }).locale(this.locale()).humanize(!withoutSuffix);
9758
9757
  } else {
@@ -10019,12 +10018,12 @@ addRegexToken("yyyy", matchUnsigned);
10019
10018
  addRegexToken("yo", matchEraYearOrdinal);
10020
10019
  addParseToken(["y", "yy", "yyy", "yyyy"], YEAR);
10021
10020
  addParseToken(["yo"], function(input, array2, config, token2) {
10022
- var match5;
10021
+ var match;
10023
10022
  if (config._locale._eraYearOrdinalRegex) {
10024
- match5 = input.match(config._locale._eraYearOrdinalRegex);
10023
+ match = input.match(config._locale._eraYearOrdinalRegex);
10025
10024
  }
10026
10025
  if (config._locale.eraYearOrdinalParse) {
10027
- array2[YEAR] = config._locale.eraYearOrdinalParse(input, match5);
10026
+ array2[YEAR] = config._locale.eraYearOrdinalParse(input, match);
10028
10027
  } else {
10029
10028
  array2[YEAR] = parseInt(input, 10);
10030
10029
  }
@@ -10343,15 +10342,15 @@ addFormatToken(0, ["SSSSSSSSS", 9], 0, function() {
10343
10342
  addRegexToken("S", match1to3, match1);
10344
10343
  addRegexToken("SS", match1to3, match2);
10345
10344
  addRegexToken("SSS", match1to3, match3);
10346
- var token$1, getSetMillisecond;
10347
- for (token$1 = "SSSS"; token$1.length <= 9; token$1 += "S") {
10348
- addRegexToken(token$1, matchUnsigned);
10345
+ var token, getSetMillisecond;
10346
+ for (token = "SSSS"; token.length <= 9; token += "S") {
10347
+ addRegexToken(token, matchUnsigned);
10349
10348
  }
10350
10349
  function parseMs(input, array2) {
10351
10350
  array2[MILLISECOND] = toInt(("0." + input) * 1e3);
10352
10351
  }
10353
- for (token$1 = "S"; token$1.length <= 9; token$1 += "S") {
10354
- addParseToken(token$1, parseMs);
10352
+ for (token = "S"; token.length <= 9; token += "S") {
10353
+ addParseToken(token, parseMs);
10355
10354
  }
10356
10355
  getSetMillisecond = makeGetSet("Milliseconds", false);
10357
10356
  addFormatToken("z", 0, 0, "zoneAbbr");
@@ -10369,7 +10368,7 @@ proto.clone = clone$1;
10369
10368
  proto.diff = diff;
10370
10369
  proto.endOf = endOf;
10371
10370
  proto.format = format;
10372
- proto.from = from$1;
10371
+ proto.from = from;
10373
10372
  proto.fromNow = fromNow;
10374
10373
  proto.to = to;
10375
10374
  proto.toNow = toNow;
@@ -10600,7 +10599,7 @@ hooks.langData = deprecate(
10600
10599
  getLocale
10601
10600
  );
10602
10601
  var mathAbs = Math.abs;
10603
- function abs$1() {
10602
+ function abs() {
10604
10603
  var data = this._data;
10605
10604
  this._milliseconds = mathAbs(this._milliseconds);
10606
10605
  this._days = mathAbs(this._days);
@@ -10802,7 +10801,7 @@ function humanize(argWithSuffix, argThresholds) {
10802
10801
  }
10803
10802
  return locale2.postformat(output);
10804
10803
  }
10805
- var abs$1$1 = Math.abs;
10804
+ var abs$1 = Math.abs;
10806
10805
  function sign(x) {
10807
10806
  return (x > 0) - (x < 0) || +x;
10808
10807
  }
@@ -10810,7 +10809,7 @@ function toISOString$1() {
10810
10809
  if (!this.isValid()) {
10811
10810
  return this.localeData().invalidDate();
10812
10811
  }
10813
- var seconds2 = abs$1$1(this._milliseconds) / 1e3, days2 = abs$1$1(this._days), months2 = abs$1$1(this._months), minutes2, hours2, years2, s, total = this.asSeconds(), totalSign, ymSign, daysSign, hmsSign;
10812
+ var seconds2 = abs$1(this._milliseconds) / 1e3, days2 = abs$1(this._days), months2 = abs$1(this._months), minutes2, hours2, years2, s, total = this.asSeconds(), totalSign, ymSign, daysSign, hmsSign;
10814
10813
  if (!total) {
10815
10814
  return "P0D";
10816
10815
  }
@@ -10829,7 +10828,7 @@ function toISOString$1() {
10829
10828
  }
10830
10829
  var proto$2 = Duration.prototype;
10831
10830
  proto$2.isValid = isValid$1;
10832
- proto$2.abs = abs$1;
10831
+ proto$2.abs = abs;
10833
10832
  proto$2.add = add$1;
10834
10833
  proto$2.subtract = subtract$1;
10835
10834
  proto$2.as = as;
@@ -11042,7 +11041,7 @@ function requireTinyCase() {
11042
11041
  const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
11043
11042
  const join = (str, d) => words(str).join(d).toLowerCase();
11044
11043
  const camelCase = (str) => words(str).reduce(
11045
- (acc, next2) => `${acc}${!acc ? next2.toLowerCase() : next2[0].toUpperCase() + next2.slice(1).toLowerCase()}`,
11044
+ (acc, next) => `${acc}${!acc ? next.toLowerCase() : next[0].toUpperCase() + next.slice(1).toLowerCase()}`,
11046
11045
  ""
11047
11046
  );
11048
11047
  const pascalCase = (str) => upperFirst(camelCase(str));
@@ -11083,32 +11082,32 @@ function requireToposort() {
11083
11082
  if (!visited[i]) visit(nodes[i], i, /* @__PURE__ */ new Set());
11084
11083
  }
11085
11084
  return sorted;
11086
- function visit(node2, i2, predecessors) {
11087
- if (predecessors.has(node2)) {
11085
+ function visit(node, i2, predecessors) {
11086
+ if (predecessors.has(node)) {
11088
11087
  var nodeRep;
11089
11088
  try {
11090
- nodeRep = ", node was:" + JSON.stringify(node2);
11089
+ nodeRep = ", node was:" + JSON.stringify(node);
11091
11090
  } catch (e) {
11092
11091
  nodeRep = "";
11093
11092
  }
11094
11093
  throw new Error("Cyclic dependency" + nodeRep);
11095
11094
  }
11096
- if (!nodesHash.has(node2)) {
11097
- throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(node2));
11095
+ if (!nodesHash.has(node)) {
11096
+ throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(node));
11098
11097
  }
11099
11098
  if (visited[i2]) return;
11100
11099
  visited[i2] = true;
11101
- var outgoing = outgoingEdges.get(node2) || /* @__PURE__ */ new Set();
11100
+ var outgoing = outgoingEdges.get(node) || /* @__PURE__ */ new Set();
11102
11101
  outgoing = Array.from(outgoing);
11103
11102
  if (i2 = outgoing.length) {
11104
- predecessors.add(node2);
11103
+ predecessors.add(node);
11105
11104
  do {
11106
11105
  var child = outgoing[--i2];
11107
11106
  visit(child, nodesHash.get(child), predecessors);
11108
11107
  } while (i2);
11109
- predecessors.delete(node2);
11108
+ predecessors.delete(node);
11110
11109
  }
11111
- sorted[--cursor] = node2;
11110
+ sorted[--cursor] = node;
11112
11111
  }
11113
11112
  }
11114
11113
  function uniqueNodes(arr) {
@@ -11389,8 +11388,8 @@ class Reference {
11389
11388
  this.isContext = this.key[0] === prefixes.context;
11390
11389
  this.isValue = this.key[0] === prefixes.value;
11391
11390
  this.isSibling = !this.isContext && !this.isValue;
11392
- let prefix2 = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
11393
- this.path = this.key.slice(prefix2.length);
11391
+ let prefix = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
11392
+ this.path = this.key.slice(prefix.length);
11394
11393
  this.getter = this.path && propertyExprExports.getter(this.path, true);
11395
11394
  this.map = options.map;
11396
11395
  }
@@ -11435,7 +11434,7 @@ function createValidation(config) {
11435
11434
  options,
11436
11435
  originalValue,
11437
11436
  schema
11438
- }, panic, next2) {
11437
+ }, panic, next) {
11439
11438
  const {
11440
11439
  name,
11441
11440
  test,
@@ -11466,7 +11465,7 @@ function createValidation(config) {
11466
11465
  error.params = nextParams;
11467
11466
  return error;
11468
11467
  }
11469
- const invalid = abortEarly ? panic : next2;
11468
+ const invalid = abortEarly ? panic : next;
11470
11469
  let ctx = {
11471
11470
  path,
11472
11471
  parent,
@@ -11481,7 +11480,7 @@ function createValidation(config) {
11481
11480
  const handleResult2 = (validOrError) => {
11482
11481
  if (ValidationError.isError(validOrError)) invalid(validOrError);
11483
11482
  else if (!validOrError) invalid(createError());
11484
- else next2(null);
11483
+ else next(null);
11485
11484
  };
11486
11485
  const handleError = (err) => {
11487
11486
  if (ValidationError.isError(err)) invalid(err);
@@ -11569,42 +11568,42 @@ class ReferenceSet extends Set {
11569
11568
  return new ReferenceSet(this.values());
11570
11569
  }
11571
11570
  merge(newItems, removeItems) {
11572
- const next2 = this.clone();
11573
- newItems.forEach((value) => next2.add(value));
11574
- removeItems.forEach((value) => next2.delete(value));
11575
- return next2;
11571
+ const next = this.clone();
11572
+ newItems.forEach((value) => next.add(value));
11573
+ removeItems.forEach((value) => next.delete(value));
11574
+ return next;
11576
11575
  }
11577
11576
  }
11578
11577
  function clone(src, seen = /* @__PURE__ */ new Map()) {
11579
11578
  if (isSchema(src) || !src || typeof src !== "object") return src;
11580
11579
  if (seen.has(src)) return seen.get(src);
11581
- let copy2;
11580
+ let copy;
11582
11581
  if (src instanceof Date) {
11583
- copy2 = new Date(src.getTime());
11584
- seen.set(src, copy2);
11582
+ copy = new Date(src.getTime());
11583
+ seen.set(src, copy);
11585
11584
  } else if (src instanceof RegExp) {
11586
- copy2 = new RegExp(src);
11587
- seen.set(src, copy2);
11585
+ copy = new RegExp(src);
11586
+ seen.set(src, copy);
11588
11587
  } else if (Array.isArray(src)) {
11589
- copy2 = new Array(src.length);
11590
- seen.set(src, copy2);
11591
- for (let i = 0; i < src.length; i++) copy2[i] = clone(src[i], seen);
11588
+ copy = new Array(src.length);
11589
+ seen.set(src, copy);
11590
+ for (let i = 0; i < src.length; i++) copy[i] = clone(src[i], seen);
11592
11591
  } else if (src instanceof Map) {
11593
- copy2 = /* @__PURE__ */ new Map();
11594
- seen.set(src, copy2);
11595
- for (const [k, v] of src.entries()) copy2.set(k, clone(v, seen));
11592
+ copy = /* @__PURE__ */ new Map();
11593
+ seen.set(src, copy);
11594
+ for (const [k, v] of src.entries()) copy.set(k, clone(v, seen));
11596
11595
  } else if (src instanceof Set) {
11597
- copy2 = /* @__PURE__ */ new Set();
11598
- seen.set(src, copy2);
11599
- for (const v of src) copy2.add(clone(v, seen));
11596
+ copy = /* @__PURE__ */ new Set();
11597
+ seen.set(src, copy);
11598
+ for (const v of src) copy.add(clone(v, seen));
11600
11599
  } else if (src instanceof Object) {
11601
- copy2 = {};
11602
- seen.set(src, copy2);
11603
- for (const [k, v] of Object.entries(src)) copy2[k] = clone(v, seen);
11600
+ copy = {};
11601
+ seen.set(src, copy);
11602
+ for (const [k, v] of Object.entries(src)) copy[k] = clone(v, seen);
11604
11603
  } else {
11605
11604
  throw Error(`Unable to clone ${src}`);
11606
11605
  }
11607
- return copy2;
11606
+ return copy;
11608
11607
  }
11609
11608
  class Schema {
11610
11609
  constructor(options) {
@@ -11650,30 +11649,30 @@ class Schema {
11650
11649
  if (spec) Object.assign(this.spec, spec);
11651
11650
  return this;
11652
11651
  }
11653
- const next2 = Object.create(Object.getPrototypeOf(this));
11654
- next2.type = this.type;
11655
- next2._typeCheck = this._typeCheck;
11656
- next2._whitelist = this._whitelist.clone();
11657
- next2._blacklist = this._blacklist.clone();
11658
- next2.internalTests = Object.assign({}, this.internalTests);
11659
- next2.exclusiveTests = Object.assign({}, this.exclusiveTests);
11660
- next2.deps = [...this.deps];
11661
- next2.conditions = [...this.conditions];
11662
- next2.tests = [...this.tests];
11663
- next2.transforms = [...this.transforms];
11664
- next2.spec = clone(Object.assign({}, this.spec, spec));
11665
- return next2;
11652
+ const next = Object.create(Object.getPrototypeOf(this));
11653
+ next.type = this.type;
11654
+ next._typeCheck = this._typeCheck;
11655
+ next._whitelist = this._whitelist.clone();
11656
+ next._blacklist = this._blacklist.clone();
11657
+ next.internalTests = Object.assign({}, this.internalTests);
11658
+ next.exclusiveTests = Object.assign({}, this.exclusiveTests);
11659
+ next.deps = [...this.deps];
11660
+ next.conditions = [...this.conditions];
11661
+ next.tests = [...this.tests];
11662
+ next.transforms = [...this.transforms];
11663
+ next.spec = clone(Object.assign({}, this.spec, spec));
11664
+ return next;
11666
11665
  }
11667
11666
  label(label) {
11668
- let next2 = this.clone();
11669
- next2.spec.label = label;
11670
- return next2;
11667
+ let next = this.clone();
11668
+ next.spec.label = label;
11669
+ return next;
11671
11670
  }
11672
11671
  meta(...args) {
11673
11672
  if (args.length === 0) return this.spec.meta;
11674
- let next2 = this.clone();
11675
- next2.spec.meta = Object.assign(next2.spec.meta || {}, args[0]);
11676
- return next2;
11673
+ let next = this.clone();
11674
+ next.spec.meta = Object.assign(next.spec.meta || {}, args[0]);
11675
+ return next;
11677
11676
  }
11678
11677
  withMutation(fn) {
11679
11678
  let before = this._mutate;
@@ -11694,9 +11693,9 @@ class Schema {
11694
11693
  combined._blacklist = base._blacklist.merge(schema._blacklist, schema._whitelist);
11695
11694
  combined.tests = base.tests;
11696
11695
  combined.exclusiveTests = base.exclusiveTests;
11697
- combined.withMutation((next2) => {
11696
+ combined.withMutation((next) => {
11698
11697
  schema.tests.forEach((fn) => {
11699
- next2.test(fn.OPTIONS);
11698
+ next.test(fn.OPTIONS);
11700
11699
  });
11701
11700
  });
11702
11701
  combined.transforms = [...base.transforms, ...combined.transforms];
@@ -11760,7 +11759,7 @@ attempted value: ${formattedValue}
11760
11759
  }
11761
11760
  return value;
11762
11761
  }
11763
- _validate(_value, options = {}, panic, next2) {
11762
+ _validate(_value, options = {}, panic, next) {
11764
11763
  let {
11765
11764
  path,
11766
11765
  originalValue = _value,
@@ -11784,7 +11783,7 @@ attempted value: ${formattedValue}
11784
11783
  tests: initialTests
11785
11784
  }, panic, (initialErrors) => {
11786
11785
  if (initialErrors.length) {
11787
- return next2(initialErrors, value);
11786
+ return next(initialErrors, value);
11788
11787
  }
11789
11788
  this.runTests({
11790
11789
  path,
@@ -11792,14 +11791,14 @@ attempted value: ${formattedValue}
11792
11791
  originalValue,
11793
11792
  options,
11794
11793
  tests: this.tests
11795
- }, panic, next2);
11794
+ }, panic, next);
11796
11795
  });
11797
11796
  }
11798
11797
  /**
11799
11798
  * Executes a set of validations, either schema, produced Tests or a nested
11800
11799
  * schema validate result.
11801
11800
  */
11802
- runTests(runOptions, panic, next2) {
11801
+ runTests(runOptions, panic, next) {
11803
11802
  let fired = false;
11804
11803
  let {
11805
11804
  tests,
@@ -11816,7 +11815,7 @@ attempted value: ${formattedValue}
11816
11815
  let nextOnce = (arg) => {
11817
11816
  if (fired) return;
11818
11817
  fired = true;
11819
- next2(arg, value);
11818
+ next(arg, value);
11820
11819
  };
11821
11820
  let count = tests.length;
11822
11821
  let nestedErrors = [];
@@ -11869,7 +11868,7 @@ attempted value: ${formattedValue}
11869
11868
  [isIndex2 ? "index" : "key"]: k,
11870
11869
  path: isIndex2 || k.includes(".") ? `${parentPath || ""}[${isIndex2 ? k : `"${k}"`}]` : (parentPath ? `${parentPath}.` : "") + key
11871
11870
  });
11872
- return (_, panic, next2) => this.resolve(testOptions)._validate(value, testOptions, panic, next2);
11871
+ return (_, panic, next) => this.resolve(testOptions)._validate(value, testOptions, panic, next);
11873
11872
  }
11874
11873
  validate(value, options) {
11875
11874
  var _options$disableStack2;
@@ -11933,10 +11932,10 @@ attempted value: ${formattedValue}
11933
11932
  if (arguments.length === 0) {
11934
11933
  return this._getDefault();
11935
11934
  }
11936
- let next2 = this.clone({
11935
+ let next = this.clone({
11937
11936
  default: def
11938
11937
  });
11939
- return next2;
11938
+ return next;
11940
11939
  }
11941
11940
  strict(isStrict = true) {
11942
11941
  return this.clone({
@@ -11944,30 +11943,30 @@ attempted value: ${formattedValue}
11944
11943
  });
11945
11944
  }
11946
11945
  nullability(nullable, message) {
11947
- const next2 = this.clone({
11946
+ const next = this.clone({
11948
11947
  nullable
11949
11948
  });
11950
- next2.internalTests.nullable = createValidation({
11949
+ next.internalTests.nullable = createValidation({
11951
11950
  message,
11952
11951
  name: "nullable",
11953
11952
  test(value) {
11954
11953
  return value === null ? this.schema.spec.nullable : true;
11955
11954
  }
11956
11955
  });
11957
- return next2;
11956
+ return next;
11958
11957
  }
11959
11958
  optionality(optional, message) {
11960
- const next2 = this.clone({
11959
+ const next = this.clone({
11961
11960
  optional
11962
11961
  });
11963
- next2.internalTests.optionality = createValidation({
11962
+ next.internalTests.optionality = createValidation({
11964
11963
  message,
11965
11964
  name: "optionality",
11966
11965
  test(value) {
11967
11966
  return value === void 0 ? this.schema.spec.optional : true;
11968
11967
  }
11969
11968
  });
11970
- return next2;
11969
+ return next;
11971
11970
  }
11972
11971
  optional() {
11973
11972
  return this.optionality(true);
@@ -11982,15 +11981,15 @@ attempted value: ${formattedValue}
11982
11981
  return this.nullability(false, message);
11983
11982
  }
11984
11983
  required(message = mixed.required) {
11985
- return this.clone().withMutation((next2) => next2.nonNullable(message).defined(message));
11984
+ return this.clone().withMutation((next) => next.nonNullable(message).defined(message));
11986
11985
  }
11987
11986
  notRequired() {
11988
- return this.clone().withMutation((next2) => next2.nullable().optional());
11987
+ return this.clone().withMutation((next) => next.nullable().optional());
11989
11988
  }
11990
11989
  transform(fn) {
11991
- let next2 = this.clone();
11992
- next2.transforms.push(fn);
11993
- return next2;
11990
+ let next = this.clone();
11991
+ next.transforms.push(fn);
11992
+ return next;
11994
11993
  }
11995
11994
  /**
11996
11995
  * Adds a test function to the schema's queue of tests.
@@ -12029,39 +12028,39 @@ attempted value: ${formattedValue}
12029
12028
  }
12030
12029
  if (opts.message === void 0) opts.message = mixed.default;
12031
12030
  if (typeof opts.test !== "function") throw new TypeError("`test` is a required parameters");
12032
- let next2 = this.clone();
12031
+ let next = this.clone();
12033
12032
  let validate = createValidation(opts);
12034
- let isExclusive = opts.exclusive || opts.name && next2.exclusiveTests[opts.name] === true;
12033
+ let isExclusive = opts.exclusive || opts.name && next.exclusiveTests[opts.name] === true;
12035
12034
  if (opts.exclusive) {
12036
12035
  if (!opts.name) throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");
12037
12036
  }
12038
- if (opts.name) next2.exclusiveTests[opts.name] = !!opts.exclusive;
12039
- next2.tests = next2.tests.filter((fn) => {
12037
+ if (opts.name) next.exclusiveTests[opts.name] = !!opts.exclusive;
12038
+ next.tests = next.tests.filter((fn) => {
12040
12039
  if (fn.OPTIONS.name === opts.name) {
12041
12040
  if (isExclusive) return false;
12042
12041
  if (fn.OPTIONS.test === validate.OPTIONS.test) return false;
12043
12042
  }
12044
12043
  return true;
12045
12044
  });
12046
- next2.tests.push(validate);
12047
- return next2;
12045
+ next.tests.push(validate);
12046
+ return next;
12048
12047
  }
12049
12048
  when(keys2, options) {
12050
12049
  if (!Array.isArray(keys2) && typeof keys2 !== "string") {
12051
12050
  options = keys2;
12052
12051
  keys2 = ".";
12053
12052
  }
12054
- let next2 = this.clone();
12053
+ let next = this.clone();
12055
12054
  let deps = toArray(keys2).map((key) => new Reference(key));
12056
12055
  deps.forEach((dep) => {
12057
- if (dep.isSibling) next2.deps.push(dep.key);
12056
+ if (dep.isSibling) next.deps.push(dep.key);
12058
12057
  });
12059
- next2.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
12060
- return next2;
12058
+ next.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
12059
+ return next;
12061
12060
  }
12062
12061
  typeError(message) {
12063
- let next2 = this.clone();
12064
- next2.internalTests.typeError = createValidation({
12062
+ let next = this.clone();
12063
+ next.internalTests.typeError = createValidation({
12065
12064
  message,
12066
12065
  name: "typeError",
12067
12066
  skipAbsent: true,
@@ -12074,15 +12073,15 @@ attempted value: ${formattedValue}
12074
12073
  return true;
12075
12074
  }
12076
12075
  });
12077
- return next2;
12076
+ return next;
12078
12077
  }
12079
12078
  oneOf(enums, message = mixed.oneOf) {
12080
- let next2 = this.clone();
12079
+ let next = this.clone();
12081
12080
  enums.forEach((val) => {
12082
- next2._whitelist.add(val);
12083
- next2._blacklist.delete(val);
12081
+ next._whitelist.add(val);
12082
+ next._blacklist.delete(val);
12084
12083
  });
12085
- next2.internalTests.whiteList = createValidation({
12084
+ next.internalTests.whiteList = createValidation({
12086
12085
  message,
12087
12086
  name: "oneOf",
12088
12087
  skipAbsent: true,
@@ -12097,15 +12096,15 @@ attempted value: ${formattedValue}
12097
12096
  });
12098
12097
  }
12099
12098
  });
12100
- return next2;
12099
+ return next;
12101
12100
  }
12102
12101
  notOneOf(enums, message = mixed.notOneOf) {
12103
- let next2 = this.clone();
12102
+ let next = this.clone();
12104
12103
  enums.forEach((val) => {
12105
- next2._blacklist.add(val);
12106
- next2._whitelist.delete(val);
12104
+ next._blacklist.add(val);
12105
+ next._whitelist.delete(val);
12107
12106
  });
12108
- next2.internalTests.blacklist = createValidation({
12107
+ next.internalTests.blacklist = createValidation({
12109
12108
  message,
12110
12109
  name: "notOneOf",
12111
12110
  test(value) {
@@ -12120,12 +12119,12 @@ attempted value: ${formattedValue}
12120
12119
  return true;
12121
12120
  }
12122
12121
  });
12123
- return next2;
12122
+ return next;
12124
12123
  }
12125
12124
  strip(strip = true) {
12126
- let next2 = this.clone();
12127
- next2.spec.strip = strip;
12128
- return next2;
12125
+ let next = this.clone();
12126
+ next.spec.strip = strip;
12127
+ return next;
12129
12128
  }
12130
12129
  /**
12131
12130
  * Return a serialized description of the schema including validations, flags, types etc.
@@ -12133,23 +12132,23 @@ attempted value: ${formattedValue}
12133
12132
  * @param options Provide any needed context for resolving runtime schema alterations (lazy, when conditions, etc).
12134
12133
  */
12135
12134
  describe(options) {
12136
- const next2 = (options ? this.resolve(options) : this).clone();
12135
+ const next = (options ? this.resolve(options) : this).clone();
12137
12136
  const {
12138
12137
  label,
12139
12138
  meta,
12140
12139
  optional,
12141
12140
  nullable
12142
- } = next2.spec;
12141
+ } = next.spec;
12143
12142
  const description = {
12144
12143
  meta,
12145
12144
  label,
12146
12145
  optional,
12147
12146
  nullable,
12148
- default: next2.getDefault(options),
12149
- type: next2.type,
12150
- oneOf: next2._whitelist.describe(),
12151
- notOneOf: next2._blacklist.describe(),
12152
- tests: next2.tests.map((fn) => ({
12147
+ default: next.getDefault(options),
12148
+ type: next.type,
12149
+ oneOf: next._whitelist.describe(),
12150
+ notOneOf: next._blacklist.describe(),
12151
+ tests: next.tests.map((fn) => ({
12153
12152
  name: fn.OPTIONS.name,
12154
12153
  params: fn.OPTIONS.params
12155
12154
  })).filter((n, idx, list) => list.findIndex((c) => c.name === n.name) === idx)
@@ -12277,17 +12276,17 @@ class StringSchema extends Schema {
12277
12276
  return schema;
12278
12277
  });
12279
12278
  }
12280
- length(length2, message = string.length) {
12279
+ length(length, message = string.length) {
12281
12280
  return this.test({
12282
12281
  message,
12283
12282
  name: "length",
12284
12283
  exclusive: true,
12285
12284
  params: {
12286
- length: length2
12285
+ length
12287
12286
  },
12288
12287
  skipAbsent: true,
12289
12288
  test(value) {
12290
- return value.length === this.resolve(length2);
12289
+ return value.length === this.resolve(length);
12291
12290
  }
12292
12291
  });
12293
12292
  }
@@ -12619,9 +12618,9 @@ function sortFields(fields, excludedEdges = []) {
12619
12618
  let nodes = /* @__PURE__ */ new Set();
12620
12619
  let excludes = new Set(excludedEdges.map(([a, b]) => `${a}-${b}`));
12621
12620
  function addNode(depPath, key) {
12622
- let node2 = propertyExprExports.split(depPath)[0];
12623
- nodes.add(node2);
12624
- if (!excludes.has(`${key}-${node2}`)) edges.push([key, node2]);
12621
+ let node = propertyExprExports.split(depPath)[0];
12622
+ nodes.add(node);
12623
+ if (!excludes.has(`${key}-${node}`)) edges.push([key, node]);
12625
12624
  }
12626
12625
  for (const key of Object.keys(fields)) {
12627
12626
  let value = fields[key];
@@ -12763,7 +12762,7 @@ class ObjectSchema extends Schema {
12763
12762
  }
12764
12763
  return isChanged ? intermediateValue : value;
12765
12764
  }
12766
- _validate(_value, options = {}, panic, next2) {
12765
+ _validate(_value, options = {}, panic, next) {
12767
12766
  let {
12768
12767
  from: from2 = [],
12769
12768
  originalValue = _value,
@@ -12777,7 +12776,7 @@ class ObjectSchema extends Schema {
12777
12776
  options.originalValue = originalValue;
12778
12777
  super._validate(_value, options, panic, (objectErrors, value) => {
12779
12778
  if (!recursive || !isObject2(value)) {
12780
- next2(objectErrors, value);
12779
+ next(objectErrors, value);
12781
12780
  return;
12782
12781
  }
12783
12782
  originalValue = originalValue || value;
@@ -12801,26 +12800,26 @@ class ObjectSchema extends Schema {
12801
12800
  originalValue,
12802
12801
  options
12803
12802
  }, panic, (fieldErrors) => {
12804
- next2(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
12803
+ next(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
12805
12804
  });
12806
12805
  });
12807
12806
  }
12808
12807
  clone(spec) {
12809
- const next2 = super.clone(spec);
12810
- next2.fields = Object.assign({}, this.fields);
12811
- next2._nodes = this._nodes;
12812
- next2._excludedEdges = this._excludedEdges;
12813
- next2._sortErrors = this._sortErrors;
12814
- return next2;
12808
+ const next = super.clone(spec);
12809
+ next.fields = Object.assign({}, this.fields);
12810
+ next._nodes = this._nodes;
12811
+ next._excludedEdges = this._excludedEdges;
12812
+ next._sortErrors = this._sortErrors;
12813
+ return next;
12815
12814
  }
12816
12815
  concat(schema) {
12817
- let next2 = super.concat(schema);
12818
- let nextFields = next2.fields;
12816
+ let next = super.concat(schema);
12817
+ let nextFields = next.fields;
12819
12818
  for (let [field, schemaOrRef] of Object.entries(this.fields)) {
12820
12819
  const target = nextFields[field];
12821
12820
  nextFields[field] = target === void 0 ? schemaOrRef : target;
12822
12821
  }
12823
- return next2.withMutation((s) => (
12822
+ return next.withMutation((s) => (
12824
12823
  // XXX: excludes here is wrong
12825
12824
  s.setFields(nextFields, [...this._excludedEdges, ...schema._excludedEdges])
12826
12825
  ));
@@ -12848,21 +12847,21 @@ class ObjectSchema extends Schema {
12848
12847
  return dft;
12849
12848
  }
12850
12849
  setFields(shape, excludedEdges) {
12851
- let next2 = this.clone();
12852
- next2.fields = shape;
12853
- next2._nodes = sortFields(shape, excludedEdges);
12854
- next2._sortErrors = sortByKeyOrder(Object.keys(shape));
12855
- if (excludedEdges) next2._excludedEdges = excludedEdges;
12856
- return next2;
12850
+ let next = this.clone();
12851
+ next.fields = shape;
12852
+ next._nodes = sortFields(shape, excludedEdges);
12853
+ next._sortErrors = sortByKeyOrder(Object.keys(shape));
12854
+ if (excludedEdges) next._excludedEdges = excludedEdges;
12855
+ return next;
12857
12856
  }
12858
12857
  shape(additions, excludes = []) {
12859
- return this.clone().withMutation((next2) => {
12860
- let edges = next2._excludedEdges;
12858
+ return this.clone().withMutation((next) => {
12859
+ let edges = next._excludedEdges;
12861
12860
  if (excludes.length) {
12862
12861
  if (!Array.isArray(excludes[0])) excludes = [excludes];
12863
- edges = [...next2._excludedEdges, ...excludes];
12862
+ edges = [...next._excludedEdges, ...excludes];
12864
12863
  }
12865
- return next2.setFields(Object.assign(next2.fields, additions), edges);
12864
+ return next.setFields(Object.assign(next.fields, additions), edges);
12866
12865
  });
12867
12866
  }
12868
12867
  partial() {
@@ -12873,8 +12872,8 @@ class ObjectSchema extends Schema {
12873
12872
  return this.setFields(partial);
12874
12873
  }
12875
12874
  deepPartial() {
12876
- const next2 = deepPartial(this);
12877
- return next2;
12875
+ const next = deepPartial(this);
12876
+ return next;
12878
12877
  }
12879
12878
  pick(keys2) {
12880
12879
  const picked = {};
@@ -12937,7 +12936,7 @@ class ObjectSchema extends Schema {
12937
12936
  message = noAllow;
12938
12937
  noAllow = true;
12939
12938
  }
12940
- let next2 = this.test({
12939
+ let next = this.test({
12941
12940
  name: "noUnknown",
12942
12941
  exclusive: true,
12943
12942
  message,
@@ -12951,8 +12950,8 @@ class ObjectSchema extends Schema {
12951
12950
  });
12952
12951
  }
12953
12952
  });
12954
- next2.spec.noUnknown = noAllow;
12955
- return next2;
12953
+ next.spec.noUnknown = noAllow;
12954
+ return next;
12956
12955
  }
12957
12956
  unknown(allow = true, message = object.noUnknown) {
12958
12957
  return this.noUnknown(!allow, message);
@@ -12975,10 +12974,10 @@ class ObjectSchema extends Schema {
12975
12974
  return this.transformKeys((key) => tinyCaseExports.snakeCase(key).toUpperCase());
12976
12975
  }
12977
12976
  describe(options) {
12978
- const next2 = (options ? this.resolve(options) : this).clone();
12977
+ const next = (options ? this.resolve(options) : this).clone();
12979
12978
  const base = super.describe(options);
12980
12979
  base.fields = {};
12981
- for (const [key, value] of Object.entries(next2.fields)) {
12980
+ for (const [key, value] of Object.entries(next.fields)) {
12982
12981
  var _innerOptions2;
12983
12982
  let innerOptions = options;
12984
12983
  if ((_innerOptions2 = innerOptions) != null && _innerOptions2.value) {
@@ -14531,8 +14530,8 @@ const Notification = ({ setInitialState, notificationAccessApps, initialState, t
14531
14530
  return;
14532
14531
  }
14533
14532
  const newNotifications = pager?.data?.map((itm) => transformNotifications(itm));
14534
- setNotifications((prev2) => [...prev2, ...newNotifications]);
14535
- setPage((prev2) => prev2 + 1);
14533
+ setNotifications((prev) => [...prev, ...newNotifications]);
14534
+ setPage((prev) => prev + 1);
14536
14535
  }
14537
14536
  };
14538
14537
  return /* @__PURE__ */ jsxRuntime.jsx(material.ClickAwayListener, { onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -14899,7 +14898,7 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14899
14898
  ] }) })
14900
14899
  ] });
14901
14900
  };
14902
- const Header$1 = ({
14901
+ const Header = ({
14903
14902
  router,
14904
14903
  frontCustomComponent,
14905
14904
  endCustomComponents,
@@ -15505,804 +15504,6 @@ const PreviousLoginBanner = ({ t: t2, router, sx }) => {
15505
15504
  }
15506
15505
  );
15507
15506
  };
15508
- function sheetForTag(tag) {
15509
- if (tag.sheet) {
15510
- return tag.sheet;
15511
- }
15512
- for (var i = 0; i < document.styleSheets.length; i++) {
15513
- if (document.styleSheets[i].ownerNode === tag) {
15514
- return document.styleSheets[i];
15515
- }
15516
- }
15517
- return void 0;
15518
- }
15519
- function createStyleElement(options) {
15520
- var tag = document.createElement("style");
15521
- tag.setAttribute("data-emotion", options.key);
15522
- if (options.nonce !== void 0) {
15523
- tag.setAttribute("nonce", options.nonce);
15524
- }
15525
- tag.appendChild(document.createTextNode(""));
15526
- tag.setAttribute("data-s", "");
15527
- return tag;
15528
- }
15529
- var StyleSheet = /* @__PURE__ */ function() {
15530
- function StyleSheet2(options) {
15531
- var _this = this;
15532
- this._insertTag = function(tag) {
15533
- var before;
15534
- if (_this.tags.length === 0) {
15535
- if (_this.insertionPoint) {
15536
- before = _this.insertionPoint.nextSibling;
15537
- } else if (_this.prepend) {
15538
- before = _this.container.firstChild;
15539
- } else {
15540
- before = _this.before;
15541
- }
15542
- } else {
15543
- before = _this.tags[_this.tags.length - 1].nextSibling;
15544
- }
15545
- _this.container.insertBefore(tag, before);
15546
- _this.tags.push(tag);
15547
- };
15548
- this.isSpeedy = options.speedy === void 0 ? true : options.speedy;
15549
- this.tags = [];
15550
- this.ctr = 0;
15551
- this.nonce = options.nonce;
15552
- this.key = options.key;
15553
- this.container = options.container;
15554
- this.prepend = options.prepend;
15555
- this.insertionPoint = options.insertionPoint;
15556
- this.before = null;
15557
- }
15558
- var _proto = StyleSheet2.prototype;
15559
- _proto.hydrate = function hydrate(nodes) {
15560
- nodes.forEach(this._insertTag);
15561
- };
15562
- _proto.insert = function insert(rule) {
15563
- if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
15564
- this._insertTag(createStyleElement(this));
15565
- }
15566
- var tag = this.tags[this.tags.length - 1];
15567
- if (this.isSpeedy) {
15568
- var sheet = sheetForTag(tag);
15569
- try {
15570
- sheet.insertRule(rule, sheet.cssRules.length);
15571
- } catch (e) {
15572
- }
15573
- } else {
15574
- tag.appendChild(document.createTextNode(rule));
15575
- }
15576
- this.ctr++;
15577
- };
15578
- _proto.flush = function flush() {
15579
- this.tags.forEach(function(tag) {
15580
- var _tag$parentNode;
15581
- return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
15582
- });
15583
- this.tags = [];
15584
- this.ctr = 0;
15585
- };
15586
- return StyleSheet2;
15587
- }();
15588
- var MS = "-ms-";
15589
- var MOZ = "-moz-";
15590
- var WEBKIT = "-webkit-";
15591
- var COMMENT = "comm";
15592
- var RULESET = "rule";
15593
- var DECLARATION = "decl";
15594
- var IMPORT = "@import";
15595
- var KEYFRAMES = "@keyframes";
15596
- var LAYER = "@layer";
15597
- var abs = Math.abs;
15598
- var from = String.fromCharCode;
15599
- var assign = Object.assign;
15600
- function hash(value, length2) {
15601
- return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
15602
- }
15603
- function trim(value) {
15604
- return value.trim();
15605
- }
15606
- function match(value, pattern) {
15607
- return (value = pattern.exec(value)) ? value[0] : value;
15608
- }
15609
- function replace(value, pattern, replacement) {
15610
- return value.replace(pattern, replacement);
15611
- }
15612
- function indexof(value, search) {
15613
- return value.indexOf(search);
15614
- }
15615
- function charat(value, index) {
15616
- return value.charCodeAt(index) | 0;
15617
- }
15618
- function substr(value, begin, end) {
15619
- return value.slice(begin, end);
15620
- }
15621
- function strlen(value) {
15622
- return value.length;
15623
- }
15624
- function sizeof(value) {
15625
- return value.length;
15626
- }
15627
- function append(value, array2) {
15628
- return array2.push(value), value;
15629
- }
15630
- function combine(array2, callback) {
15631
- return array2.map(callback).join("");
15632
- }
15633
- var line = 1;
15634
- var column = 1;
15635
- var length = 0;
15636
- var position = 0;
15637
- var character = 0;
15638
- var characters = "";
15639
- function node(value, root2, parent, type, props, children, length2) {
15640
- return { value, root: root2, parent, type, props, children, line, column, length: length2, return: "" };
15641
- }
15642
- function copy(root2, props) {
15643
- return assign(node("", null, null, "", null, null, 0), root2, { length: -root2.length }, props);
15644
- }
15645
- function char() {
15646
- return character;
15647
- }
15648
- function prev() {
15649
- character = position > 0 ? charat(characters, --position) : 0;
15650
- if (column--, character === 10)
15651
- column = 1, line--;
15652
- return character;
15653
- }
15654
- function next() {
15655
- character = position < length ? charat(characters, position++) : 0;
15656
- if (column++, character === 10)
15657
- column = 1, line++;
15658
- return character;
15659
- }
15660
- function peek() {
15661
- return charat(characters, position);
15662
- }
15663
- function caret() {
15664
- return position;
15665
- }
15666
- function slice(begin, end) {
15667
- return substr(characters, begin, end);
15668
- }
15669
- function token(type) {
15670
- switch (type) {
15671
- // \0 \t \n \r \s whitespace token
15672
- case 0:
15673
- case 9:
15674
- case 10:
15675
- case 13:
15676
- case 32:
15677
- return 5;
15678
- // ! + , / > @ ~ isolate token
15679
- case 33:
15680
- case 43:
15681
- case 44:
15682
- case 47:
15683
- case 62:
15684
- case 64:
15685
- case 126:
15686
- // ; { } breakpoint token
15687
- case 59:
15688
- case 123:
15689
- case 125:
15690
- return 4;
15691
- // : accompanied token
15692
- case 58:
15693
- return 3;
15694
- // " ' ( [ opening delimit token
15695
- case 34:
15696
- case 39:
15697
- case 40:
15698
- case 91:
15699
- return 2;
15700
- // ) ] closing delimit token
15701
- case 41:
15702
- case 93:
15703
- return 1;
15704
- }
15705
- return 0;
15706
- }
15707
- function alloc(value) {
15708
- return line = column = 1, length = strlen(characters = value), position = 0, [];
15709
- }
15710
- function dealloc(value) {
15711
- return characters = "", value;
15712
- }
15713
- function delimit(type) {
15714
- return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
15715
- }
15716
- function whitespace(type) {
15717
- while (character = peek())
15718
- if (character < 33)
15719
- next();
15720
- else
15721
- break;
15722
- return token(type) > 2 || token(character) > 3 ? "" : " ";
15723
- }
15724
- function escaping(index, count) {
15725
- while (--count && next())
15726
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
15727
- break;
15728
- return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
15729
- }
15730
- function delimiter(type) {
15731
- while (next())
15732
- switch (character) {
15733
- // ] ) " '
15734
- case type:
15735
- return position;
15736
- // " '
15737
- case 34:
15738
- case 39:
15739
- if (type !== 34 && type !== 39)
15740
- delimiter(character);
15741
- break;
15742
- // (
15743
- case 40:
15744
- if (type === 41)
15745
- delimiter(type);
15746
- break;
15747
- // \
15748
- case 92:
15749
- next();
15750
- break;
15751
- }
15752
- return position;
15753
- }
15754
- function commenter(type, index) {
15755
- while (next())
15756
- if (type + character === 47 + 10)
15757
- break;
15758
- else if (type + character === 42 + 42 && peek() === 47)
15759
- break;
15760
- return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
15761
- }
15762
- function identifier(index) {
15763
- while (!token(peek()))
15764
- next();
15765
- return slice(index, position);
15766
- }
15767
- function compile(value) {
15768
- return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
15769
- }
15770
- function parse(value, root2, parent, rule, rules, rulesets, pseudo, points, declarations) {
15771
- var index = 0;
15772
- var offset2 = 0;
15773
- var length2 = pseudo;
15774
- var atrule = 0;
15775
- var property = 0;
15776
- var previous = 0;
15777
- var variable = 1;
15778
- var scanning = 1;
15779
- var ampersand = 1;
15780
- var character2 = 0;
15781
- var type = "";
15782
- var props = rules;
15783
- var children = rulesets;
15784
- var reference = rule;
15785
- var characters2 = type;
15786
- while (scanning)
15787
- switch (previous = character2, character2 = next()) {
15788
- // (
15789
- case 40:
15790
- if (previous != 108 && charat(characters2, length2 - 1) == 58) {
15791
- if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
15792
- ampersand = -1;
15793
- break;
15794
- }
15795
- // " ' [
15796
- case 34:
15797
- case 39:
15798
- case 91:
15799
- characters2 += delimit(character2);
15800
- break;
15801
- // \t \n \r \s
15802
- case 9:
15803
- case 10:
15804
- case 13:
15805
- case 32:
15806
- characters2 += whitespace(previous);
15807
- break;
15808
- // \
15809
- case 92:
15810
- characters2 += escaping(caret() - 1, 7);
15811
- continue;
15812
- // /
15813
- case 47:
15814
- switch (peek()) {
15815
- case 42:
15816
- case 47:
15817
- append(comment(commenter(next(), caret()), root2, parent), declarations);
15818
- break;
15819
- default:
15820
- characters2 += "/";
15821
- }
15822
- break;
15823
- // {
15824
- case 123 * variable:
15825
- points[index++] = strlen(characters2) * ampersand;
15826
- // } ; \0
15827
- case 125 * variable:
15828
- case 59:
15829
- case 0:
15830
- switch (character2) {
15831
- // \0 }
15832
- case 0:
15833
- case 125:
15834
- scanning = 0;
15835
- // ;
15836
- case 59 + offset2:
15837
- if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
15838
- if (property > 0 && strlen(characters2) - length2)
15839
- append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
15840
- break;
15841
- // @ ;
15842
- case 59:
15843
- characters2 += ";";
15844
- // { rule/at-rule
15845
- default:
15846
- append(reference = ruleset(characters2, root2, parent, index, offset2, rules, points, type, props = [], children = [], length2), rulesets);
15847
- if (character2 === 123)
15848
- if (offset2 === 0)
15849
- parse(characters2, root2, reference, reference, props, rulesets, length2, points, children);
15850
- else
15851
- switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
15852
- // d l m s
15853
- case 100:
15854
- case 108:
15855
- case 109:
15856
- case 115:
15857
- parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children), rules, children, length2, points, rule ? props : children);
15858
- break;
15859
- default:
15860
- parse(characters2, reference, reference, reference, [""], children, 0, points, children);
15861
- }
15862
- }
15863
- index = offset2 = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
15864
- break;
15865
- // :
15866
- case 58:
15867
- length2 = 1 + strlen(characters2), property = previous;
15868
- default:
15869
- if (variable < 1) {
15870
- if (character2 == 123)
15871
- --variable;
15872
- else if (character2 == 125 && variable++ == 0 && prev() == 125)
15873
- continue;
15874
- }
15875
- switch (characters2 += from(character2), character2 * variable) {
15876
- // &
15877
- case 38:
15878
- ampersand = offset2 > 0 ? 1 : (characters2 += "\f", -1);
15879
- break;
15880
- // ,
15881
- case 44:
15882
- points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
15883
- break;
15884
- // @
15885
- case 64:
15886
- if (peek() === 45)
15887
- characters2 += delimit(next());
15888
- atrule = peek(), offset2 = length2 = strlen(type = characters2 += identifier(caret())), character2++;
15889
- break;
15890
- // -
15891
- case 45:
15892
- if (previous === 45 && strlen(characters2) == 2)
15893
- variable = 0;
15894
- }
15895
- }
15896
- return rulesets;
15897
- }
15898
- function ruleset(value, root2, parent, index, offset2, rules, points, type, props, children, length2) {
15899
- var post = offset2 - 1;
15900
- var rule = offset2 === 0 ? rules : [""];
15901
- var size = sizeof(rule);
15902
- for (var i = 0, j = 0, k = 0; i < index; ++i)
15903
- for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z2 = value; x < size; ++x)
15904
- if (z2 = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
15905
- props[k++] = z2;
15906
- return node(value, root2, parent, offset2 === 0 ? RULESET : type, props, children, length2);
15907
- }
15908
- function comment(value, root2, parent) {
15909
- return node(value, root2, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
15910
- }
15911
- function declaration(value, root2, parent, length2) {
15912
- return node(value, root2, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
15913
- }
15914
- function serialize(children, callback) {
15915
- var output = "";
15916
- var length2 = sizeof(children);
15917
- for (var i = 0; i < length2; i++)
15918
- output += callback(children[i], i, children, callback) || "";
15919
- return output;
15920
- }
15921
- function stringify(element, index, children, callback) {
15922
- switch (element.type) {
15923
- case LAYER:
15924
- if (element.children.length) break;
15925
- case IMPORT:
15926
- case DECLARATION:
15927
- return element.return = element.return || element.value;
15928
- case COMMENT:
15929
- return "";
15930
- case KEYFRAMES:
15931
- return element.return = element.value + "{" + serialize(element.children, callback) + "}";
15932
- case RULESET:
15933
- element.value = element.props.join(",");
15934
- }
15935
- return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
15936
- }
15937
- function middleware(collection) {
15938
- var length2 = sizeof(collection);
15939
- return function(element, index, children, callback) {
15940
- var output = "";
15941
- for (var i = 0; i < length2; i++)
15942
- output += collection[i](element, index, children, callback) || "";
15943
- return output;
15944
- };
15945
- }
15946
- function rulesheet(callback) {
15947
- return function(element) {
15948
- if (!element.root) {
15949
- if (element = element.return)
15950
- callback(element);
15951
- }
15952
- };
15953
- }
15954
- var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
15955
- var previous = 0;
15956
- var character2 = 0;
15957
- while (true) {
15958
- previous = character2;
15959
- character2 = peek();
15960
- if (previous === 38 && character2 === 12) {
15961
- points[index] = 1;
15962
- }
15963
- if (token(character2)) {
15964
- break;
15965
- }
15966
- next();
15967
- }
15968
- return slice(begin, position);
15969
- };
15970
- var toRules = function toRules2(parsed, points) {
15971
- var index = -1;
15972
- var character2 = 44;
15973
- do {
15974
- switch (token(character2)) {
15975
- case 0:
15976
- if (character2 === 38 && peek() === 12) {
15977
- points[index] = 1;
15978
- }
15979
- parsed[index] += identifierWithPointTracking(position - 1, points, index);
15980
- break;
15981
- case 2:
15982
- parsed[index] += delimit(character2);
15983
- break;
15984
- case 4:
15985
- if (character2 === 44) {
15986
- parsed[++index] = peek() === 58 ? "&\f" : "";
15987
- points[index] = parsed[index].length;
15988
- break;
15989
- }
15990
- // fallthrough
15991
- default:
15992
- parsed[index] += from(character2);
15993
- }
15994
- } while (character2 = next());
15995
- return parsed;
15996
- };
15997
- var getRules = function getRules2(value, points) {
15998
- return dealloc(toRules(alloc(value), points));
15999
- };
16000
- var fixedElements = /* @__PURE__ */ new WeakMap();
16001
- var compat = function compat2(element) {
16002
- if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
16003
- // negative .length indicates that this rule has been already prefixed
16004
- element.length < 1) {
16005
- return;
16006
- }
16007
- var value = element.value;
16008
- var parent = element.parent;
16009
- var isImplicitRule = element.column === parent.column && element.line === parent.line;
16010
- while (parent.type !== "rule") {
16011
- parent = parent.parent;
16012
- if (!parent) return;
16013
- }
16014
- if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
16015
- return;
16016
- }
16017
- if (isImplicitRule) {
16018
- return;
16019
- }
16020
- fixedElements.set(element, true);
16021
- var points = [];
16022
- var rules = getRules(value, points);
16023
- var parentRules = parent.props;
16024
- for (var i = 0, k = 0; i < rules.length; i++) {
16025
- for (var j = 0; j < parentRules.length; j++, k++) {
16026
- element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
16027
- }
16028
- }
16029
- };
16030
- var removeLabel = function removeLabel2(element) {
16031
- if (element.type === "decl") {
16032
- var value = element.value;
16033
- if (
16034
- // charcode for l
16035
- value.charCodeAt(0) === 108 && // charcode for b
16036
- value.charCodeAt(2) === 98
16037
- ) {
16038
- element["return"] = "";
16039
- element.value = "";
16040
- }
16041
- }
16042
- };
16043
- function prefix(value, length2) {
16044
- switch (hash(value, length2)) {
16045
- // color-adjust
16046
- case 5103:
16047
- return WEBKIT + "print-" + value + value;
16048
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
16049
- case 5737:
16050
- case 4201:
16051
- case 3177:
16052
- case 3433:
16053
- case 1641:
16054
- case 4457:
16055
- case 2921:
16056
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
16057
- case 5572:
16058
- case 6356:
16059
- case 5844:
16060
- case 3191:
16061
- case 6645:
16062
- case 3005:
16063
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
16064
- case 6391:
16065
- case 5879:
16066
- case 5623:
16067
- case 6135:
16068
- case 4599:
16069
- case 4855:
16070
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
16071
- case 4215:
16072
- case 6389:
16073
- case 5109:
16074
- case 5365:
16075
- case 5621:
16076
- case 3829:
16077
- return WEBKIT + value + value;
16078
- // appearance, user-select, transform, hyphens, text-size-adjust
16079
- case 5349:
16080
- case 4246:
16081
- case 4810:
16082
- case 6968:
16083
- case 2756:
16084
- return WEBKIT + value + MOZ + value + MS + value + value;
16085
- // flex, flex-direction
16086
- case 6828:
16087
- case 4268:
16088
- return WEBKIT + value + MS + value + value;
16089
- // order
16090
- case 6165:
16091
- return WEBKIT + value + MS + "flex-" + value + value;
16092
- // align-items
16093
- case 5187:
16094
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
16095
- // align-self
16096
- case 5443:
16097
- return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
16098
- // align-content
16099
- case 4675:
16100
- return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
16101
- // flex-shrink
16102
- case 5548:
16103
- return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
16104
- // flex-basis
16105
- case 5292:
16106
- return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
16107
- // flex-grow
16108
- case 6060:
16109
- return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
16110
- // transition
16111
- case 4554:
16112
- return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
16113
- // cursor
16114
- case 6187:
16115
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
16116
- // background, background-image
16117
- case 5495:
16118
- case 3959:
16119
- return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
16120
- // justify-content
16121
- case 4968:
16122
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
16123
- // (margin|padding)-inline-(start|end)
16124
- case 4095:
16125
- case 3583:
16126
- case 4068:
16127
- case 2532:
16128
- return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
16129
- // (min|max)?(width|height|inline-size|block-size)
16130
- case 8116:
16131
- case 7059:
16132
- case 5753:
16133
- case 5535:
16134
- case 5445:
16135
- case 5701:
16136
- case 4933:
16137
- case 4677:
16138
- case 5533:
16139
- case 5789:
16140
- case 5021:
16141
- case 4765:
16142
- if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
16143
- // (m)ax-content, (m)in-content
16144
- case 109:
16145
- if (charat(value, length2 + 4) !== 45) break;
16146
- // (f)ill-available, (f)it-content
16147
- case 102:
16148
- return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
16149
- // (s)tretch
16150
- case 115:
16151
- return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
16152
- }
16153
- break;
16154
- // position: sticky
16155
- case 4949:
16156
- if (charat(value, length2 + 1) !== 115) break;
16157
- // display: (flex|inline-flex)
16158
- case 6444:
16159
- switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
16160
- // stic(k)y
16161
- case 107:
16162
- return replace(value, ":", ":" + WEBKIT) + value;
16163
- // (inline-)?fl(e)x
16164
- case 101:
16165
- return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
16166
- }
16167
- break;
16168
- // writing-mode
16169
- case 5936:
16170
- switch (charat(value, length2 + 11)) {
16171
- // vertical-l(r)
16172
- case 114:
16173
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
16174
- // vertical-r(l)
16175
- case 108:
16176
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
16177
- // horizontal(-)tb
16178
- case 45:
16179
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
16180
- }
16181
- return WEBKIT + value + MS + value + value;
16182
- }
16183
- return value;
16184
- }
16185
- var prefixer = function prefixer2(element, index, children, callback) {
16186
- if (element.length > -1) {
16187
- if (!element["return"]) switch (element.type) {
16188
- case DECLARATION:
16189
- element["return"] = prefix(element.value, element.length);
16190
- break;
16191
- case KEYFRAMES:
16192
- return serialize([copy(element, {
16193
- value: replace(element.value, "@", "@" + WEBKIT)
16194
- })], callback);
16195
- case RULESET:
16196
- if (element.length) return combine(element.props, function(value) {
16197
- switch (match(value, /(::plac\w+|:read-\w+)/)) {
16198
- // :read-(only|write)
16199
- case ":read-only":
16200
- case ":read-write":
16201
- return serialize([copy(element, {
16202
- props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
16203
- })], callback);
16204
- // :placeholder
16205
- case "::placeholder":
16206
- return serialize([copy(element, {
16207
- props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
16208
- }), copy(element, {
16209
- props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
16210
- }), copy(element, {
16211
- props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
16212
- })], callback);
16213
- }
16214
- return "";
16215
- });
16216
- }
16217
- }
16218
- };
16219
- var defaultStylisPlugins = [prefixer];
16220
- var createCache = function createCache2(options) {
16221
- var key = options.key;
16222
- if (key === "css") {
16223
- var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
16224
- Array.prototype.forEach.call(ssrStyles, function(node2) {
16225
- var dataEmotionAttribute = node2.getAttribute("data-emotion");
16226
- if (dataEmotionAttribute.indexOf(" ") === -1) {
16227
- return;
16228
- }
16229
- document.head.appendChild(node2);
16230
- node2.setAttribute("data-s", "");
16231
- });
16232
- }
16233
- var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
16234
- var inserted = {};
16235
- var container;
16236
- var nodesToHydrate = [];
16237
- {
16238
- container = options.container || document.head;
16239
- Array.prototype.forEach.call(
16240
- // this means we will ignore elements which don't have a space in them which
16241
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
16242
- document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
16243
- function(node2) {
16244
- var attrib = node2.getAttribute("data-emotion").split(" ");
16245
- for (var i = 1; i < attrib.length; i++) {
16246
- inserted[attrib[i]] = true;
16247
- }
16248
- nodesToHydrate.push(node2);
16249
- }
16250
- );
16251
- }
16252
- var _insert;
16253
- var omnipresentPlugins = [compat, removeLabel];
16254
- {
16255
- var currentSheet;
16256
- var finalizingPlugins = [stringify, rulesheet(function(rule) {
16257
- currentSheet.insert(rule);
16258
- })];
16259
- var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
16260
- var stylis = function stylis2(styles) {
16261
- return serialize(compile(styles), serializer);
16262
- };
16263
- _insert = function insert(selector, serialized, sheet, shouldCache) {
16264
- currentSheet = sheet;
16265
- stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
16266
- if (shouldCache) {
16267
- cache.inserted[serialized.name] = true;
16268
- }
16269
- };
16270
- }
16271
- var cache = {
16272
- key,
16273
- sheet: new StyleSheet({
16274
- key,
16275
- container,
16276
- nonce: options.nonce,
16277
- speedy: options.speedy,
16278
- prepend: options.prepend,
16279
- insertionPoint: options.insertionPoint
16280
- }),
16281
- nonce: options.nonce,
16282
- inserted,
16283
- registered: {},
16284
- insert: _insert
16285
- };
16286
- cache.sheet.hydrate(nodesToHydrate);
16287
- return cache;
16288
- };
16289
- material.unstable_ClassNameGenerator.configure((componentName) => `sixseconds-modules-${componentName}`);
16290
- function MuiProvider({ children }) {
16291
- const [cache, setCache] = React.useState(null);
16292
- React.useEffect(() => {
16293
- if (typeof window !== "undefined") {
16294
- const emotionCache = createCache({
16295
- key: "sixseconds",
16296
- prepend: false
16297
- });
16298
- setCache(emotionCache);
16299
- }
16300
- }, []);
16301
- if (!cache) {
16302
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
16303
- }
16304
- return /* @__PURE__ */ jsxRuntime.jsx(react.CacheProvider, { value: cache, children });
16305
- }
16306
15507
  const App = () => {
16307
15508
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
16308
15509
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -16458,9 +15659,6 @@ const App = () => {
16458
15659
  /* @__PURE__ */ jsxRuntime.jsx(PreviousLoginBanner, { t: (s) => s })
16459
15660
  ] });
16460
15661
  };
16461
- function Header(props) {
16462
- return /* @__PURE__ */ jsxRuntime.jsx(MuiProvider, { children: /* @__PURE__ */ jsxRuntime.jsx(Header$1, { ...props }) });
16463
- }
16464
15662
  exports.CookiesUtil = CookiesUtil;
16465
15663
  exports.DangerDialog = DangerDialog;
16466
15664
  exports.FILTER_DATE_FORMAT = FILTER_DATE_FORMAT;