sixseconds-modules 1.6.175 → 1.6.178

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
@@ -1,15 +1,3 @@
1
- (function() {
2
- "use strict";
3
- try {
4
- if (typeof document != "undefined") {
5
- var elementStyle = document.createElement("style");
6
- elementStyle.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@100;200;300;400;500;600;700&display=swap");\n\n.sixseconds-header-root blockquote,\n.sixseconds-header-root dl,\n.sixseconds-header-root dd,\n.sixseconds-header-root h1,\n.sixseconds-header-root h2,\n.sixseconds-header-root h3,\n.sixseconds-header-root h4,\n.sixseconds-header-root h5,\n.sixseconds-header-root h6,\n.sixseconds-header-root hr,\n.sixseconds-header-root figure,\n.sixseconds-header-root p,\n.sixseconds-header-root pre,\n.sixseconds-header-root span,\n.sixseconds-header-root a,\n.sixseconds-header-root div,\n.sixseconds-header-root li,\n.sixseconds-header-root button {\n font-family: "IBM Plex Sans", sans-serif !important;\n}\n\n.sixseconds-header-main-list-menu {\n display: flex;\n}\n\n.sixseconds-header-main-list-menu li {\n padding: 0.5rem 0.5rem;\n}\n\n.sixseconds-header-main-list-menu li a {\n padding: 0 0.25rem;\n font-weight: 500;\n font-size: 14px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item {\n position: relative;\n padding: 15px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link {\n text-decoration: none;\n color: #1a1c1e;\n transition: color 0.3s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link:hover {\n color: #0073b1;\n}\n\n/* Submenu (Dropdown) */\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data {\n position: absolute;\n top: 85%;\n left: 0;\n background: white;\n border: 1px solid #e0e0e0;\n box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);\n display: none;\n min-width: 220px;\n z-index: 1000;\n border-radius: 12px;\n overflow: hidden;\n padding: 8px 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data li {\n list-style: none;\n padding: 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link {\n display: block;\n padding: 10px 16px;\n text-decoration: none;\n color: #1a1c1e;\n font-weight: 400;\n font-size: 14px;\n transition: background 0.2s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link:hover {\n background: #f8f9fa;\n color: #0073b1;\n}\n\n/* Show dropdown on hover */\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item:hover .sixseconds-header-submenu-data {\n display: block;\n}\n\n.sixseconds-header-small-device-menu {\n display: none;\n width: 100%;\n left: 0;\n top: 64px;\n background-color: #fff;\n position: fixed;\n overflow-y: auto;\n height: 95vh;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n}\n\n.sixseconds-header-small-device-menu a.sixseconds-header-bg-main-menu {\n display: block;\n text-decoration: none;\n}\n\n.sixseconds-header-submenu-child li {\n padding: 0.5rem 0;\n}\n\n.sixseconds-header-submenu-child li a {\n text-decoration: none;\n}\n\n.sixseconds-header-layout-mobile-menu {\n padding-bottom: 12px;\n padding-inline: 0;\n height: 95vh;\n overflow-y: auto;\n padding-top: 8px;\n}\n\n.sixseconds-header-small-device-menu a {\n background-color: transparent;\n font-size: 15px;\n font-weight: 500;\n color: #1a1c1e;\n margin-bottom: 4px;\n padding: 12px 16px;\n border-bottom: 1px solid #f1f3f4;\n}\n\n.sixseconds-header-small-device-menu .sixseconds-header-submenu-child {\n padding-left: 0px;\n min-width: 90%;\n max-width: 90%;\n top: 57px;\n margin-top: 8px;\n background-color: #fff;\n color: #1a1c1e;\n margin-inline: auto;\n}\n\n.sixseconds-header-small-device-menu ul li .sixseconds-header-submenu-child-link {\n padding: 12px 20px;\n}\n\n.sixseconds-header-small-device-menu ul li a {\n background-color: transparent;\n color: #5f6368;\n}\n\n.sixseconds-header-small-device-menu ul {\n padding-left: 15px;\n}\n\n.sixseconds-header-desktop-menu {\n display: flex;\n}\n\n.sixseconds-header-button-hamburger {\n display: none;\n position: absolute;\n right: 20px;\n top: 18px;\n z-index: 9;\n}\n\n.sixseconds-header-root .tox-editor-header {\n background-color: transparent;\n}\n\n.sixseconds-header-hamburger-icon-btn {\n padding: 8px;\n color: #5f6368;\n}\n\n.sixseconds-header-desktop-menu .sixseconds-header-menu-item .sixseconds-header-menu-link {\n font-size: 14px;\n font-weight: 500;\n}\n\n.sixseconds-header-small-device-menu {\n padding-inline: 20px;\n}\n\n@media screen and (max-width: 600px) and (min-width: 320px) {\n .sixseconds-header-notification-icon-error .MuiBadge-badge {\n font-size: 10px;\n padding: 0 4px;\n min-width: 16px;\n right: 5px;\n background-color: #d32f2f;\n }\n\n .sixseconds-header-submenu nav {\n padding: 0 !important;\n }\n\n .sixseconds-header-root .MuiPagination-root.MuiPagination-outlined {\n display: flex;\n justify-content: center;\n margin-left: 0;\n }\n\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n z-index: 99;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 90% !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n border-right: 1px solid #e0e0e0;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1024px) and (min-width: 600px) {\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 450px !important;\n }\n\n .sixseconds-header-banner {\n margin-left: 0 !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1380px) and (min-width: 1024px) {\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n}'));
7
- document.head.appendChild(elementStyle);
8
- }
9
- } catch (e) {
10
- console.error("vite-plugin-css-injected-by-js", e);
11
- }
12
- })();
13
1
  "use client";
14
2
  "use strict";
15
3
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
@@ -17,6 +5,7 @@ const jsxRuntime = require("react/jsx-runtime");
17
5
  const React = require("react");
18
6
  const axios = require("axios");
19
7
  const Cookies = require("js-cookie");
8
+ const createCache = require("@emotion/cache");
20
9
  const react = require("@emotion/react");
21
10
  const material = require("@mui/material");
22
11
  const MenuIcon = require("@mui/icons-material/Menu");
@@ -393,8 +382,8 @@ deepmerge.all = function deepmergeAll(array2, options) {
393
382
  if (!Array.isArray(array2)) {
394
383
  throw new Error("first argument should be an array");
395
384
  }
396
- return array2.reduce(function(prev2, next2) {
397
- return deepmerge(prev2, next2, options);
385
+ return array2.reduce(function(prev, next) {
386
+ return deepmerge(prev, next, options);
398
387
  }, {});
399
388
  };
400
389
  var deepmerge_1 = deepmerge;
@@ -469,10 +458,10 @@ function eq(value, other) {
469
458
  return value === other || value !== value && other !== other;
470
459
  }
471
460
  function assocIndexOf(array2, key) {
472
- var length2 = array2.length;
473
- while (length2--) {
474
- if (eq(array2[length2][0], key)) {
475
- return length2;
461
+ var length = array2.length;
462
+ while (length--) {
463
+ if (eq(array2[length][0], key)) {
464
+ return length;
476
465
  }
477
466
  }
478
467
  return -1;
@@ -511,9 +500,9 @@ function listCacheSet(key, value) {
511
500
  return this;
512
501
  }
513
502
  function ListCache(entries) {
514
- var index = -1, length2 = entries == null ? 0 : entries.length;
503
+ var index = -1, length = entries == null ? 0 : entries.length;
515
504
  this.clear();
516
- while (++index < length2) {
505
+ while (++index < length) {
517
506
  var entry = entries[index];
518
507
  this.set(entry[0], entry[1]);
519
508
  }
@@ -631,9 +620,9 @@ function hashSet(key, value) {
631
620
  return this;
632
621
  }
633
622
  function Hash(entries) {
634
- var index = -1, length2 = entries == null ? 0 : entries.length;
623
+ var index = -1, length = entries == null ? 0 : entries.length;
635
624
  this.clear();
636
- while (++index < length2) {
625
+ while (++index < length) {
637
626
  var entry = entries[index];
638
627
  this.set(entry[0], entry[1]);
639
628
  }
@@ -677,9 +666,9 @@ function mapCacheSet(key, value) {
677
666
  return this;
678
667
  }
679
668
  function MapCache(entries) {
680
- var index = -1, length2 = entries == null ? 0 : entries.length;
669
+ var index = -1, length = entries == null ? 0 : entries.length;
681
670
  this.clear();
682
- while (++index < length2) {
671
+ while (++index < length) {
683
672
  var entry = entries[index];
684
673
  this.set(entry[0], entry[1]);
685
674
  }
@@ -715,8 +704,8 @@ Stack.prototype.get = stackGet;
715
704
  Stack.prototype.has = stackHas;
716
705
  Stack.prototype.set = stackSet;
717
706
  function arrayEach(array2, iteratee) {
718
- var index = -1, length2 = array2 == null ? 0 : array2.length;
719
- while (++index < length2) {
707
+ var index = -1, length = array2 == null ? 0 : array2.length;
708
+ while (++index < length) {
720
709
  if (iteratee(array2[index], index, array2) === false) {
721
710
  break;
722
711
  }
@@ -754,8 +743,8 @@ function assignValue(object2, key, value) {
754
743
  function copyObject(source, props, object2, customizer) {
755
744
  var isNew = !object2;
756
745
  object2 || (object2 = {});
757
- var index = -1, length2 = props.length;
758
- while (++index < length2) {
746
+ var index = -1, length = props.length;
747
+ while (++index < length) {
759
748
  var key = props[index];
760
749
  var newValue = void 0;
761
750
  if (newValue === void 0) {
@@ -800,10 +789,10 @@ var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : void 0;
800
789
  var isBuffer = nativeIsBuffer || stubFalse;
801
790
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
802
791
  var reIsUint = /^(?:0|[1-9]\d*)$/;
803
- function isIndex(value, length2) {
792
+ function isIndex(value, length) {
804
793
  var type = typeof value;
805
- length2 = length2 == null ? MAX_SAFE_INTEGER$1 : length2;
806
- return !!length2 && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length2);
794
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
795
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
807
796
  }
808
797
  var MAX_SAFE_INTEGER = 9007199254740991;
809
798
  function isLength(value) {
@@ -841,13 +830,13 @@ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedA
841
830
  var objectProto$5 = Object.prototype;
842
831
  var hasOwnProperty$3 = objectProto$5.hasOwnProperty;
843
832
  function arrayLikeKeys(value, inherited) {
844
- 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;
833
+ 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;
845
834
  for (var key in value) {
846
835
  if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
847
836
  (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
848
837
  isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
849
838
  isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
850
- isIndex(key, length2)))) {
839
+ isIndex(key, length)))) {
851
840
  result.push(key);
852
841
  }
853
842
  }
@@ -919,21 +908,21 @@ function cloneBuffer(buffer, isDeep) {
919
908
  if (isDeep) {
920
909
  return buffer.slice();
921
910
  }
922
- var length2 = buffer.length, result = allocUnsafe ? allocUnsafe(length2) : new buffer.constructor(length2);
911
+ var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
923
912
  buffer.copy(result);
924
913
  return result;
925
914
  }
926
915
  function copyArray(source, array2) {
927
- var index = -1, length2 = source.length;
928
- array2 || (array2 = Array(length2));
929
- while (++index < length2) {
916
+ var index = -1, length = source.length;
917
+ array2 || (array2 = Array(length));
918
+ while (++index < length) {
930
919
  array2[index] = source[index];
931
920
  }
932
921
  return array2;
933
922
  }
934
923
  function arrayFilter(array2, predicate) {
935
- var index = -1, length2 = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
936
- while (++index < length2) {
924
+ var index = -1, length = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
925
+ while (++index < length) {
937
926
  var value = array2[index];
938
927
  if (predicate(value, index, array2)) {
939
928
  result[resIndex++] = value;
@@ -960,8 +949,8 @@ function copySymbols(source, object2) {
960
949
  return copyObject(source, getSymbols(source), object2);
961
950
  }
962
951
  function arrayPush(array2, values) {
963
- var index = -1, length2 = values.length, offset2 = array2.length;
964
- while (++index < length2) {
952
+ var index = -1, length = values.length, offset2 = array2.length;
953
+ while (++index < length) {
965
954
  array2[offset2 + index] = values[index];
966
955
  }
967
956
  return array2;
@@ -1019,8 +1008,8 @@ if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2 || Map
1019
1008
  var objectProto = Object.prototype;
1020
1009
  var hasOwnProperty = objectProto.hasOwnProperty;
1021
1010
  function initCloneArray(array2) {
1022
- var length2 = array2.length, result = new array2.constructor(length2);
1023
- if (length2 && typeof array2[0] == "string" && hasOwnProperty.call(array2, "index")) {
1011
+ var length = array2.length, result = new array2.constructor(length);
1012
+ if (length && typeof array2[0] == "string" && hasOwnProperty.call(array2, "index")) {
1024
1013
  result.index = array2.index;
1025
1014
  result.input = array2.input;
1026
1015
  }
@@ -1199,11 +1188,11 @@ function requireReactFastCompare() {
1199
1188
  function equal(a, b) {
1200
1189
  if (a === b) return true;
1201
1190
  if (a && b && typeof a == "object" && typeof b == "object") {
1202
- var arrA = isArray2(a), arrB = isArray2(b), i, length2, key;
1191
+ var arrA = isArray2(a), arrB = isArray2(b), i, length, key;
1203
1192
  if (arrA && arrB) {
1204
- length2 = a.length;
1205
- if (length2 != b.length) return false;
1206
- for (i = length2; i-- !== 0; )
1193
+ length = a.length;
1194
+ if (length != b.length) return false;
1195
+ for (i = length; i-- !== 0; )
1207
1196
  if (!equal(a[i], b[i])) return false;
1208
1197
  return true;
1209
1198
  }
@@ -1215,14 +1204,14 @@ function requireReactFastCompare() {
1215
1204
  if (regexpA != regexpB) return false;
1216
1205
  if (regexpA && regexpB) return a.toString() == b.toString();
1217
1206
  var keys2 = keyList(a);
1218
- length2 = keys2.length;
1219
- if (length2 !== keyList(b).length)
1207
+ length = keys2.length;
1208
+ if (length !== keyList(b).length)
1220
1209
  return false;
1221
- for (i = length2; i-- !== 0; )
1210
+ for (i = length; i-- !== 0; )
1222
1211
  if (!hasProp.call(b, keys2[i])) return false;
1223
1212
  if (hasElementType && a instanceof Element && b instanceof Element)
1224
1213
  return a === b;
1225
- for (i = length2; i-- !== 0; ) {
1214
+ for (i = length; i-- !== 0; ) {
1226
1215
  key = keys2[i];
1227
1216
  if (key === "_owner" && a.$$typeof) {
1228
1217
  continue;
@@ -1267,8 +1256,8 @@ function clone$2(value) {
1267
1256
  return baseClone(value, CLONE_SYMBOLS_FLAG);
1268
1257
  }
1269
1258
  function arrayMap(array2, iteratee) {
1270
- var index = -1, length2 = array2 == null ? 0 : array2.length, result = Array(length2);
1271
- while (++index < length2) {
1259
+ var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
1260
+ while (++index < length) {
1272
1261
  result[index] = iteratee(array2[index], index, array2);
1273
1262
  }
1274
1263
  return result;
@@ -1313,8 +1302,8 @@ var stringToPath = memoizeCapped(function(string2) {
1313
1302
  if (string2.charCodeAt(0) === 46) {
1314
1303
  result.push("");
1315
1304
  }
1316
- string2.replace(rePropName, function(match5, number2, quote, subString) {
1317
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match5);
1305
+ string2.replace(rePropName, function(match, number2, quote, subString) {
1306
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match);
1318
1307
  });
1319
1308
  return result;
1320
1309
  });
@@ -1940,9 +1929,9 @@ function useFormik(_ref) {
1940
1929
  });
1941
1930
  var state = stateRef.current;
1942
1931
  var dispatch = React.useCallback(function(action) {
1943
- var prev2 = stateRef.current;
1944
- stateRef.current = formikReducer(prev2, action);
1945
- if (prev2 !== stateRef.current) setIteration(function(x) {
1932
+ var prev = stateRef.current;
1933
+ stateRef.current = formikReducer(prev, action);
1934
+ if (prev !== stateRef.current) setIteration(function(x) {
1946
1935
  return x + 1;
1947
1936
  });
1948
1937
  }, []);
@@ -1997,14 +1986,14 @@ function useFormik(_ref) {
1997
1986
  return runSingleFieldLevelValidation(f, getIn$1(values, f));
1998
1987
  }) : [Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];
1999
1988
  return Promise.all(fieldValidations).then(function(fieldErrorsList) {
2000
- return fieldErrorsList.reduce(function(prev2, curr, index) {
1989
+ return fieldErrorsList.reduce(function(prev, curr, index) {
2001
1990
  if (curr === "DO_NOT_DELETE_YOU_WILL_BE_FIRED") {
2002
- return prev2;
1991
+ return prev;
2003
1992
  }
2004
1993
  if (curr) {
2005
- prev2 = setIn(prev2, fieldKeysWithValidation[index], curr);
1994
+ prev = setIn(prev, fieldKeysWithValidation[index], curr);
2006
1995
  }
2007
- return prev2;
1996
+ return prev;
2008
1997
  }, {});
2009
1998
  });
2010
1999
  }, [runSingleFieldLevelValidation]);
@@ -6797,8 +6786,8 @@ function removeFormattingTokens(input) {
6797
6786
  return input.replace(/\\/g, "");
6798
6787
  }
6799
6788
  function makeFormatFunction(format2) {
6800
- var array2 = format2.match(formattingTokens), i, length2;
6801
- for (i = 0, length2 = array2.length; i < length2; i++) {
6789
+ var array2 = format2.match(formattingTokens), i, length;
6790
+ for (i = 0, length = array2.length; i < length; i++) {
6802
6791
  if (formatTokenFunctions[array2[i]]) {
6803
6792
  array2[i] = formatTokenFunctions[array2[i]];
6804
6793
  } else {
@@ -6807,7 +6796,7 @@ function makeFormatFunction(format2) {
6807
6796
  }
6808
6797
  return function(mom) {
6809
6798
  var output = "", i2;
6810
- for (i2 = 0; i2 < length2; i2++) {
6799
+ for (i2 = 0; i2 < length; i2++) {
6811
6800
  output += isFunction2(array2[i2]) ? array2[i2].call(mom, format2) : array2[i2];
6812
6801
  }
6813
6802
  return output;
@@ -7945,18 +7934,18 @@ function normalizeLocale(key) {
7945
7934
  return key ? key.toLowerCase().replace("_", "-") : key;
7946
7935
  }
7947
7936
  function chooseLocale(names) {
7948
- var i = 0, j, next2, locale2, split;
7937
+ var i = 0, j, next, locale2, split;
7949
7938
  while (i < names.length) {
7950
7939
  split = normalizeLocale(names[i]).split("-");
7951
7940
  j = split.length;
7952
- next2 = normalizeLocale(names[i + 1]);
7953
- next2 = next2 ? next2.split("-") : null;
7941
+ next = normalizeLocale(names[i + 1]);
7942
+ next = next ? next.split("-") : null;
7954
7943
  while (j > 0) {
7955
7944
  locale2 = loadLocale(split.slice(0, j).join("-"));
7956
7945
  if (locale2) {
7957
7946
  return locale2;
7958
7947
  }
7959
- if (next2 && next2.length >= j && commonPrefix(split, next2) >= j - 1) {
7948
+ if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {
7960
7949
  break;
7961
7950
  }
7962
7951
  j--;
@@ -8151,11 +8140,11 @@ var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\
8151
8140
  PST: -8 * 60
8152
8141
  };
8153
8142
  function configFromISO(config) {
8154
- var i, l, string2 = config._i, match5 = extendedIsoRegex.exec(string2) || basicIsoRegex.exec(string2), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
8155
- if (match5) {
8143
+ var i, l, string2 = config._i, match = extendedIsoRegex.exec(string2) || basicIsoRegex.exec(string2), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
8144
+ if (match) {
8156
8145
  getParsingFlags(config).iso = true;
8157
8146
  for (i = 0, l = isoDatesLen; i < l; i++) {
8158
- if (isoDates[i][1].exec(match5[1])) {
8147
+ if (isoDates[i][1].exec(match[1])) {
8159
8148
  dateFormat = isoDates[i][0];
8160
8149
  allowTime = isoDates[i][2] !== false;
8161
8150
  break;
@@ -8165,10 +8154,10 @@ function configFromISO(config) {
8165
8154
  config._isValid = false;
8166
8155
  return;
8167
8156
  }
8168
- if (match5[3]) {
8157
+ if (match[3]) {
8169
8158
  for (i = 0, l = isoTimesLen; i < l; i++) {
8170
- if (isoTimes[i][1].exec(match5[3])) {
8171
- timeFormat = (match5[2] || " ") + isoTimes[i][0];
8159
+ if (isoTimes[i][1].exec(match[3])) {
8160
+ timeFormat = (match[2] || " ") + isoTimes[i][0];
8172
8161
  break;
8173
8162
  }
8174
8163
  }
@@ -8181,8 +8170,8 @@ function configFromISO(config) {
8181
8170
  config._isValid = false;
8182
8171
  return;
8183
8172
  }
8184
- if (match5[4]) {
8185
- if (tzRegex.exec(match5[4])) {
8173
+ if (match[4]) {
8174
+ if (tzRegex.exec(match[4])) {
8186
8175
  tzFormat = "Z";
8187
8176
  } else {
8188
8177
  config._isValid = false;
@@ -8246,21 +8235,21 @@ function calculateOffset(obsOffset, militaryOffset, numOffset) {
8246
8235
  }
8247
8236
  }
8248
8237
  function configFromRFC2822(config) {
8249
- var match5 = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
8250
- if (match5) {
8238
+ var match = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
8239
+ if (match) {
8251
8240
  parsedArray = extractFromRFC2822Strings(
8252
- match5[4],
8253
- match5[3],
8254
- match5[2],
8255
- match5[5],
8256
- match5[6],
8257
- match5[7]
8241
+ match[4],
8242
+ match[3],
8243
+ match[2],
8244
+ match[5],
8245
+ match[6],
8246
+ match[7]
8258
8247
  );
8259
- if (!checkWeekday(match5[1], parsedArray, config)) {
8248
+ if (!checkWeekday(match[1], parsedArray, config)) {
8260
8249
  return;
8261
8250
  }
8262
8251
  config._a = parsedArray;
8263
- config._tzm = calculateOffset(match5[8], match5[9], match5[10]);
8252
+ config._tzm = calculateOffset(match[8], match[9], match[10]);
8264
8253
  config._d = createUTCDate.apply(null, config._a);
8265
8254
  config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
8266
8255
  getParsingFlags(config).rfc2822 = true;
@@ -8895,7 +8884,7 @@ function isUtc() {
8895
8884
  }
8896
8885
  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)?)?$/;
8897
8886
  function createDuration(input, key) {
8898
- var duration = input, match5 = null, sign2, ret, diffRes;
8887
+ var duration = input, match = null, sign2, ret, diffRes;
8899
8888
  if (isDuration(input)) {
8900
8889
  duration = {
8901
8890
  ms: input._milliseconds,
@@ -8909,27 +8898,27 @@ function createDuration(input, key) {
8909
8898
  } else {
8910
8899
  duration.milliseconds = +input;
8911
8900
  }
8912
- } else if (match5 = aspNetRegex.exec(input)) {
8913
- sign2 = match5[1] === "-" ? -1 : 1;
8901
+ } else if (match = aspNetRegex.exec(input)) {
8902
+ sign2 = match[1] === "-" ? -1 : 1;
8914
8903
  duration = {
8915
8904
  y: 0,
8916
- d: toInt(match5[DATE]) * sign2,
8917
- h: toInt(match5[HOUR]) * sign2,
8918
- m: toInt(match5[MINUTE]) * sign2,
8919
- s: toInt(match5[SECOND]) * sign2,
8920
- ms: toInt(absRound(match5[MILLISECOND] * 1e3)) * sign2
8905
+ d: toInt(match[DATE]) * sign2,
8906
+ h: toInt(match[HOUR]) * sign2,
8907
+ m: toInt(match[MINUTE]) * sign2,
8908
+ s: toInt(match[SECOND]) * sign2,
8909
+ ms: toInt(absRound(match[MILLISECOND] * 1e3)) * sign2
8921
8910
  // the millisecond decimal point is included in the match
8922
8911
  };
8923
- } else if (match5 = isoRegex.exec(input)) {
8924
- sign2 = match5[1] === "-" ? -1 : 1;
8912
+ } else if (match = isoRegex.exec(input)) {
8913
+ sign2 = match[1] === "-" ? -1 : 1;
8925
8914
  duration = {
8926
- y: parseIso(match5[2], sign2),
8927
- M: parseIso(match5[3], sign2),
8928
- w: parseIso(match5[4], sign2),
8929
- d: parseIso(match5[5], sign2),
8930
- h: parseIso(match5[6], sign2),
8931
- m: parseIso(match5[7], sign2),
8932
- s: parseIso(match5[8], sign2)
8915
+ y: parseIso(match[2], sign2),
8916
+ M: parseIso(match[3], sign2),
8917
+ w: parseIso(match[4], sign2),
8918
+ d: parseIso(match[5], sign2),
8919
+ h: parseIso(match[6], sign2),
8920
+ m: parseIso(match[7], sign2),
8921
+ s: parseIso(match[8], sign2)
8933
8922
  };
8934
8923
  } else if (duration == null) {
8935
8924
  duration = {};
@@ -9249,16 +9238,16 @@ function inspect() {
9249
9238
  if (!this.isValid()) {
9250
9239
  return "moment.invalid(/* " + this._i + " */)";
9251
9240
  }
9252
- var func = "moment", zone = "", prefix2, year, datetime, suffix;
9241
+ var func = "moment", zone = "", prefix, year, datetime, suffix;
9253
9242
  if (!this.isLocal()) {
9254
9243
  func = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone";
9255
9244
  zone = "Z";
9256
9245
  }
9257
- prefix2 = "[" + func + '("]';
9246
+ prefix = "[" + func + '("]';
9258
9247
  year = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY";
9259
9248
  datetime = "-MM-DD[T]HH:mm:ss.SSS";
9260
9249
  suffix = zone + '[")]';
9261
- return this.format(prefix2 + year + datetime + suffix);
9250
+ return this.format(prefix + year + datetime + suffix);
9262
9251
  }
9263
9252
  function format(inputString) {
9264
9253
  if (!inputString) {
@@ -9267,7 +9256,7 @@ function format(inputString) {
9267
9256
  var output = formatMoment(this, inputString);
9268
9257
  return this.localeData().postformat(output);
9269
9258
  }
9270
- function from$1(time, withoutSuffix) {
9259
+ function from(time, withoutSuffix) {
9271
9260
  if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
9272
9261
  return createDuration({ to: this, from: time }).locale(this.locale()).humanize(!withoutSuffix);
9273
9262
  } else {
@@ -9534,12 +9523,12 @@ addRegexToken("yyyy", matchUnsigned);
9534
9523
  addRegexToken("yo", matchEraYearOrdinal);
9535
9524
  addParseToken(["y", "yy", "yyy", "yyyy"], YEAR);
9536
9525
  addParseToken(["yo"], function(input, array2, config, token2) {
9537
- var match5;
9526
+ var match;
9538
9527
  if (config._locale._eraYearOrdinalRegex) {
9539
- match5 = input.match(config._locale._eraYearOrdinalRegex);
9528
+ match = input.match(config._locale._eraYearOrdinalRegex);
9540
9529
  }
9541
9530
  if (config._locale.eraYearOrdinalParse) {
9542
- array2[YEAR] = config._locale.eraYearOrdinalParse(input, match5);
9531
+ array2[YEAR] = config._locale.eraYearOrdinalParse(input, match);
9543
9532
  } else {
9544
9533
  array2[YEAR] = parseInt(input, 10);
9545
9534
  }
@@ -9858,15 +9847,15 @@ addFormatToken(0, ["SSSSSSSSS", 9], 0, function() {
9858
9847
  addRegexToken("S", match1to3, match1);
9859
9848
  addRegexToken("SS", match1to3, match2);
9860
9849
  addRegexToken("SSS", match1to3, match3);
9861
- var token$1, getSetMillisecond;
9862
- for (token$1 = "SSSS"; token$1.length <= 9; token$1 += "S") {
9863
- addRegexToken(token$1, matchUnsigned);
9850
+ var token, getSetMillisecond;
9851
+ for (token = "SSSS"; token.length <= 9; token += "S") {
9852
+ addRegexToken(token, matchUnsigned);
9864
9853
  }
9865
9854
  function parseMs(input, array2) {
9866
9855
  array2[MILLISECOND] = toInt(("0." + input) * 1e3);
9867
9856
  }
9868
- for (token$1 = "S"; token$1.length <= 9; token$1 += "S") {
9869
- addParseToken(token$1, parseMs);
9857
+ for (token = "S"; token.length <= 9; token += "S") {
9858
+ addParseToken(token, parseMs);
9870
9859
  }
9871
9860
  getSetMillisecond = makeGetSet("Milliseconds", false);
9872
9861
  addFormatToken("z", 0, 0, "zoneAbbr");
@@ -9884,7 +9873,7 @@ proto.clone = clone$1;
9884
9873
  proto.diff = diff;
9885
9874
  proto.endOf = endOf;
9886
9875
  proto.format = format;
9887
- proto.from = from$1;
9876
+ proto.from = from;
9888
9877
  proto.fromNow = fromNow;
9889
9878
  proto.to = to;
9890
9879
  proto.toNow = toNow;
@@ -10115,7 +10104,7 @@ hooks.langData = deprecate(
10115
10104
  getLocale
10116
10105
  );
10117
10106
  var mathAbs = Math.abs;
10118
- function abs$1() {
10107
+ function abs() {
10119
10108
  var data = this._data;
10120
10109
  this._milliseconds = mathAbs(this._milliseconds);
10121
10110
  this._days = mathAbs(this._days);
@@ -10317,7 +10306,7 @@ function humanize(argWithSuffix, argThresholds) {
10317
10306
  }
10318
10307
  return locale2.postformat(output);
10319
10308
  }
10320
- var abs$1$1 = Math.abs;
10309
+ var abs$1 = Math.abs;
10321
10310
  function sign(x) {
10322
10311
  return (x > 0) - (x < 0) || +x;
10323
10312
  }
@@ -10325,7 +10314,7 @@ function toISOString$1() {
10325
10314
  if (!this.isValid()) {
10326
10315
  return this.localeData().invalidDate();
10327
10316
  }
10328
- 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;
10317
+ 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;
10329
10318
  if (!total) {
10330
10319
  return "P0D";
10331
10320
  }
@@ -10344,7 +10333,7 @@ function toISOString$1() {
10344
10333
  }
10345
10334
  var proto$2 = Duration.prototype;
10346
10335
  proto$2.isValid = isValid$1;
10347
- proto$2.abs = abs$1;
10336
+ proto$2.abs = abs;
10348
10337
  proto$2.add = add$1;
10349
10338
  proto$2.subtract = subtract$1;
10350
10339
  proto$2.as = as;
@@ -10557,7 +10546,7 @@ function requireTinyCase() {
10557
10546
  const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
10558
10547
  const join = (str, d) => words(str).join(d).toLowerCase();
10559
10548
  const camelCase = (str) => words(str).reduce(
10560
- (acc, next2) => `${acc}${!acc ? next2.toLowerCase() : next2[0].toUpperCase() + next2.slice(1).toLowerCase()}`,
10549
+ (acc, next) => `${acc}${!acc ? next.toLowerCase() : next[0].toUpperCase() + next.slice(1).toLowerCase()}`,
10561
10550
  ""
10562
10551
  );
10563
10552
  const pascalCase = (str) => upperFirst(camelCase(str));
@@ -10598,32 +10587,32 @@ function requireToposort() {
10598
10587
  if (!visited[i]) visit(nodes[i], i, /* @__PURE__ */ new Set());
10599
10588
  }
10600
10589
  return sorted;
10601
- function visit(node2, i2, predecessors) {
10602
- if (predecessors.has(node2)) {
10590
+ function visit(node, i2, predecessors) {
10591
+ if (predecessors.has(node)) {
10603
10592
  var nodeRep;
10604
10593
  try {
10605
- nodeRep = ", node was:" + JSON.stringify(node2);
10594
+ nodeRep = ", node was:" + JSON.stringify(node);
10606
10595
  } catch (e) {
10607
10596
  nodeRep = "";
10608
10597
  }
10609
10598
  throw new Error("Cyclic dependency" + nodeRep);
10610
10599
  }
10611
- if (!nodesHash.has(node2)) {
10612
- throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(node2));
10600
+ if (!nodesHash.has(node)) {
10601
+ throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(node));
10613
10602
  }
10614
10603
  if (visited[i2]) return;
10615
10604
  visited[i2] = true;
10616
- var outgoing = outgoingEdges.get(node2) || /* @__PURE__ */ new Set();
10605
+ var outgoing = outgoingEdges.get(node) || /* @__PURE__ */ new Set();
10617
10606
  outgoing = Array.from(outgoing);
10618
10607
  if (i2 = outgoing.length) {
10619
- predecessors.add(node2);
10608
+ predecessors.add(node);
10620
10609
  do {
10621
10610
  var child = outgoing[--i2];
10622
10611
  visit(child, nodesHash.get(child), predecessors);
10623
10612
  } while (i2);
10624
- predecessors.delete(node2);
10613
+ predecessors.delete(node);
10625
10614
  }
10626
- sorted[--cursor] = node2;
10615
+ sorted[--cursor] = node;
10627
10616
  }
10628
10617
  }
10629
10618
  function uniqueNodes(arr) {
@@ -10904,8 +10893,8 @@ class Reference {
10904
10893
  this.isContext = this.key[0] === prefixes.context;
10905
10894
  this.isValue = this.key[0] === prefixes.value;
10906
10895
  this.isSibling = !this.isContext && !this.isValue;
10907
- let prefix2 = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
10908
- this.path = this.key.slice(prefix2.length);
10896
+ let prefix = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
10897
+ this.path = this.key.slice(prefix.length);
10909
10898
  this.getter = this.path && propertyExprExports.getter(this.path, true);
10910
10899
  this.map = options.map;
10911
10900
  }
@@ -10950,7 +10939,7 @@ function createValidation(config) {
10950
10939
  options,
10951
10940
  originalValue,
10952
10941
  schema
10953
- }, panic, next2) {
10942
+ }, panic, next) {
10954
10943
  const {
10955
10944
  name,
10956
10945
  test,
@@ -10982,7 +10971,7 @@ function createValidation(config) {
10982
10971
  error.params = nextParams;
10983
10972
  return error;
10984
10973
  }
10985
- const invalid = abortEarly ? panic : next2;
10974
+ const invalid = abortEarly ? panic : next;
10986
10975
  let ctx = {
10987
10976
  path,
10988
10977
  parent,
@@ -10999,7 +10988,7 @@ function createValidation(config) {
10999
10988
  const handleResult2 = (validOrError) => {
11000
10989
  if (ValidationError.isError(validOrError)) invalid(validOrError);
11001
10990
  else if (!validOrError) invalid(createError());
11002
- else next2(null);
10991
+ else next(null);
11003
10992
  };
11004
10993
  const handleError = (err) => {
11005
10994
  if (ValidationError.isError(err)) invalid(err);
@@ -11097,42 +11086,42 @@ class ReferenceSet extends Set {
11097
11086
  return new ReferenceSet(this.values());
11098
11087
  }
11099
11088
  merge(newItems, removeItems) {
11100
- const next2 = this.clone();
11101
- newItems.forEach((value) => next2.add(value));
11102
- removeItems.forEach((value) => next2.delete(value));
11103
- return next2;
11089
+ const next = this.clone();
11090
+ newItems.forEach((value) => next.add(value));
11091
+ removeItems.forEach((value) => next.delete(value));
11092
+ return next;
11104
11093
  }
11105
11094
  }
11106
11095
  function clone(src, seen = /* @__PURE__ */ new Map()) {
11107
11096
  if (isSchema(src) || !src || typeof src !== "object") return src;
11108
11097
  if (seen.has(src)) return seen.get(src);
11109
- let copy2;
11098
+ let copy;
11110
11099
  if (src instanceof Date) {
11111
- copy2 = new Date(src.getTime());
11112
- seen.set(src, copy2);
11100
+ copy = new Date(src.getTime());
11101
+ seen.set(src, copy);
11113
11102
  } else if (src instanceof RegExp) {
11114
- copy2 = new RegExp(src);
11115
- seen.set(src, copy2);
11103
+ copy = new RegExp(src);
11104
+ seen.set(src, copy);
11116
11105
  } else if (Array.isArray(src)) {
11117
- copy2 = new Array(src.length);
11118
- seen.set(src, copy2);
11119
- for (let i = 0; i < src.length; i++) copy2[i] = clone(src[i], seen);
11106
+ copy = new Array(src.length);
11107
+ seen.set(src, copy);
11108
+ for (let i = 0; i < src.length; i++) copy[i] = clone(src[i], seen);
11120
11109
  } else if (src instanceof Map) {
11121
- copy2 = /* @__PURE__ */ new Map();
11122
- seen.set(src, copy2);
11123
- for (const [k, v] of src.entries()) copy2.set(k, clone(v, seen));
11110
+ copy = /* @__PURE__ */ new Map();
11111
+ seen.set(src, copy);
11112
+ for (const [k, v] of src.entries()) copy.set(k, clone(v, seen));
11124
11113
  } else if (src instanceof Set) {
11125
- copy2 = /* @__PURE__ */ new Set();
11126
- seen.set(src, copy2);
11127
- for (const v of src) copy2.add(clone(v, seen));
11114
+ copy = /* @__PURE__ */ new Set();
11115
+ seen.set(src, copy);
11116
+ for (const v of src) copy.add(clone(v, seen));
11128
11117
  } else if (src instanceof Object) {
11129
- copy2 = {};
11130
- seen.set(src, copy2);
11131
- for (const [k, v] of Object.entries(src)) copy2[k] = clone(v, seen);
11118
+ copy = {};
11119
+ seen.set(src, copy);
11120
+ for (const [k, v] of Object.entries(src)) copy[k] = clone(v, seen);
11132
11121
  } else {
11133
11122
  throw Error(`Unable to clone ${src}`);
11134
11123
  }
11135
- return copy2;
11124
+ return copy;
11136
11125
  }
11137
11126
  function createStandardPath(path) {
11138
11127
  if (!(path != null && path.length)) {
@@ -11143,8 +11132,8 @@ function createStandardPath(path) {
11143
11132
  let inBrackets = false;
11144
11133
  let inQuotes = false;
11145
11134
  for (let i = 0; i < path.length; i++) {
11146
- const char2 = path[i];
11147
- if (char2 === "[" && !inQuotes) {
11135
+ const char = path[i];
11136
+ if (char === "[" && !inQuotes) {
11148
11137
  if (currentSegment) {
11149
11138
  segments.push(...currentSegment.split(".").filter(Boolean));
11150
11139
  currentSegment = "";
@@ -11152,7 +11141,7 @@ function createStandardPath(path) {
11152
11141
  inBrackets = true;
11153
11142
  continue;
11154
11143
  }
11155
- if (char2 === "]" && !inQuotes) {
11144
+ if (char === "]" && !inQuotes) {
11156
11145
  if (currentSegment) {
11157
11146
  if (/^\d+$/.test(currentSegment)) {
11158
11147
  segments.push(currentSegment);
@@ -11164,18 +11153,18 @@ function createStandardPath(path) {
11164
11153
  inBrackets = false;
11165
11154
  continue;
11166
11155
  }
11167
- if (char2 === '"') {
11156
+ if (char === '"') {
11168
11157
  inQuotes = !inQuotes;
11169
11158
  continue;
11170
11159
  }
11171
- if (char2 === "." && !inBrackets && !inQuotes) {
11160
+ if (char === "." && !inBrackets && !inQuotes) {
11172
11161
  if (currentSegment) {
11173
11162
  segments.push(currentSegment);
11174
11163
  currentSegment = "";
11175
11164
  }
11176
11165
  continue;
11177
11166
  }
11178
- currentSegment += char2;
11167
+ currentSegment += char;
11179
11168
  }
11180
11169
  if (currentSegment) {
11181
11170
  segments.push(...currentSegment.split(".").filter(Boolean));
@@ -11241,30 +11230,30 @@ class Schema {
11241
11230
  if (spec) Object.assign(this.spec, spec);
11242
11231
  return this;
11243
11232
  }
11244
- const next2 = Object.create(Object.getPrototypeOf(this));
11245
- next2.type = this.type;
11246
- next2._typeCheck = this._typeCheck;
11247
- next2._whitelist = this._whitelist.clone();
11248
- next2._blacklist = this._blacklist.clone();
11249
- next2.internalTests = Object.assign({}, this.internalTests);
11250
- next2.exclusiveTests = Object.assign({}, this.exclusiveTests);
11251
- next2.deps = [...this.deps];
11252
- next2.conditions = [...this.conditions];
11253
- next2.tests = [...this.tests];
11254
- next2.transforms = [...this.transforms];
11255
- next2.spec = clone(Object.assign({}, this.spec, spec));
11256
- return next2;
11233
+ const next = Object.create(Object.getPrototypeOf(this));
11234
+ next.type = this.type;
11235
+ next._typeCheck = this._typeCheck;
11236
+ next._whitelist = this._whitelist.clone();
11237
+ next._blacklist = this._blacklist.clone();
11238
+ next.internalTests = Object.assign({}, this.internalTests);
11239
+ next.exclusiveTests = Object.assign({}, this.exclusiveTests);
11240
+ next.deps = [...this.deps];
11241
+ next.conditions = [...this.conditions];
11242
+ next.tests = [...this.tests];
11243
+ next.transforms = [...this.transforms];
11244
+ next.spec = clone(Object.assign({}, this.spec, spec));
11245
+ return next;
11257
11246
  }
11258
11247
  label(label) {
11259
- let next2 = this.clone();
11260
- next2.spec.label = label;
11261
- return next2;
11248
+ let next = this.clone();
11249
+ next.spec.label = label;
11250
+ return next;
11262
11251
  }
11263
11252
  meta(...args) {
11264
11253
  if (args.length === 0) return this.spec.meta;
11265
- let next2 = this.clone();
11266
- next2.spec.meta = Object.assign(next2.spec.meta || {}, args[0]);
11267
- return next2;
11254
+ let next = this.clone();
11255
+ next.spec.meta = Object.assign(next.spec.meta || {}, args[0]);
11256
+ return next;
11268
11257
  }
11269
11258
  withMutation(fn) {
11270
11259
  let before = this._mutate;
@@ -11285,9 +11274,9 @@ class Schema {
11285
11274
  combined._blacklist = base._blacklist.merge(schema._blacklist, schema._whitelist);
11286
11275
  combined.tests = base.tests;
11287
11276
  combined.exclusiveTests = base.exclusiveTests;
11288
- combined.withMutation((next2) => {
11277
+ combined.withMutation((next) => {
11289
11278
  schema.tests.forEach((fn) => {
11290
- next2.test(fn.OPTIONS);
11279
+ next.test(fn.OPTIONS);
11291
11280
  });
11292
11281
  });
11293
11282
  combined.transforms = [...base.transforms, ...combined.transforms];
@@ -11353,7 +11342,7 @@ attempted value: ${formattedValue}
11353
11342
  }
11354
11343
  return value;
11355
11344
  }
11356
- _validate(_value, options = {}, panic, next2) {
11345
+ _validate(_value, options = {}, panic, next) {
11357
11346
  let {
11358
11347
  path,
11359
11348
  originalValue = _value,
@@ -11377,7 +11366,7 @@ attempted value: ${formattedValue}
11377
11366
  tests: initialTests
11378
11367
  }, panic, (initialErrors) => {
11379
11368
  if (initialErrors.length) {
11380
- return next2(initialErrors, value);
11369
+ return next(initialErrors, value);
11381
11370
  }
11382
11371
  this.runTests({
11383
11372
  path,
@@ -11385,14 +11374,14 @@ attempted value: ${formattedValue}
11385
11374
  originalValue,
11386
11375
  options,
11387
11376
  tests: this.tests
11388
- }, panic, next2);
11377
+ }, panic, next);
11389
11378
  });
11390
11379
  }
11391
11380
  /**
11392
11381
  * Executes a set of validations, either schema, produced Tests or a nested
11393
11382
  * schema validate result.
11394
11383
  */
11395
- runTests(runOptions, panic, next2) {
11384
+ runTests(runOptions, panic, next) {
11396
11385
  let fired = false;
11397
11386
  let {
11398
11387
  tests,
@@ -11409,7 +11398,7 @@ attempted value: ${formattedValue}
11409
11398
  let nextOnce = (arg) => {
11410
11399
  if (fired) return;
11411
11400
  fired = true;
11412
- next2(arg, value);
11401
+ next(arg, value);
11413
11402
  };
11414
11403
  let count = tests.length;
11415
11404
  let nestedErrors = [];
@@ -11462,7 +11451,7 @@ attempted value: ${formattedValue}
11462
11451
  [isIndex2 ? "index" : "key"]: k,
11463
11452
  path: isIndex2 || k.includes(".") ? `${parentPath || ""}[${isIndex2 ? k : `"${k}"`}]` : (parentPath ? `${parentPath}.` : "") + key
11464
11453
  });
11465
- return (_, panic, next2) => this.resolve(testOptions)._validate(value, testOptions, panic, next2);
11454
+ return (_, panic, next) => this.resolve(testOptions)._validate(value, testOptions, panic, next);
11466
11455
  }
11467
11456
  validate(value, options) {
11468
11457
  var _options$disableStack2;
@@ -11526,10 +11515,10 @@ attempted value: ${formattedValue}
11526
11515
  if (arguments.length === 0) {
11527
11516
  return this._getDefault();
11528
11517
  }
11529
- let next2 = this.clone({
11518
+ let next = this.clone({
11530
11519
  default: def
11531
11520
  });
11532
- return next2;
11521
+ return next;
11533
11522
  }
11534
11523
  strict(isStrict = true) {
11535
11524
  return this.clone({
@@ -11537,30 +11526,30 @@ attempted value: ${formattedValue}
11537
11526
  });
11538
11527
  }
11539
11528
  nullability(nullable, message) {
11540
- const next2 = this.clone({
11529
+ const next = this.clone({
11541
11530
  nullable
11542
11531
  });
11543
- next2.internalTests.nullable = createValidation({
11532
+ next.internalTests.nullable = createValidation({
11544
11533
  message,
11545
11534
  name: "nullable",
11546
11535
  test(value) {
11547
11536
  return value === null ? this.schema.spec.nullable : true;
11548
11537
  }
11549
11538
  });
11550
- return next2;
11539
+ return next;
11551
11540
  }
11552
11541
  optionality(optional, message) {
11553
- const next2 = this.clone({
11542
+ const next = this.clone({
11554
11543
  optional
11555
11544
  });
11556
- next2.internalTests.optionality = createValidation({
11545
+ next.internalTests.optionality = createValidation({
11557
11546
  message,
11558
11547
  name: "optionality",
11559
11548
  test(value) {
11560
11549
  return value === void 0 ? this.schema.spec.optional : true;
11561
11550
  }
11562
11551
  });
11563
- return next2;
11552
+ return next;
11564
11553
  }
11565
11554
  optional() {
11566
11555
  return this.optionality(true);
@@ -11575,15 +11564,15 @@ attempted value: ${formattedValue}
11575
11564
  return this.nullability(false, message);
11576
11565
  }
11577
11566
  required(message = mixed.required) {
11578
- return this.clone().withMutation((next2) => next2.nonNullable(message).defined(message));
11567
+ return this.clone().withMutation((next) => next.nonNullable(message).defined(message));
11579
11568
  }
11580
11569
  notRequired() {
11581
- return this.clone().withMutation((next2) => next2.nullable().optional());
11570
+ return this.clone().withMutation((next) => next.nullable().optional());
11582
11571
  }
11583
11572
  transform(fn) {
11584
- let next2 = this.clone();
11585
- next2.transforms.push(fn);
11586
- return next2;
11573
+ let next = this.clone();
11574
+ next.transforms.push(fn);
11575
+ return next;
11587
11576
  }
11588
11577
  /**
11589
11578
  * Adds a test function to the schema's queue of tests.
@@ -11622,39 +11611,39 @@ attempted value: ${formattedValue}
11622
11611
  }
11623
11612
  if (opts.message === void 0) opts.message = mixed.default;
11624
11613
  if (typeof opts.test !== "function") throw new TypeError("`test` is a required parameters");
11625
- let next2 = this.clone();
11614
+ let next = this.clone();
11626
11615
  let validate = createValidation(opts);
11627
- let isExclusive = opts.exclusive || opts.name && next2.exclusiveTests[opts.name] === true;
11616
+ let isExclusive = opts.exclusive || opts.name && next.exclusiveTests[opts.name] === true;
11628
11617
  if (opts.exclusive) {
11629
11618
  if (!opts.name) throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");
11630
11619
  }
11631
- if (opts.name) next2.exclusiveTests[opts.name] = !!opts.exclusive;
11632
- next2.tests = next2.tests.filter((fn) => {
11620
+ if (opts.name) next.exclusiveTests[opts.name] = !!opts.exclusive;
11621
+ next.tests = next.tests.filter((fn) => {
11633
11622
  if (fn.OPTIONS.name === opts.name) {
11634
11623
  if (isExclusive) return false;
11635
11624
  if (fn.OPTIONS.test === validate.OPTIONS.test) return false;
11636
11625
  }
11637
11626
  return true;
11638
11627
  });
11639
- next2.tests.push(validate);
11640
- return next2;
11628
+ next.tests.push(validate);
11629
+ return next;
11641
11630
  }
11642
11631
  when(keys2, options) {
11643
11632
  if (!Array.isArray(keys2) && typeof keys2 !== "string") {
11644
11633
  options = keys2;
11645
11634
  keys2 = ".";
11646
11635
  }
11647
- let next2 = this.clone();
11636
+ let next = this.clone();
11648
11637
  let deps = toArray(keys2).map((key) => new Reference(key));
11649
11638
  deps.forEach((dep) => {
11650
- if (dep.isSibling) next2.deps.push(dep.key);
11639
+ if (dep.isSibling) next.deps.push(dep.key);
11651
11640
  });
11652
- next2.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
11653
- return next2;
11641
+ next.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
11642
+ return next;
11654
11643
  }
11655
11644
  typeError(message) {
11656
- let next2 = this.clone();
11657
- next2.internalTests.typeError = createValidation({
11645
+ let next = this.clone();
11646
+ next.internalTests.typeError = createValidation({
11658
11647
  message,
11659
11648
  name: "typeError",
11660
11649
  skipAbsent: true,
@@ -11667,15 +11656,15 @@ attempted value: ${formattedValue}
11667
11656
  return true;
11668
11657
  }
11669
11658
  });
11670
- return next2;
11659
+ return next;
11671
11660
  }
11672
11661
  oneOf(enums, message = mixed.oneOf) {
11673
- let next2 = this.clone();
11662
+ let next = this.clone();
11674
11663
  enums.forEach((val) => {
11675
- next2._whitelist.add(val);
11676
- next2._blacklist.delete(val);
11664
+ next._whitelist.add(val);
11665
+ next._blacklist.delete(val);
11677
11666
  });
11678
- next2.internalTests.whiteList = createValidation({
11667
+ next.internalTests.whiteList = createValidation({
11679
11668
  message,
11680
11669
  name: "oneOf",
11681
11670
  skipAbsent: true,
@@ -11690,15 +11679,15 @@ attempted value: ${formattedValue}
11690
11679
  });
11691
11680
  }
11692
11681
  });
11693
- return next2;
11682
+ return next;
11694
11683
  }
11695
11684
  notOneOf(enums, message = mixed.notOneOf) {
11696
- let next2 = this.clone();
11685
+ let next = this.clone();
11697
11686
  enums.forEach((val) => {
11698
- next2._blacklist.add(val);
11699
- next2._whitelist.delete(val);
11687
+ next._blacklist.add(val);
11688
+ next._whitelist.delete(val);
11700
11689
  });
11701
- next2.internalTests.blacklist = createValidation({
11690
+ next.internalTests.blacklist = createValidation({
11702
11691
  message,
11703
11692
  name: "notOneOf",
11704
11693
  test(value) {
@@ -11713,12 +11702,12 @@ attempted value: ${formattedValue}
11713
11702
  return true;
11714
11703
  }
11715
11704
  });
11716
- return next2;
11705
+ return next;
11717
11706
  }
11718
11707
  strip(strip = true) {
11719
- let next2 = this.clone();
11720
- next2.spec.strip = strip;
11721
- return next2;
11708
+ let next = this.clone();
11709
+ next.spec.strip = strip;
11710
+ return next;
11722
11711
  }
11723
11712
  /**
11724
11713
  * Return a serialized description of the schema including validations, flags, types etc.
@@ -11726,23 +11715,23 @@ attempted value: ${formattedValue}
11726
11715
  * @param options Provide any needed context for resolving runtime schema alterations (lazy, when conditions, etc).
11727
11716
  */
11728
11717
  describe(options) {
11729
- const next2 = (options ? this.resolve(options) : this).clone();
11718
+ const next = (options ? this.resolve(options) : this).clone();
11730
11719
  const {
11731
11720
  label,
11732
11721
  meta,
11733
11722
  optional,
11734
11723
  nullable
11735
- } = next2.spec;
11724
+ } = next.spec;
11736
11725
  const description = {
11737
11726
  meta,
11738
11727
  label,
11739
11728
  optional,
11740
11729
  nullable,
11741
- default: next2.getDefault(options),
11742
- type: next2.type,
11743
- oneOf: next2._whitelist.describe(),
11744
- notOneOf: next2._blacklist.describe(),
11745
- tests: next2.tests.filter((n, idx, list) => list.findIndex((c) => c.OPTIONS.name === n.OPTIONS.name) === idx).map((fn) => {
11730
+ default: next.getDefault(options),
11731
+ type: next.type,
11732
+ oneOf: next._whitelist.describe(),
11733
+ notOneOf: next._blacklist.describe(),
11734
+ tests: next.tests.filter((n, idx, list) => list.findIndex((c) => c.OPTIONS.name === n.OPTIONS.name) === idx).map((fn) => {
11746
11735
  const params = fn.OPTIONS.params && options ? resolveParams(Object.assign({}, fn.OPTIONS.params), options) : fn.OPTIONS.params;
11747
11736
  return {
11748
11737
  name: fn.OPTIONS.name,
@@ -11898,17 +11887,17 @@ class StringSchema extends Schema {
11898
11887
  return schema;
11899
11888
  });
11900
11889
  }
11901
- length(length2, message = string.length) {
11890
+ length(length, message = string.length) {
11902
11891
  return this.test({
11903
11892
  message,
11904
11893
  name: "length",
11905
11894
  exclusive: true,
11906
11895
  params: {
11907
- length: length2
11896
+ length
11908
11897
  },
11909
11898
  skipAbsent: true,
11910
11899
  test(value) {
11911
- return value.length === this.resolve(length2);
11900
+ return value.length === this.resolve(length);
11912
11901
  }
11913
11902
  });
11914
11903
  }
@@ -12240,9 +12229,9 @@ function sortFields(fields, excludedEdges = []) {
12240
12229
  let nodes = /* @__PURE__ */ new Set();
12241
12230
  let excludes = new Set(excludedEdges.map(([a, b]) => `${a}-${b}`));
12242
12231
  function addNode(depPath, key) {
12243
- let node2 = propertyExprExports.split(depPath)[0];
12244
- nodes.add(node2);
12245
- if (!excludes.has(`${key}-${node2}`)) edges.push([key, node2]);
12232
+ let node = propertyExprExports.split(depPath)[0];
12233
+ nodes.add(node);
12234
+ if (!excludes.has(`${key}-${node}`)) edges.push([key, node]);
12246
12235
  }
12247
12236
  for (const key of Object.keys(fields)) {
12248
12237
  let value = fields[key];
@@ -12381,7 +12370,7 @@ class ObjectSchema extends Schema {
12381
12370
  }
12382
12371
  return isChanged ? intermediateValue : value;
12383
12372
  }
12384
- _validate(_value, options = {}, panic, next2) {
12373
+ _validate(_value, options = {}, panic, next) {
12385
12374
  let {
12386
12375
  from: from2 = [],
12387
12376
  originalValue = _value,
@@ -12395,7 +12384,7 @@ class ObjectSchema extends Schema {
12395
12384
  options.originalValue = originalValue;
12396
12385
  super._validate(_value, options, panic, (objectErrors, value) => {
12397
12386
  if (!recursive || !isObject2(value)) {
12398
- next2(objectErrors, value);
12387
+ next(objectErrors, value);
12399
12388
  return;
12400
12389
  }
12401
12390
  originalValue = originalValue || value;
@@ -12419,26 +12408,26 @@ class ObjectSchema extends Schema {
12419
12408
  originalValue,
12420
12409
  options
12421
12410
  }, panic, (fieldErrors) => {
12422
- next2(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
12411
+ next(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
12423
12412
  });
12424
12413
  });
12425
12414
  }
12426
12415
  clone(spec) {
12427
- const next2 = super.clone(spec);
12428
- next2.fields = Object.assign({}, this.fields);
12429
- next2._nodes = this._nodes;
12430
- next2._excludedEdges = this._excludedEdges;
12431
- next2._sortErrors = this._sortErrors;
12432
- return next2;
12416
+ const next = super.clone(spec);
12417
+ next.fields = Object.assign({}, this.fields);
12418
+ next._nodes = this._nodes;
12419
+ next._excludedEdges = this._excludedEdges;
12420
+ next._sortErrors = this._sortErrors;
12421
+ return next;
12433
12422
  }
12434
12423
  concat(schema) {
12435
- let next2 = super.concat(schema);
12436
- let nextFields = next2.fields;
12424
+ let next = super.concat(schema);
12425
+ let nextFields = next.fields;
12437
12426
  for (let [field, schemaOrRef] of Object.entries(this.fields)) {
12438
12427
  const target = nextFields[field];
12439
12428
  nextFields[field] = target === void 0 ? schemaOrRef : target;
12440
12429
  }
12441
- return next2.withMutation((s) => (
12430
+ return next.withMutation((s) => (
12442
12431
  // XXX: excludes here is wrong
12443
12432
  s.setFields(nextFields, [...this._excludedEdges, ...schema._excludedEdges])
12444
12433
  ));
@@ -12466,21 +12455,21 @@ class ObjectSchema extends Schema {
12466
12455
  return dft;
12467
12456
  }
12468
12457
  setFields(shape, excludedEdges) {
12469
- let next2 = this.clone();
12470
- next2.fields = shape;
12471
- next2._nodes = sortFields(shape, excludedEdges);
12472
- next2._sortErrors = sortByKeyOrder(Object.keys(shape));
12473
- if (excludedEdges) next2._excludedEdges = excludedEdges;
12474
- return next2;
12458
+ let next = this.clone();
12459
+ next.fields = shape;
12460
+ next._nodes = sortFields(shape, excludedEdges);
12461
+ next._sortErrors = sortByKeyOrder(Object.keys(shape));
12462
+ if (excludedEdges) next._excludedEdges = excludedEdges;
12463
+ return next;
12475
12464
  }
12476
12465
  shape(additions, excludes = []) {
12477
- return this.clone().withMutation((next2) => {
12478
- let edges = next2._excludedEdges;
12466
+ return this.clone().withMutation((next) => {
12467
+ let edges = next._excludedEdges;
12479
12468
  if (excludes.length) {
12480
12469
  if (!Array.isArray(excludes[0])) excludes = [excludes];
12481
- edges = [...next2._excludedEdges, ...excludes];
12470
+ edges = [...next._excludedEdges, ...excludes];
12482
12471
  }
12483
- return next2.setFields(Object.assign(next2.fields, additions), edges);
12472
+ return next.setFields(Object.assign(next.fields, additions), edges);
12484
12473
  });
12485
12474
  }
12486
12475
  partial() {
@@ -12491,8 +12480,8 @@ class ObjectSchema extends Schema {
12491
12480
  return this.setFields(partial);
12492
12481
  }
12493
12482
  deepPartial() {
12494
- const next2 = deepPartial(this);
12495
- return next2;
12483
+ const next = deepPartial(this);
12484
+ return next;
12496
12485
  }
12497
12486
  pick(keys2) {
12498
12487
  const picked = {};
@@ -12555,7 +12544,7 @@ class ObjectSchema extends Schema {
12555
12544
  message = noAllow;
12556
12545
  noAllow = true;
12557
12546
  }
12558
- let next2 = this.test({
12547
+ let next = this.test({
12559
12548
  name: "noUnknown",
12560
12549
  exclusive: true,
12561
12550
  message,
@@ -12569,8 +12558,8 @@ class ObjectSchema extends Schema {
12569
12558
  });
12570
12559
  }
12571
12560
  });
12572
- next2.spec.noUnknown = noAllow;
12573
- return next2;
12561
+ next.spec.noUnknown = noAllow;
12562
+ return next;
12574
12563
  }
12575
12564
  unknown(allow = true, message = object.noUnknown) {
12576
12565
  return this.noUnknown(!allow, message);
@@ -12593,10 +12582,10 @@ class ObjectSchema extends Schema {
12593
12582
  return this.transformKeys((key) => tinyCaseExports.snakeCase(key).toUpperCase());
12594
12583
  }
12595
12584
  describe(options) {
12596
- const next2 = (options ? this.resolve(options) : this).clone();
12585
+ const next = (options ? this.resolve(options) : this).clone();
12597
12586
  const base = super.describe(options);
12598
12587
  base.fields = {};
12599
- for (const [key, value] of Object.entries(next2.fields)) {
12588
+ for (const [key, value] of Object.entries(next.fields)) {
12600
12589
  var _innerOptions2;
12601
12590
  let innerOptions = options;
12602
12591
  if ((_innerOptions2 = innerOptions) != null && _innerOptions2.value) {
@@ -12881,806 +12870,22 @@ const IMAGES = {
12881
12870
  Us,
12882
12871
  DefaultLang
12883
12872
  };
12884
- function sheetForTag(tag) {
12885
- if (tag.sheet) {
12886
- return tag.sheet;
12887
- }
12888
- for (var i = 0; i < document.styleSheets.length; i++) {
12889
- if (document.styleSheets[i].ownerNode === tag) {
12890
- return document.styleSheets[i];
12891
- }
12892
- }
12893
- return void 0;
12894
- }
12895
- function createStyleElement(options) {
12896
- var tag = document.createElement("style");
12897
- tag.setAttribute("data-emotion", options.key);
12898
- if (options.nonce !== void 0) {
12899
- tag.setAttribute("nonce", options.nonce);
12900
- }
12901
- tag.appendChild(document.createTextNode(""));
12902
- tag.setAttribute("data-s", "");
12903
- return tag;
12904
- }
12905
- var StyleSheet = /* @__PURE__ */ (function() {
12906
- function StyleSheet2(options) {
12907
- var _this = this;
12908
- this._insertTag = function(tag) {
12909
- var before;
12910
- if (_this.tags.length === 0) {
12911
- if (_this.insertionPoint) {
12912
- before = _this.insertionPoint.nextSibling;
12913
- } else if (_this.prepend) {
12914
- before = _this.container.firstChild;
12915
- } else {
12916
- before = _this.before;
12917
- }
12918
- } else {
12919
- before = _this.tags[_this.tags.length - 1].nextSibling;
12920
- }
12921
- _this.container.insertBefore(tag, before);
12922
- _this.tags.push(tag);
12923
- };
12924
- this.isSpeedy = options.speedy === void 0 ? true : options.speedy;
12925
- this.tags = [];
12926
- this.ctr = 0;
12927
- this.nonce = options.nonce;
12928
- this.key = options.key;
12929
- this.container = options.container;
12930
- this.prepend = options.prepend;
12931
- this.insertionPoint = options.insertionPoint;
12932
- this.before = null;
12933
- }
12934
- var _proto = StyleSheet2.prototype;
12935
- _proto.hydrate = function hydrate(nodes) {
12936
- nodes.forEach(this._insertTag);
12937
- };
12938
- _proto.insert = function insert(rule) {
12939
- if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
12940
- this._insertTag(createStyleElement(this));
12941
- }
12942
- var tag = this.tags[this.tags.length - 1];
12943
- if (this.isSpeedy) {
12944
- var sheet = sheetForTag(tag);
12945
- try {
12946
- sheet.insertRule(rule, sheet.cssRules.length);
12947
- } catch (e) {
12948
- }
12949
- } else {
12950
- tag.appendChild(document.createTextNode(rule));
12951
- }
12952
- this.ctr++;
12953
- };
12954
- _proto.flush = function flush() {
12955
- this.tags.forEach(function(tag) {
12956
- var _tag$parentNode;
12957
- return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
12958
- });
12959
- this.tags = [];
12960
- this.ctr = 0;
12961
- };
12962
- return StyleSheet2;
12963
- })();
12964
- var MS = "-ms-";
12965
- var MOZ = "-moz-";
12966
- var WEBKIT = "-webkit-";
12967
- var COMMENT = "comm";
12968
- var RULESET = "rule";
12969
- var DECLARATION = "decl";
12970
- var IMPORT = "@import";
12971
- var KEYFRAMES = "@keyframes";
12972
- var LAYER = "@layer";
12973
- var abs = Math.abs;
12974
- var from = String.fromCharCode;
12975
- var assign = Object.assign;
12976
- function hash(value, length2) {
12977
- return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
12978
- }
12979
- function trim(value) {
12980
- return value.trim();
12981
- }
12982
- function match(value, pattern) {
12983
- return (value = pattern.exec(value)) ? value[0] : value;
12984
- }
12985
- function replace(value, pattern, replacement) {
12986
- return value.replace(pattern, replacement);
12987
- }
12988
- function indexof(value, search) {
12989
- return value.indexOf(search);
12990
- }
12991
- function charat(value, index) {
12992
- return value.charCodeAt(index) | 0;
12993
- }
12994
- function substr(value, begin, end) {
12995
- return value.slice(begin, end);
12996
- }
12997
- function strlen(value) {
12998
- return value.length;
12999
- }
13000
- function sizeof(value) {
13001
- return value.length;
13002
- }
13003
- function append(value, array2) {
13004
- return array2.push(value), value;
13005
- }
13006
- function combine(array2, callback) {
13007
- return array2.map(callback).join("");
13008
- }
13009
- var line = 1;
13010
- var column = 1;
13011
- var length = 0;
13012
- var position = 0;
13013
- var character = 0;
13014
- var characters = "";
13015
- function node(value, root2, parent, type, props, children, length2) {
13016
- return { value, root: root2, parent, type, props, children, line, column, length: length2, return: "" };
13017
- }
13018
- function copy(root2, props) {
13019
- return assign(node("", null, null, "", null, null, 0), root2, { length: -root2.length }, props);
13020
- }
13021
- function char() {
13022
- return character;
13023
- }
13024
- function prev() {
13025
- character = position > 0 ? charat(characters, --position) : 0;
13026
- if (column--, character === 10)
13027
- column = 1, line--;
13028
- return character;
13029
- }
13030
- function next() {
13031
- character = position < length ? charat(characters, position++) : 0;
13032
- if (column++, character === 10)
13033
- column = 1, line++;
13034
- return character;
13035
- }
13036
- function peek() {
13037
- return charat(characters, position);
13038
- }
13039
- function caret() {
13040
- return position;
13041
- }
13042
- function slice(begin, end) {
13043
- return substr(characters, begin, end);
13044
- }
13045
- function token(type) {
13046
- switch (type) {
13047
- // \0 \t \n \r \s whitespace token
13048
- case 0:
13049
- case 9:
13050
- case 10:
13051
- case 13:
13052
- case 32:
13053
- return 5;
13054
- // ! + , / > @ ~ isolate token
13055
- case 33:
13056
- case 43:
13057
- case 44:
13058
- case 47:
13059
- case 62:
13060
- case 64:
13061
- case 126:
13062
- // ; { } breakpoint token
13063
- case 59:
13064
- case 123:
13065
- case 125:
13066
- return 4;
13067
- // : accompanied token
13068
- case 58:
13069
- return 3;
13070
- // " ' ( [ opening delimit token
13071
- case 34:
13072
- case 39:
13073
- case 40:
13074
- case 91:
13075
- return 2;
13076
- // ) ] closing delimit token
13077
- case 41:
13078
- case 93:
13079
- return 1;
13080
- }
13081
- return 0;
13082
- }
13083
- function alloc(value) {
13084
- return line = column = 1, length = strlen(characters = value), position = 0, [];
13085
- }
13086
- function dealloc(value) {
13087
- return characters = "", value;
13088
- }
13089
- function delimit(type) {
13090
- return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
13091
- }
13092
- function whitespace(type) {
13093
- while (character = peek())
13094
- if (character < 33)
13095
- next();
13096
- else
13097
- break;
13098
- return token(type) > 2 || token(character) > 3 ? "" : " ";
13099
- }
13100
- function escaping(index, count) {
13101
- while (--count && next())
13102
- if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
13103
- break;
13104
- return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
13105
- }
13106
- function delimiter(type) {
13107
- while (next())
13108
- switch (character) {
13109
- // ] ) " '
13110
- case type:
13111
- return position;
13112
- // " '
13113
- case 34:
13114
- case 39:
13115
- if (type !== 34 && type !== 39)
13116
- delimiter(character);
13117
- break;
13118
- // (
13119
- case 40:
13120
- if (type === 41)
13121
- delimiter(type);
13122
- break;
13123
- // \
13124
- case 92:
13125
- next();
13126
- break;
13127
- }
13128
- return position;
13129
- }
13130
- function commenter(type, index) {
13131
- while (next())
13132
- if (type + character === 47 + 10)
13133
- break;
13134
- else if (type + character === 42 + 42 && peek() === 47)
13135
- break;
13136
- return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
13137
- }
13138
- function identifier(index) {
13139
- while (!token(peek()))
13140
- next();
13141
- return slice(index, position);
13142
- }
13143
- function compile(value) {
13144
- return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
13145
- }
13146
- function parse(value, root2, parent, rule, rules, rulesets, pseudo, points, declarations) {
13147
- var index = 0;
13148
- var offset2 = 0;
13149
- var length2 = pseudo;
13150
- var atrule = 0;
13151
- var property = 0;
13152
- var previous = 0;
13153
- var variable = 1;
13154
- var scanning = 1;
13155
- var ampersand = 1;
13156
- var character2 = 0;
13157
- var type = "";
13158
- var props = rules;
13159
- var children = rulesets;
13160
- var reference = rule;
13161
- var characters2 = type;
13162
- while (scanning)
13163
- switch (previous = character2, character2 = next()) {
13164
- // (
13165
- case 40:
13166
- if (previous != 108 && charat(characters2, length2 - 1) == 58) {
13167
- if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
13168
- ampersand = -1;
13169
- break;
13170
- }
13171
- // " ' [
13172
- case 34:
13173
- case 39:
13174
- case 91:
13175
- characters2 += delimit(character2);
13176
- break;
13177
- // \t \n \r \s
13178
- case 9:
13179
- case 10:
13180
- case 13:
13181
- case 32:
13182
- characters2 += whitespace(previous);
13183
- break;
13184
- // \
13185
- case 92:
13186
- characters2 += escaping(caret() - 1, 7);
13187
- continue;
13188
- // /
13189
- case 47:
13190
- switch (peek()) {
13191
- case 42:
13192
- case 47:
13193
- append(comment(commenter(next(), caret()), root2, parent), declarations);
13194
- break;
13195
- default:
13196
- characters2 += "/";
13197
- }
13198
- break;
13199
- // {
13200
- case 123 * variable:
13201
- points[index++] = strlen(characters2) * ampersand;
13202
- // } ; \0
13203
- case 125 * variable:
13204
- case 59:
13205
- case 0:
13206
- switch (character2) {
13207
- // \0 }
13208
- case 0:
13209
- case 125:
13210
- scanning = 0;
13211
- // ;
13212
- case 59 + offset2:
13213
- if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
13214
- if (property > 0 && strlen(characters2) - length2)
13215
- append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
13216
- break;
13217
- // @ ;
13218
- case 59:
13219
- characters2 += ";";
13220
- // { rule/at-rule
13221
- default:
13222
- append(reference = ruleset(characters2, root2, parent, index, offset2, rules, points, type, props = [], children = [], length2), rulesets);
13223
- if (character2 === 123)
13224
- if (offset2 === 0)
13225
- parse(characters2, root2, reference, reference, props, rulesets, length2, points, children);
13226
- else
13227
- switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
13228
- // d l m s
13229
- case 100:
13230
- case 108:
13231
- case 109:
13232
- case 115:
13233
- 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);
13234
- break;
13235
- default:
13236
- parse(characters2, reference, reference, reference, [""], children, 0, points, children);
13237
- }
13238
- }
13239
- index = offset2 = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
13240
- break;
13241
- // :
13242
- case 58:
13243
- length2 = 1 + strlen(characters2), property = previous;
13244
- default:
13245
- if (variable < 1) {
13246
- if (character2 == 123)
13247
- --variable;
13248
- else if (character2 == 125 && variable++ == 0 && prev() == 125)
13249
- continue;
13250
- }
13251
- switch (characters2 += from(character2), character2 * variable) {
13252
- // &
13253
- case 38:
13254
- ampersand = offset2 > 0 ? 1 : (characters2 += "\f", -1);
13255
- break;
13256
- // ,
13257
- case 44:
13258
- points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
13259
- break;
13260
- // @
13261
- case 64:
13262
- if (peek() === 45)
13263
- characters2 += delimit(next());
13264
- atrule = peek(), offset2 = length2 = strlen(type = characters2 += identifier(caret())), character2++;
13265
- break;
13266
- // -
13267
- case 45:
13268
- if (previous === 45 && strlen(characters2) == 2)
13269
- variable = 0;
13270
- }
13271
- }
13272
- return rulesets;
13273
- }
13274
- function ruleset(value, root2, parent, index, offset2, rules, points, type, props, children, length2) {
13275
- var post = offset2 - 1;
13276
- var rule = offset2 === 0 ? rules : [""];
13277
- var size = sizeof(rule);
13278
- for (var i = 0, j = 0, k = 0; i < index; ++i)
13279
- for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
13280
- if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
13281
- props[k++] = z;
13282
- return node(value, root2, parent, offset2 === 0 ? RULESET : type, props, children, length2);
13283
- }
13284
- function comment(value, root2, parent) {
13285
- return node(value, root2, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
13286
- }
13287
- function declaration(value, root2, parent, length2) {
13288
- return node(value, root2, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
13289
- }
13290
- function serialize(children, callback) {
13291
- var output = "";
13292
- var length2 = sizeof(children);
13293
- for (var i = 0; i < length2; i++)
13294
- output += callback(children[i], i, children, callback) || "";
13295
- return output;
13296
- }
13297
- function stringify(element, index, children, callback) {
13298
- switch (element.type) {
13299
- case LAYER:
13300
- if (element.children.length) break;
13301
- case IMPORT:
13302
- case DECLARATION:
13303
- return element.return = element.return || element.value;
13304
- case COMMENT:
13305
- return "";
13306
- case KEYFRAMES:
13307
- return element.return = element.value + "{" + serialize(element.children, callback) + "}";
13308
- case RULESET:
13309
- element.value = element.props.join(",");
13310
- }
13311
- return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
13312
- }
13313
- function middleware(collection) {
13314
- var length2 = sizeof(collection);
13315
- return function(element, index, children, callback) {
13316
- var output = "";
13317
- for (var i = 0; i < length2; i++)
13318
- output += collection[i](element, index, children, callback) || "";
13319
- return output;
13320
- };
13321
- }
13322
- function rulesheet(callback) {
13323
- return function(element) {
13324
- if (!element.root) {
13325
- if (element = element.return)
13326
- callback(element);
13327
- }
13328
- };
13329
- }
13330
- var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
13331
- var previous = 0;
13332
- var character2 = 0;
13333
- while (true) {
13334
- previous = character2;
13335
- character2 = peek();
13336
- if (previous === 38 && character2 === 12) {
13337
- points[index] = 1;
13338
- }
13339
- if (token(character2)) {
13340
- break;
13341
- }
13342
- next();
13343
- }
13344
- return slice(begin, position);
13345
- };
13346
- var toRules = function toRules2(parsed, points) {
13347
- var index = -1;
13348
- var character2 = 44;
13349
- do {
13350
- switch (token(character2)) {
13351
- case 0:
13352
- if (character2 === 38 && peek() === 12) {
13353
- points[index] = 1;
13354
- }
13355
- parsed[index] += identifierWithPointTracking(position - 1, points, index);
13356
- break;
13357
- case 2:
13358
- parsed[index] += delimit(character2);
13359
- break;
13360
- case 4:
13361
- if (character2 === 44) {
13362
- parsed[++index] = peek() === 58 ? "&\f" : "";
13363
- points[index] = parsed[index].length;
13364
- break;
13365
- }
13366
- // fallthrough
13367
- default:
13368
- parsed[index] += from(character2);
13369
- }
13370
- } while (character2 = next());
13371
- return parsed;
13372
- };
13373
- var getRules = function getRules2(value, points) {
13374
- return dealloc(toRules(alloc(value), points));
13375
- };
13376
- var fixedElements = /* @__PURE__ */ new WeakMap();
13377
- var compat = function compat2(element) {
13378
- if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
13379
- // negative .length indicates that this rule has been already prefixed
13380
- element.length < 1) {
13381
- return;
13382
- }
13383
- var value = element.value;
13384
- var parent = element.parent;
13385
- var isImplicitRule = element.column === parent.column && element.line === parent.line;
13386
- while (parent.type !== "rule") {
13387
- parent = parent.parent;
13388
- if (!parent) return;
13389
- }
13390
- if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
13391
- return;
13392
- }
13393
- if (isImplicitRule) {
13394
- return;
13395
- }
13396
- fixedElements.set(element, true);
13397
- var points = [];
13398
- var rules = getRules(value, points);
13399
- var parentRules = parent.props;
13400
- for (var i = 0, k = 0; i < rules.length; i++) {
13401
- for (var j = 0; j < parentRules.length; j++, k++) {
13402
- element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
13403
- }
13404
- }
13405
- };
13406
- var removeLabel = function removeLabel2(element) {
13407
- if (element.type === "decl") {
13408
- var value = element.value;
13409
- if (
13410
- // charcode for l
13411
- value.charCodeAt(0) === 108 && // charcode for b
13412
- value.charCodeAt(2) === 98
13413
- ) {
13414
- element["return"] = "";
13415
- element.value = "";
13416
- }
13417
- }
13418
- };
13419
- function prefix(value, length2) {
13420
- switch (hash(value, length2)) {
13421
- // color-adjust
13422
- case 5103:
13423
- return WEBKIT + "print-" + value + value;
13424
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
13425
- case 5737:
13426
- case 4201:
13427
- case 3177:
13428
- case 3433:
13429
- case 1641:
13430
- case 4457:
13431
- case 2921:
13432
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
13433
- case 5572:
13434
- case 6356:
13435
- case 5844:
13436
- case 3191:
13437
- case 6645:
13438
- case 3005:
13439
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
13440
- case 6391:
13441
- case 5879:
13442
- case 5623:
13443
- case 6135:
13444
- case 4599:
13445
- case 4855:
13446
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
13447
- case 4215:
13448
- case 6389:
13449
- case 5109:
13450
- case 5365:
13451
- case 5621:
13452
- case 3829:
13453
- return WEBKIT + value + value;
13454
- // appearance, user-select, transform, hyphens, text-size-adjust
13455
- case 5349:
13456
- case 4246:
13457
- case 4810:
13458
- case 6968:
13459
- case 2756:
13460
- return WEBKIT + value + MOZ + value + MS + value + value;
13461
- // flex, flex-direction
13462
- case 6828:
13463
- case 4268:
13464
- return WEBKIT + value + MS + value + value;
13465
- // order
13466
- case 6165:
13467
- return WEBKIT + value + MS + "flex-" + value + value;
13468
- // align-items
13469
- case 5187:
13470
- return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
13471
- // align-self
13472
- case 5443:
13473
- return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
13474
- // align-content
13475
- case 4675:
13476
- return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
13477
- // flex-shrink
13478
- case 5548:
13479
- return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
13480
- // flex-basis
13481
- case 5292:
13482
- return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
13483
- // flex-grow
13484
- case 6060:
13485
- return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
13486
- // transition
13487
- case 4554:
13488
- return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
13489
- // cursor
13490
- case 6187:
13491
- return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
13492
- // background, background-image
13493
- case 5495:
13494
- case 3959:
13495
- return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
13496
- // justify-content
13497
- case 4968:
13498
- return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
13499
- // (margin|padding)-inline-(start|end)
13500
- case 4095:
13501
- case 3583:
13502
- case 4068:
13503
- case 2532:
13504
- return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
13505
- // (min|max)?(width|height|inline-size|block-size)
13506
- case 8116:
13507
- case 7059:
13508
- case 5753:
13509
- case 5535:
13510
- case 5445:
13511
- case 5701:
13512
- case 4933:
13513
- case 4677:
13514
- case 5533:
13515
- case 5789:
13516
- case 5021:
13517
- case 4765:
13518
- if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
13519
- // (m)ax-content, (m)in-content
13520
- case 109:
13521
- if (charat(value, length2 + 4) !== 45) break;
13522
- // (f)ill-available, (f)it-content
13523
- case 102:
13524
- return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
13525
- // (s)tretch
13526
- case 115:
13527
- return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
13528
- }
13529
- break;
13530
- // position: sticky
13531
- case 4949:
13532
- if (charat(value, length2 + 1) !== 115) break;
13533
- // display: (flex|inline-flex)
13534
- case 6444:
13535
- switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
13536
- // stic(k)y
13537
- case 107:
13538
- return replace(value, ":", ":" + WEBKIT) + value;
13539
- // (inline-)?fl(e)x
13540
- case 101:
13541
- return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
13542
- }
13543
- break;
13544
- // writing-mode
13545
- case 5936:
13546
- switch (charat(value, length2 + 11)) {
13547
- // vertical-l(r)
13548
- case 114:
13549
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
13550
- // vertical-r(l)
13551
- case 108:
13552
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
13553
- // horizontal(-)tb
13554
- case 45:
13555
- return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
13556
- }
13557
- return WEBKIT + value + MS + value + value;
13558
- }
13559
- return value;
13560
- }
13561
- var prefixer = function prefixer2(element, index, children, callback) {
13562
- if (element.length > -1) {
13563
- if (!element["return"]) switch (element.type) {
13564
- case DECLARATION:
13565
- element["return"] = prefix(element.value, element.length);
13566
- break;
13567
- case KEYFRAMES:
13568
- return serialize([copy(element, {
13569
- value: replace(element.value, "@", "@" + WEBKIT)
13570
- })], callback);
13571
- case RULESET:
13572
- if (element.length) return combine(element.props, function(value) {
13573
- switch (match(value, /(::plac\w+|:read-\w+)/)) {
13574
- // :read-(only|write)
13575
- case ":read-only":
13576
- case ":read-write":
13577
- return serialize([copy(element, {
13578
- props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
13579
- })], callback);
13580
- // :placeholder
13581
- case "::placeholder":
13582
- return serialize([copy(element, {
13583
- props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
13584
- }), copy(element, {
13585
- props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
13586
- }), copy(element, {
13587
- props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
13588
- })], callback);
13589
- }
13590
- return "";
13591
- });
13592
- }
13593
- }
13594
- };
13595
- var defaultStylisPlugins = [prefixer];
13596
- var createCache = function createCache2(options) {
13597
- var key = options.key;
13598
- if (key === "css") {
13599
- var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
13600
- Array.prototype.forEach.call(ssrStyles, function(node2) {
13601
- var dataEmotionAttribute = node2.getAttribute("data-emotion");
13602
- if (dataEmotionAttribute.indexOf(" ") === -1) {
13603
- return;
13604
- }
13605
- document.head.appendChild(node2);
13606
- node2.setAttribute("data-s", "");
13607
- });
13608
- }
13609
- var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
13610
- var inserted = {};
13611
- var container;
13612
- var nodesToHydrate = [];
13613
- {
13614
- container = options.container || document.head;
13615
- Array.prototype.forEach.call(
13616
- // this means we will ignore elements which don't have a space in them which
13617
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
13618
- document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
13619
- function(node2) {
13620
- var attrib = node2.getAttribute("data-emotion").split(" ");
13621
- for (var i = 1; i < attrib.length; i++) {
13622
- inserted[attrib[i]] = true;
13623
- }
13624
- nodesToHydrate.push(node2);
13625
- }
13626
- );
13627
- }
13628
- var _insert;
13629
- var omnipresentPlugins = [compat, removeLabel];
13630
- {
13631
- var currentSheet;
13632
- var finalizingPlugins = [stringify, rulesheet(function(rule) {
13633
- currentSheet.insert(rule);
13634
- })];
13635
- var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
13636
- var stylis = function stylis2(styles2) {
13637
- return serialize(compile(styles2), serializer);
13638
- };
13639
- _insert = function insert(selector, serialized, sheet, shouldCache) {
13640
- currentSheet = sheet;
13641
- stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
13642
- if (shouldCache) {
13643
- cache.inserted[serialized.name] = true;
13644
- }
13645
- };
13646
- }
13647
- var cache = {
13648
- key,
13649
- sheet: new StyleSheet({
13650
- key,
13651
- container,
13652
- nonce: options.nonce,
13653
- speedy: options.speedy,
13654
- prepend: options.prepend,
13655
- insertionPoint: options.insertionPoint
13656
- }),
13657
- nonce: options.nonce,
13658
- inserted,
13659
- registered: {},
13660
- insert: _insert
13661
- };
13662
- cache.sheet.hydrate(nodesToHydrate);
13663
- return cache;
13664
- };
13665
12873
  const isolatedTheme = material.createTheme({
13666
12874
  typography: {
13667
- fontFamily: "'IBM Plex Sans', sans-serif"
12875
+ fontFamily: "'Inter', sans-serif"
13668
12876
  }
13669
12877
  });
13670
12878
  function createEmotionCache() {
13671
- if (typeof document === "undefined") {
13672
- return createCache({ key: "sixseconds", prepend: true });
12879
+ const isBrowser = typeof document !== "undefined";
12880
+ if (!isBrowser) {
12881
+ return createCache({ key: "sixseconds" });
13673
12882
  }
13674
- let insertionPoint;
13675
12883
  const metaTag = document.querySelector('meta[name="sixseconds-insertion-point"]');
13676
- if (metaTag) {
13677
- insertionPoint = metaTag;
13678
- }
12884
+ const insertionPoint = metaTag || void 0;
13679
12885
  return createCache({
13680
12886
  key: "sixseconds",
13681
- prepend: false,
13682
- // false = append after insertionPoint (keeps order stable)
13683
- ...insertionPoint ? { insertionPoint } : { prepend: true }
12887
+ insertionPoint,
12888
+ prepend: !insertionPoint
13684
12889
  });
13685
12890
  }
13686
12891
  function MuiProvider({ children }) {
@@ -13717,17 +12922,11 @@ const DangerDialog = ({
13717
12922
  material.Typography,
13718
12923
  {
13719
12924
  variant: "h5",
13720
- sx: { fontSize: "20px", fontWeight: "600", color: "#1a1c1e", fontFamily: "'IBM Plex Sans', sans-serif" },
12925
+ sx: { fontSize: "20px", fontWeight: "600", color: "#1a1c1e", fontFamily: "'Inter', sans-serif" },
13721
12926
  children: title
13722
12927
  }
13723
12928
  ),
13724
- /* @__PURE__ */ jsxRuntime.jsx(
13725
- material.Typography,
13726
- {
13727
- sx: { fontSize: "15px", fontWeight: "400", color: "#5f6368", fontFamily: "'IBM Plex Sans', sans-serif" },
13728
- children: description
13729
- }
13730
- )
12929
+ /* @__PURE__ */ jsxRuntime.jsx(material.Typography, { sx: { fontSize: "15px", fontWeight: "400", color: "#5f6368", fontFamily: "'Inter', sans-serif" }, children: description })
13731
12930
  ] }),
13732
12931
  /* @__PURE__ */ jsxRuntime.jsxs(material.Stack, { direction: "row", alignItems: "center", spacing: 2, sx: { mt: 3 }, children: [
13733
12932
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -13744,7 +12943,7 @@ const DangerDialog = ({
13744
12943
  fontSize: "14px",
13745
12944
  fontWeight: 500,
13746
12945
  padding: "10px",
13747
- fontFamily: "'IBM Plex Sans', sans-serif",
12946
+ fontFamily: "'Inter', sans-serif",
13748
12947
  "&:hover": { borderColor: "#0073b1", color: "#0073b1", background: "rgba(0, 115, 177, 0.04)" }
13749
12948
  },
13750
12949
  children: "Cancel"
@@ -13767,7 +12966,7 @@ const DangerDialog = ({
13767
12966
  fontSize: "14px",
13768
12967
  fontWeight: 500,
13769
12968
  padding: "10px",
13770
- fontFamily: "'IBM Plex Sans', sans-serif",
12969
+ fontFamily: "'Inter', sans-serif",
13771
12970
  "&:hover": { background: "#b71c1c" }
13772
12971
  },
13773
12972
  children: isLoading ? ALERT_MESSAGES.commonLoadingMessage : buttonTitle
@@ -13789,7 +12988,7 @@ const ChangePasswordStyled = styles.styled("div")(() => ({
13789
12988
  padding: "16px",
13790
12989
  borderRadius: "12px",
13791
12990
  boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.05)",
13792
- fontFamily: "'IBM Plex Sans', sans-serif",
12991
+ fontFamily: "'Inter', sans-serif",
13793
12992
  width: "100%",
13794
12993
  boxSizing: "border-box"
13795
12994
  },
@@ -13799,7 +12998,7 @@ const ChangePasswordStyled = styles.styled("div")(() => ({
13799
12998
  borderRadius: "12px",
13800
12999
  boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.05)",
13801
13000
  height: "729px",
13802
- fontFamily: "'IBM Plex Sans', sans-serif",
13001
+ fontFamily: "'Inter', sans-serif",
13803
13002
  overflow: "auto"
13804
13003
  },
13805
13004
  "& .dashboard": {
@@ -13807,45 +13006,45 @@ const ChangePasswordStyled = styles.styled("div")(() => ({
13807
13006
  gap: "16px",
13808
13007
  width: "100%",
13809
13008
  alignItems: "center",
13810
- fontFamily: "'IBM Plex Sans', sans-serif"
13009
+ fontFamily: "'Inter', sans-serif"
13811
13010
  },
13812
13011
  "& .product": {
13813
13012
  display: "flex",
13814
- fontFamily: "'IBM Plex Sans', sans-serif",
13013
+ fontFamily: "'Inter', sans-serif",
13815
13014
  gap: "16px"
13816
13015
  },
13817
13016
  "& .project": {
13818
13017
  fontSize: "14px",
13819
13018
  fontWeight: "400",
13820
13019
  color: "#5f6368",
13821
- fontFamily: "'IBM Plex Sans', sans-serif"
13020
+ fontFamily: "'Inter', sans-serif"
13822
13021
  },
13823
13022
  "& .seiDetail": {
13824
13023
  background: "#f0f7ff",
13825
13024
  padding: "12px",
13826
13025
  borderRadius: "12px",
13827
13026
  height: "100%",
13828
- fontFamily: "'IBM Plex Sans', sans-serif"
13027
+ fontFamily: "'Inter', sans-serif"
13829
13028
  },
13830
13029
  "& .vsDetail": {
13831
13030
  background: "#fff9f2",
13832
13031
  padding: "12px",
13833
13032
  borderRadius: "12px",
13834
13033
  height: " 100%",
13835
- fontFamily: "'IBM Plex Sans', sans-serif"
13034
+ fontFamily: "'Inter', sans-serif"
13836
13035
  },
13837
13036
  "& .emotional": {
13838
13037
  fontSize: "16px",
13839
13038
  fontWeight: "600",
13840
13039
  color: "#1a1c1e",
13841
- fontFamily: "'IBM Plex Sans', sans-serif"
13040
+ fontFamily: "'Inter', sans-serif"
13842
13041
  },
13843
13042
  "& .Detail": {
13844
13043
  fontSize: "14px",
13845
13044
  fontWeight: "400",
13846
13045
  color: "#5f6368",
13847
13046
  margin: "10px 0px",
13848
- fontFamily: "'IBM Plex Sans', sans-serif"
13047
+ fontFamily: "'Inter', sans-serif"
13849
13048
  },
13850
13049
  "& .link": {
13851
13050
  fontSize: "16px",
@@ -13853,39 +13052,39 @@ const ChangePasswordStyled = styles.styled("div")(() => ({
13853
13052
  fontWeight: "500",
13854
13053
  marginTop: "4%",
13855
13054
  padding: "12px 5px 0px",
13856
- fontFamily: "'IBM Plex Sans', sans-serif"
13055
+ fontFamily: "'Inter', sans-serif"
13857
13056
  },
13858
13057
  "& .group": {
13859
13058
  paddingTop: "12px",
13860
- fontFamily: "'IBM Plex Sans', sans-serif"
13059
+ fontFamily: "'Inter', sans-serif"
13861
13060
  },
13862
13061
  "& .creation": {
13863
13062
  display: "flex",
13864
13063
  paddingBottom: "10px",
13865
- fontFamily: "'IBM Plex Sans', sans-serif"
13064
+ fontFamily: "'Inter', sans-serif"
13866
13065
  },
13867
13066
  "& .groupDetailData": {
13868
13067
  fontSize: "14px",
13869
13068
  fontWeight: "400",
13870
13069
  color: "#5f6368",
13871
13070
  margin: "0px 13px 0px 0px",
13872
- fontFamily: "'IBM Plex Sans', sans-serif"
13071
+ fontFamily: "'Inter', sans-serif"
13873
13072
  },
13874
13073
  "& .title": {
13875
13074
  color: "#1a1c1e",
13876
13075
  fontSize: "16px",
13877
13076
  fontWeight: "600",
13878
- fontFamily: "'IBM Plex Sans', sans-serif"
13077
+ fontFamily: "'Inter', sans-serif"
13879
13078
  },
13880
13079
  "& .reportActivityDetail": {
13881
13080
  display: "flex",
13882
13081
  alignItems: "center",
13883
13082
  margin: "0px 0px 7px 0px",
13884
- fontFamily: "'IBM Plex Sans', sans-serif"
13083
+ fontFamily: "'Inter', sans-serif"
13885
13084
  },
13886
13085
  "& .reportActivityDetail svg": {
13887
13086
  margin: "0px 13px 0px 0px",
13888
- fontFamily: "'IBM Plex Sans', sans-serif"
13087
+ fontFamily: "'Inter', sans-serif"
13889
13088
  },
13890
13089
  "& .version": {
13891
13090
  display: "flex",
@@ -13893,42 +13092,42 @@ const ChangePasswordStyled = styles.styled("div")(() => ({
13893
13092
  width: "98%",
13894
13093
  alignItems: "center",
13895
13094
  margin: "8px 0px 8px 0px",
13896
- fontFamily: "'IBM Plex Sans', sans-serif"
13095
+ fontFamily: "'Inter', sans-serif"
13897
13096
  },
13898
13097
  "& .dotted": {
13899
13098
  fontSize: "14px",
13900
13099
  fontWeight: "500",
13901
13100
  display: "flex",
13902
13101
  alignItems: "center",
13903
- fontFamily: "'IBM Plex Sans', sans-serif"
13102
+ fontFamily: "'Inter', sans-serif"
13904
13103
  },
13905
13104
  "& .seiDetail .dotted": {
13906
13105
  color: "#0073b1",
13907
- fontFamily: "'IBM Plex Sans', sans-serif"
13106
+ fontFamily: "'Inter', sans-serif"
13908
13107
  },
13909
13108
  "& .vsDetail .dotted": {
13910
13109
  color: "#f68926",
13911
- fontFamily: "'IBM Plex Sans', sans-serif"
13110
+ fontFamily: "'Inter', sans-serif"
13912
13111
  },
13913
13112
  "& .seiDetail .version svg": {
13914
13113
  color: "#0073b1",
13915
- fontFamily: "'IBM Plex Sans', sans-serif"
13114
+ fontFamily: "'Inter', sans-serif"
13916
13115
  },
13917
13116
  "& .vsDetail .version svg": {
13918
13117
  color: "#f68926",
13919
- fontFamily: "'IBM Plex Sans', sans-serif"
13118
+ fontFamily: "'Inter', sans-serif"
13920
13119
  },
13921
13120
  "& .seiDetail .accordionTitle": {
13922
13121
  color: "#0073b1",
13923
13122
  fontSize: "14px",
13924
13123
  fontWeight: "500",
13925
- fontFamily: "'IBM Plex Sans', sans-serif"
13124
+ fontFamily: "'Inter', sans-serif"
13926
13125
  },
13927
13126
  "& .vsDetail .accordionTitle": {
13928
13127
  color: "#f68926",
13929
13128
  fontSize: "14px",
13930
13129
  fontWeight: "500",
13931
- fontFamily: "'IBM Plex Sans', sans-serif"
13130
+ fontFamily: "'Inter', sans-serif"
13932
13131
  },
13933
13132
  "& .seiDetail .toggle svg": {
13934
13133
  color: "#0073b1"
@@ -13941,14 +13140,14 @@ const ChangePasswordStyled = styles.styled("div")(() => ({
13941
13140
  color: "#5f6368",
13942
13141
  fontWeight: "400",
13943
13142
  margin: "3px 3px",
13944
- fontFamily: "'IBM Plex Sans', sans-serif"
13143
+ fontFamily: "'Inter', sans-serif"
13945
13144
  },
13946
13145
  "& .recant": {
13947
13146
  fontSize: "16px",
13948
13147
  fontWeight: "600",
13949
13148
  color: "#1a1c1e",
13950
13149
  padding: "9px 4px",
13951
- fontFamily: "'IBM Plex Sans', sans-serif"
13150
+ fontFamily: "'Inter', sans-serif"
13952
13151
  },
13953
13152
  "& .viewFile": {
13954
13153
  color: "#5f6368",
@@ -13984,7 +13183,7 @@ const ProfileStyled = styles.styled("div")(() => ({
13984
13183
  margin: "10px 0px",
13985
13184
  padding: "16px",
13986
13185
  borderRadius: "12px",
13987
- fontFamily: "'IBM Plex Sans', sans-serif",
13186
+ fontFamily: "'Inter', sans-serif",
13988
13187
  width: "100%",
13989
13188
  boxSizing: "border-box"
13990
13189
  },
@@ -13993,7 +13192,7 @@ const ProfileStyled = styles.styled("div")(() => ({
13993
13192
  padding: "12px",
13994
13193
  borderRadius: "12px",
13995
13194
  height: "729px",
13996
- fontFamily: "'IBM Plex Sans', sans-serif",
13195
+ fontFamily: "'Inter', sans-serif",
13997
13196
  overflow: "auto"
13998
13197
  },
13999
13198
  "& .dashboard": {
@@ -14001,45 +13200,45 @@ const ProfileStyled = styles.styled("div")(() => ({
14001
13200
  gap: "16px",
14002
13201
  width: "100%",
14003
13202
  alignItems: "center",
14004
- fontFamily: "'IBM Plex Sans', sans-serif"
13203
+ fontFamily: "'Inter', sans-serif"
14005
13204
  },
14006
13205
  "& .product": {
14007
13206
  display: "flex",
14008
- fontFamily: "'IBM Plex Sans', sans-serif",
13207
+ fontFamily: "'Inter', sans-serif",
14009
13208
  gap: "16px"
14010
13209
  },
14011
13210
  "& .project": {
14012
13211
  fontSize: "14px",
14013
13212
  fontWeight: "400",
14014
13213
  color: "#5f6368",
14015
- fontFamily: "'IBM Plex Sans', sans-serif"
13214
+ fontFamily: "'Inter', sans-serif"
14016
13215
  },
14017
13216
  "& .seiDetail": {
14018
13217
  background: "#f0f7ff",
14019
13218
  padding: "12px",
14020
13219
  borderRadius: "12px",
14021
13220
  height: "100%",
14022
- fontFamily: "'IBM Plex Sans', sans-serif"
13221
+ fontFamily: "'Inter', sans-serif"
14023
13222
  },
14024
13223
  "& .vsDetail": {
14025
13224
  background: "#fff9f2",
14026
13225
  padding: "12px",
14027
13226
  borderRadius: "12px",
14028
13227
  height: " 100%",
14029
- fontFamily: "'IBM Plex Sans', sans-serif"
13228
+ fontFamily: "'Inter', sans-serif"
14030
13229
  },
14031
13230
  "& .emotional": {
14032
13231
  fontSize: "16px",
14033
13232
  fontWeight: "600",
14034
13233
  color: "#1a1c1e",
14035
- fontFamily: "'IBM Plex Sans', sans-serif"
13234
+ fontFamily: "'Inter', sans-serif"
14036
13235
  },
14037
13236
  "& .Detail": {
14038
13237
  fontSize: "14px",
14039
13238
  fontWeight: "400",
14040
13239
  color: "#5f6368",
14041
13240
  margin: "10px 0px",
14042
- fontFamily: "'IBM Plex Sans', sans-serif"
13241
+ fontFamily: "'Inter', sans-serif"
14043
13242
  },
14044
13243
  "& .link": {
14045
13244
  fontSize: "16px",
@@ -14047,39 +13246,39 @@ const ProfileStyled = styles.styled("div")(() => ({
14047
13246
  fontWeight: "500",
14048
13247
  marginTop: "4%",
14049
13248
  padding: "12px 5px 0px",
14050
- fontFamily: "'IBM Plex Sans', sans-serif"
13249
+ fontFamily: "'Inter', sans-serif"
14051
13250
  },
14052
13251
  "& .group": {
14053
13252
  paddingTop: "12px",
14054
- fontFamily: "'IBM Plex Sans', sans-serif"
13253
+ fontFamily: "'Inter', sans-serif"
14055
13254
  },
14056
13255
  "& .creation": {
14057
13256
  display: "flex",
14058
13257
  paddingBottom: "10px",
14059
- fontFamily: "'IBM Plex Sans', sans-serif"
13258
+ fontFamily: "'Inter', sans-serif"
14060
13259
  },
14061
13260
  "& .groupDetailData": {
14062
13261
  fontSize: "14px",
14063
13262
  fontWeight: "400",
14064
13263
  color: "#5f6368",
14065
13264
  margin: "0px 13px 0px 0px",
14066
- fontFamily: "'IBM Plex Sans', sans-serif"
13265
+ fontFamily: "'Inter', sans-serif"
14067
13266
  },
14068
13267
  "& .title": {
14069
13268
  color: "#1a1c1e",
14070
13269
  fontSize: "16px",
14071
13270
  fontWeight: "600",
14072
- fontFamily: "'IBM Plex Sans', sans-serif"
13271
+ fontFamily: "'Inter', sans-serif"
14073
13272
  },
14074
13273
  "& .reportActivityDetail": {
14075
13274
  display: "flex",
14076
13275
  alignItems: "center",
14077
13276
  margin: "0px 0px 7px 0px",
14078
- fontFamily: "'IBM Plex Sans', sans-serif"
13277
+ fontFamily: "'Inter', sans-serif"
14079
13278
  },
14080
13279
  "& .reportActivityDetail svg": {
14081
13280
  margin: "0px 13px 0px 0px",
14082
- fontFamily: "'IBM Plex Sans', sans-serif"
13281
+ fontFamily: "'Inter', sans-serif"
14083
13282
  },
14084
13283
  "& .version": {
14085
13284
  display: "flex",
@@ -14087,42 +13286,42 @@ const ProfileStyled = styles.styled("div")(() => ({
14087
13286
  width: "98%",
14088
13287
  alignItems: "center",
14089
13288
  margin: "8px 0px 8px 0px",
14090
- fontFamily: "'IBM Plex Sans', sans-serif"
13289
+ fontFamily: "'Inter', sans-serif"
14091
13290
  },
14092
13291
  "& .dotted": {
14093
13292
  fontSize: "14px",
14094
13293
  fontWeight: "500",
14095
13294
  display: "flex",
14096
13295
  alignItems: "center",
14097
- fontFamily: "'IBM Plex Sans', sans-serif"
13296
+ fontFamily: "'Inter', sans-serif"
14098
13297
  },
14099
13298
  "& .seiDetail .dotted": {
14100
13299
  color: "#0073b1",
14101
- fontFamily: "'IBM Plex Sans', sans-serif"
13300
+ fontFamily: "'Inter', sans-serif"
14102
13301
  },
14103
13302
  "& .vsDetail .dotted": {
14104
13303
  color: "#f68926",
14105
- fontFamily: "'IBM Plex Sans', sans-serif"
13304
+ fontFamily: "'Inter', sans-serif"
14106
13305
  },
14107
13306
  "& .seiDetail .version svg": {
14108
13307
  color: "#0073b1",
14109
- fontFamily: "'IBM Plex Sans', sans-serif"
13308
+ fontFamily: "'Inter', sans-serif"
14110
13309
  },
14111
13310
  "& .vsDetail .version svg": {
14112
13311
  color: "#f68926",
14113
- fontFamily: "'IBM Plex Sans', sans-serif"
13312
+ fontFamily: "'Inter', sans-serif"
14114
13313
  },
14115
13314
  "& .seiDetail .accordionTitle": {
14116
13315
  color: "#0073b1",
14117
13316
  fontSize: "14px",
14118
13317
  fontWeight: "500",
14119
- fontFamily: "'IBM Plex Sans', sans-serif"
13318
+ fontFamily: "'Inter', sans-serif"
14120
13319
  },
14121
13320
  "& .vsDetail .accordionTitle": {
14122
13321
  color: "#f68926",
14123
13322
  fontSize: "14px",
14124
13323
  fontWeight: "500",
14125
- fontFamily: "'IBM Plex Sans', sans-serif"
13324
+ fontFamily: "'Inter', sans-serif"
14126
13325
  },
14127
13326
  "& .seiDetail .toggle svg": {
14128
13327
  color: "#0073b1"
@@ -14135,14 +13334,14 @@ const ProfileStyled = styles.styled("div")(() => ({
14135
13334
  color: "#5f6368",
14136
13335
  fontWeight: "400",
14137
13336
  // margin: "3px 3px",
14138
- fontFamily: "'IBM Plex Sans', sans-serif"
13337
+ fontFamily: "'Inter', sans-serif"
14139
13338
  },
14140
13339
  "& .recant": {
14141
13340
  fontSize: "16px",
14142
13341
  fontWeight: "600",
14143
13342
  color: "#1a1c1e",
14144
13343
  padding: "9px 4px",
14145
- fontFamily: "'IBM Plex Sans', sans-serif"
13344
+ fontFamily: "'Inter', sans-serif"
14146
13345
  },
14147
13346
  "& .viewFile": {
14148
13347
  color: "#5f6368",
@@ -14332,7 +13531,7 @@ function ViewProfileDialog({ userData, setInitialState, isOpen }) {
14332
13531
  fontWeight: "800",
14333
13532
  color: "#1a1c1e",
14334
13533
  mb: 2,
14335
- fontFamily: "'IBM Plex Sans', sans-serif"
13534
+ fontFamily: "'Inter', sans-serif"
14336
13535
  },
14337
13536
  children: userData?.fullName
14338
13537
  }
@@ -14446,7 +13645,7 @@ function ChangePasswordDialog({ isOpen, email, t: t2, setInitialState }) {
14446
13645
  fontWeight: 700,
14447
13646
  color: "#1a1c1e",
14448
13647
  mb: 3,
14449
- fontFamily: "'IBM Plex Sans', sans-serif",
13648
+ fontFamily: "'Inter', sans-serif",
14450
13649
  textAlign: "start"
14451
13650
  },
14452
13651
  children: t2("Change Password")
@@ -14593,9 +13792,9 @@ const AppMenus = ({ menuItems, setInitialState, t: t2, appName, router }) => {
14593
13792
  )) }) }) });
14594
13793
  };
14595
13794
  const DropdownMenu = ({ headerMenuArray, initialState }) => {
14596
- const pathname = window.location.pathname;
13795
+ const pathname = typeof window !== "undefined" ? window.location.pathname : "";
14597
13796
  const isMobile = material.useMediaQuery("(max-width: 1324px)");
14598
- return /* @__PURE__ */ jsxRuntime.jsx("nav", { style: { backgroundColor: "transparent", color: "#000" }, children: !isMobile ? /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sixseconds-header-main-list-menu sixseconds-header-desktop-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sixseconds-header-menu-item", style: { listStyle: "none" }, children: [
13797
+ return /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "sixseconds-header-nav", children: !isMobile ? /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sixseconds-header-main-list-menu sixseconds-header-desktop-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "sixseconds-header-menu-item", style: { listStyle: "none" }, children: [
14599
13798
  /* @__PURE__ */ jsxRuntime.jsx("a", { href: items.value || "", target: items.target, className: `sixseconds-header-menu-link`, children: items.label }),
14600
13799
  Boolean(items.children.length) && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "sixseconds-header-submenu-data", children: items.children?.map((child, index2) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: child.value || "", target: child.target, className: "sixseconds-header-submenu-link", children: child.label }) }, index2)) })
14601
13800
  ] }, index)) }) : initialState.toggles.dropDownMenu && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:hidden sixseconds-header-small-device-menu", id: "mobile-menu", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sixseconds-header-layout-mobile-menu", children: headerMenuArray.map((items, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
@@ -15096,8 +14295,8 @@ const Notification = ({ setInitialState, notificationAccessApps, initialState, t
15096
14295
  return;
15097
14296
  }
15098
14297
  const newNotifications = pager?.data?.map((itm) => transformNotifications(itm));
15099
- setNotifications((prev2) => [...prev2, ...newNotifications]);
15100
- setPage((prev2) => prev2 + 1);
14298
+ setNotifications((prev) => [...prev, ...newNotifications]);
14299
+ setPage((prev) => prev + 1);
15101
14300
  }
15102
14301
  };
15103
14302
  return /* @__PURE__ */ jsxRuntime.jsx(material.ClickAwayListener, { onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -15217,7 +14416,7 @@ const SubHeaderStyled = styles.styled(material.AppBar)(() => ({
15217
14416
  color: "#1a1c1e",
15218
14417
  height: "64px",
15219
14418
  width: "100%",
15220
- fontFamily: "'IBM Plex Sans', sans-serif",
14419
+ fontFamily: "'Inter', sans-serif",
15221
14420
  position: "fixed",
15222
14421
  zIndex: "1000",
15223
14422
  right: "0px",
@@ -15232,7 +14431,7 @@ const SubHeaderStyled = styles.styled(material.AppBar)(() => ({
15232
14431
  justifyContent: "space-between",
15233
14432
  alignItems: "center",
15234
14433
  margin: "0px",
15235
- fontFamily: "'IBM Plex Sans', sans-serif"
14434
+ fontFamily: "'Inter', sans-serif"
15236
14435
  },
15237
14436
  "& .sixseconds-header-profile": {
15238
14437
  position: "absolute",
@@ -15243,7 +14442,7 @@ const SubHeaderStyled = styles.styled(material.AppBar)(() => ({
15243
14442
  borderRadius: "12px",
15244
14443
  zIndex: "1100",
15245
14444
  boxShadow: "0px 4px 20px rgba(0, 0, 0, 0.1)",
15246
- fontFamily: "'IBM Plex Sans', sans-serif",
14445
+ fontFamily: "'Inter', sans-serif",
15247
14446
  border: "1px solid #e0e0e0",
15248
14447
  overflow: "hidden",
15249
14448
  "& ul": {
@@ -15265,11 +14464,11 @@ const SubHeaderStyled = styles.styled(material.AppBar)(() => ({
15265
14464
  "& .sixseconds-header-notification": {
15266
14465
  display: "flex",
15267
14466
  alignItems: "center",
15268
- fontFamily: "'IBM Plex Sans', sans-serif"
14467
+ fontFamily: "'Inter', sans-serif"
15269
14468
  },
15270
14469
  "& .sixseconds-header-notification h6, & .sixseconds-header-notification p": {
15271
14470
  margin: "10px",
15272
- fontFamily: "'IBM Plex Sans', sans-serif"
14471
+ fontFamily: "'Inter', sans-serif"
15273
14472
  },
15274
14473
  "& .sixseconds-header-total": {
15275
14474
  border: "1px solid #e0e0e0",
@@ -15279,7 +14478,7 @@ const SubHeaderStyled = styles.styled(material.AppBar)(() => ({
15279
14478
  fontSize: "14px",
15280
14479
  fontWeight: "500",
15281
14480
  display: "flex",
15282
- fontFamily: "'IBM Plex Sans', sans-serif"
14481
+ fontFamily: "'Inter', sans-serif"
15283
14482
  }
15284
14483
  }));
15285
14484
  const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, router }) => {
@@ -16146,7 +15345,7 @@ const App = () => {
16146
15345
  id: 1,
16147
15346
  label: "Chinese",
16148
15347
  value: "zh",
16149
- flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1735277277.png"
15348
+ flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1736568764.png"
16150
15349
  },
16151
15350
  {
16152
15351
  id: 1,
@@ -16165,7 +15364,7 @@ const App = () => {
16165
15364
  id: 1,
16166
15365
  label: "Chinese",
16167
15366
  value: "zh",
16168
- flag: ""
15367
+ flag: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/flags/1736568764.png"
16169
15368
  },
16170
15369
  isMainLogo: true,
16171
15370
  isNotification: true,
@@ -16197,3 +15396,15 @@ exports.SVG = SVG;
16197
15396
  exports.Warning = Warning;
16198
15397
  exports.default = App;
16199
15398
  //# sourceMappingURL=index.cjs.js.map
15399
+ (function() {
15400
+ "use strict";
15401
+ try {
15402
+ if (typeof document != "undefined") {
15403
+ var elementStyle = document.createElement("style");
15404
+ elementStyle.appendChild(document.createTextNode('@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");\n\n.sixseconds-header-root blockquote,\n.sixseconds-header-root dl,\n.sixseconds-header-root dd,\n.sixseconds-header-root h1,\n.sixseconds-header-root h2,\n.sixseconds-header-root h3,\n.sixseconds-header-root h4,\n.sixseconds-header-root h5,\n.sixseconds-header-root h6,\n.sixseconds-header-root hr,\n.sixseconds-header-root figure,\n.sixseconds-header-root p,\n.sixseconds-header-root pre,\n.sixseconds-header-root span,\n.sixseconds-header-root a,\n.sixseconds-header-root div,\n.sixseconds-header-root li,\n.sixseconds-header-root button {\n font-family: "Inter", sans-serif !important;\n}\n\n.sixseconds-header-main-list-menu {\n display: flex;\n}\n\n.sixseconds-header-main-list-menu li {\n padding: 0.5rem 0.5rem;\n}\n\n.sixseconds-header-main-list-menu li a {\n padding: 0 0.25rem;\n font-weight: 500;\n font-size: 14px;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item {\n position: relative;\n padding: 0 16px;\n display: flex;\n align-items: center;\n height: 100%;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link {\n text-decoration: none;\n color: #2a2a2a; /* Closer to 6seconds */\n font-weight: 500;\n font-size: 15px;\n padding: 12px 4px;\n transition: color 0.2s ease;\n font-family: "Inter", sans-serif;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-link:hover {\n color: #0073b1;\n}\n\n/* Submenu (Dropdown) */\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data {\n position: absolute;\n top: 100%;\n left: 50%;\n background: white;\n border: 1px solid #f1f1f1;\n box-shadow: 0px 12px 48px rgba(0, 0, 0, 0.1); /* Even more premium shadow */\n display: block;\n opacity: 0;\n visibility: hidden;\n transform: translateX(-50%) translateY(12px);\n min-width: 260px;\n z-index: 1000;\n border-radius: 4px; /* More angular per 6seconds style */\n padding: 16px 0;\n transition:\n opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),\n visibility 0.25s;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-data li {\n list-style: none;\n padding: 0;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link {\n display: block;\n padding: 12px 28px;\n text-decoration: none;\n color: #2a2a2a; /* Darker grey */\n font-weight: 400;\n font-size: 14.5px;\n line-height: 1.4;\n transition: all 0.2s ease;\n}\n\n.sixseconds-header-main-list-menu .sixseconds-header-submenu-link:hover {\n background: #fbfbfc;\n color: #0073b1;\n padding-left: 32px; /* Slight nudge */\n}\n\n/* Show dropdown on hover */\n\n.sixseconds-header-main-list-menu .sixseconds-header-menu-item:hover .sixseconds-header-submenu-data {\n opacity: 1;\n visibility: visible;\n transform: translateX(-50%) translateY(0);\n}\n\n.sixseconds-header-small-device-menu {\n display: none;\n width: 100%;\n left: 0;\n top: 64px;\n background-color: #fff;\n position: fixed;\n overflow-y: auto;\n height: 95vh;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);\n}\n\n.sixseconds-header-small-device-menu a.sixseconds-header-bg-main-menu {\n display: block;\n text-decoration: none;\n}\n\n.sixseconds-header-submenu-child li {\n padding: 0.5rem 0;\n}\n\n.sixseconds-header-submenu-child li a {\n text-decoration: none;\n}\n\n.sixseconds-header-layout-mobile-menu {\n padding-bottom: 12px;\n padding-inline: 0;\n height: 95vh;\n overflow-y: auto;\n padding-top: 8px;\n}\n\n.sixseconds-header-small-device-menu a {\n background-color: transparent;\n font-size: 16px; /* Slightly larger */\n font-weight: 600; /* Bolder for parent items */\n color: #1a1c1e;\n margin-bottom: 4px;\n padding: 16px 20px;\n border-bottom: 1px solid #f1f3f4;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n\n.sixseconds-header-small-device-menu .sixseconds-header-submenu-child {\n padding-left: 0px;\n min-width: 100%;\n max-width: 100%;\n margin-top: 0;\n background-color: #fbfbfc; /* Slightly different background for sub-items */\n color: #1a1c1e;\n}\n\n.sixseconds-header-small-device-menu ul li .sixseconds-header-submenu-child-link {\n padding: 12px 32px; /* Indent more */\n font-weight: 400; /* Regular weight for sub-links */\n font-size: 14px;\n}\n\n.sixseconds-header-small-device-menu ul li a {\n background-color: transparent;\n color: #4a4d50;\n}\n\n.sixseconds-header-small-device-menu ul {\n padding-left: 15px;\n}\n\n.sixseconds-header-desktop-menu {\n display: flex;\n}\n\n.sixseconds-header-button-hamburger {\n display: none;\n position: absolute;\n right: 20px;\n top: 18px;\n z-index: 9;\n}\n\n.sixseconds-header-root .tox-editor-header {\n background-color: transparent;\n}\n\n.sixseconds-header-hamburger-icon-btn {\n padding: 8px;\n color: #5f6368;\n}\n\n.sixseconds-header-desktop-menu .sixseconds-header-menu-item .sixseconds-header-menu-link {\n font-size: 14px;\n font-weight: 500;\n}\n\n.sixseconds-header-small-device-menu {\n padding-inline: 20px;\n}\n\n@media screen and (max-width: 600px) and (min-width: 320px) {\n .sixseconds-header-notification-icon-error .MuiBadge-badge {\n font-size: 10px;\n padding: 0 4px;\n min-width: 16px;\n right: 5px;\n background-color: #d32f2f;\n }\n\n .sixseconds-header-submenu nav {\n padding: 0 !important;\n }\n\n .sixseconds-header-root .MuiPagination-root.MuiPagination-outlined {\n display: flex;\n justify-content: center;\n margin-left: 0;\n }\n\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n z-index: 99;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 90% !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n border-right: 1px solid #e0e0e0;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1024px) and (min-width: 600px) {\n .sixseconds-header-toggle-btn-menu {\n position: absolute;\n right: 20px;\n top: 12px;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n }\n\n .main.sixseconds-header-login-page .sixseconds-header-login-body {\n width: 450px !important;\n }\n\n .sixseconds-header-banner {\n margin-left: 0 !important;\n }\n\n .sixseconds-header-submenu {\n width: 100%;\n max-width: 100% !important;\n }\n\n .sixseconds-header-sidebar {\n width: 280px !important;\n background-color: #f9fafb;\n z-index: 99;\n }\n\n .sixseconds-header-sidemenu {\n width: 280px;\n background-color: #f9fafb;\n }\n\n .sixseconds-header-logo {\n opacity: 1;\n }\n\n .sixseconds-header-profile .sixseconds-header-menu {\n min-width: 280px;\n width: 100% !important;\n }\n}\n\n@media screen and (max-width: 1380px) and (min-width: 1024px) {\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-desktop-menu {\n display: none;\n }\n\n .sixseconds-header-small-device-menu {\n display: block;\n width: 100%;\n position: fixed;\n left: 0;\n background: #fff;\n top: 64px;\n }\n\n .sixseconds-header-button-hamburger {\n display: block;\n }\n\n .sixseconds-header-right-icons {\n padding-right: 25px;\n }\n}'));
15405
+ document.head.appendChild(elementStyle);
15406
+ }
15407
+ } catch (e) {
15408
+ console.error("vite-plugin-css-injected-by-js", e);
15409
+ }
15410
+ })();