sixseconds-modules 1.6.163 → 1.6.167

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.es.js CHANGED
@@ -3,26 +3,28 @@
3
3
  try {
4
4
  if (typeof document != "undefined") {
5
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.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 .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}'));
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
7
  document.head.appendChild(elementStyle);
8
8
  }
9
9
  } catch (e) {
10
10
  console.error("vite-plugin-css-injected-by-js", e);
11
11
  }
12
12
  })();
13
+ "use client";
13
14
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
14
- import { Box, Typography, Dialog, Stack as Stack$1, Button as Button$1, IconButton, Grid, Avatar, Chip, Link, Divider, ClickAwayListener, useMediaQuery, MenuItem, AppBar, Container, Badge, FormLabel, TextField, InputAdornment, styled as styled$1 } from "@mui/material";
15
15
  import * as React from "react";
16
16
  import React__default, { useRef, useEffect, useState, useCallback, useMemo, useLayoutEffect, createContext, forwardRef, createElement, useContext, Component } from "react";
17
17
  import axios from "axios";
18
18
  import Cookies from "js-cookie";
19
+ import { CacheProvider } from "@emotion/react";
20
+ import { Box, Typography, unstable_ClassNameGenerator, Dialog, Stack as Stack$1, Button as Button$1, IconButton, Grid, Avatar, Chip, Link, Divider, ClickAwayListener, useMediaQuery, MenuItem, AppBar, Container, Badge, FormLabel, TextField, InputAdornment, styled as styled$1 } from "@mui/material";
19
21
  import MenuIcon from "@mui/icons-material/Menu";
22
+ import CloseIcon from "@mui/icons-material/Close";
20
23
  import toast from "react-hot-toast";
21
24
  import { styled } from "@mui/material/styles";
22
25
  import VisibilityOffIcon from "@mui/icons-material/VisibilityOff";
23
26
  import CheckIcon from "@mui/icons-material/Check";
24
27
  import ExitToAppTwoToneIcon from "@mui/icons-material/ExitToAppTwoTone";
25
- import CloseIcon from "@mui/icons-material/Close";
26
28
  import ContentCopyIcon from "@mui/icons-material/ContentCopy";
27
29
  import LinkedIn from "@mui/icons-material/LinkedIn";
28
30
  import PublicIcon from "@mui/icons-material/Public";
@@ -373,8 +375,8 @@ deepmerge.all = function deepmergeAll(array2, options) {
373
375
  if (!Array.isArray(array2)) {
374
376
  throw new Error("first argument should be an array");
375
377
  }
376
- return array2.reduce(function(prev, next) {
377
- return deepmerge(prev, next, options);
378
+ return array2.reduce(function(prev2, next2) {
379
+ return deepmerge(prev2, next2, options);
378
380
  }, {});
379
381
  };
380
382
  var deepmerge_1 = deepmerge;
@@ -449,10 +451,10 @@ function eq(value, other) {
449
451
  return value === other || value !== value && other !== other;
450
452
  }
451
453
  function assocIndexOf(array2, key) {
452
- var length = array2.length;
453
- while (length--) {
454
- if (eq(array2[length][0], key)) {
455
- return length;
454
+ var length2 = array2.length;
455
+ while (length2--) {
456
+ if (eq(array2[length2][0], key)) {
457
+ return length2;
456
458
  }
457
459
  }
458
460
  return -1;
@@ -491,9 +493,9 @@ function listCacheSet(key, value) {
491
493
  return this;
492
494
  }
493
495
  function ListCache(entries) {
494
- var index = -1, length = entries == null ? 0 : entries.length;
496
+ var index = -1, length2 = entries == null ? 0 : entries.length;
495
497
  this.clear();
496
- while (++index < length) {
498
+ while (++index < length2) {
497
499
  var entry = entries[index];
498
500
  this.set(entry[0], entry[1]);
499
501
  }
@@ -611,9 +613,9 @@ function hashSet(key, value) {
611
613
  return this;
612
614
  }
613
615
  function Hash(entries) {
614
- var index = -1, length = entries == null ? 0 : entries.length;
616
+ var index = -1, length2 = entries == null ? 0 : entries.length;
615
617
  this.clear();
616
- while (++index < length) {
618
+ while (++index < length2) {
617
619
  var entry = entries[index];
618
620
  this.set(entry[0], entry[1]);
619
621
  }
@@ -657,9 +659,9 @@ function mapCacheSet(key, value) {
657
659
  return this;
658
660
  }
659
661
  function MapCache(entries) {
660
- var index = -1, length = entries == null ? 0 : entries.length;
662
+ var index = -1, length2 = entries == null ? 0 : entries.length;
661
663
  this.clear();
662
- while (++index < length) {
664
+ while (++index < length2) {
663
665
  var entry = entries[index];
664
666
  this.set(entry[0], entry[1]);
665
667
  }
@@ -695,8 +697,8 @@ Stack.prototype.get = stackGet;
695
697
  Stack.prototype.has = stackHas;
696
698
  Stack.prototype.set = stackSet;
697
699
  function arrayEach(array2, iteratee) {
698
- var index = -1, length = array2 == null ? 0 : array2.length;
699
- while (++index < length) {
700
+ var index = -1, length2 = array2 == null ? 0 : array2.length;
701
+ while (++index < length2) {
700
702
  if (iteratee(array2[index], index, array2) === false) {
701
703
  break;
702
704
  }
@@ -734,8 +736,8 @@ function assignValue(object2, key, value) {
734
736
  function copyObject(source, props, object2, customizer) {
735
737
  var isNew = !object2;
736
738
  object2 || (object2 = {});
737
- var index = -1, length = props.length;
738
- while (++index < length) {
739
+ var index = -1, length2 = props.length;
740
+ while (++index < length2) {
739
741
  var key = props[index];
740
742
  var newValue = void 0;
741
743
  if (newValue === void 0) {
@@ -780,10 +782,10 @@ var nativeIsBuffer = Buffer$1 ? Buffer$1.isBuffer : void 0;
780
782
  var isBuffer = nativeIsBuffer || stubFalse;
781
783
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
782
784
  var reIsUint = /^(?:0|[1-9]\d*)$/;
783
- function isIndex(value, length) {
785
+ function isIndex(value, length2) {
784
786
  var type = typeof value;
785
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
786
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
787
+ length2 = length2 == null ? MAX_SAFE_INTEGER$1 : length2;
788
+ return !!length2 && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length2);
787
789
  }
788
790
  var MAX_SAFE_INTEGER = 9007199254740991;
789
791
  function isLength(value) {
@@ -821,13 +823,13 @@ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedA
821
823
  var objectProto$5 = Object.prototype;
822
824
  var hasOwnProperty$3 = objectProto$5.hasOwnProperty;
823
825
  function arrayLikeKeys(value, inherited) {
824
- 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;
826
+ 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;
825
827
  for (var key in value) {
826
828
  if ((inherited || hasOwnProperty$3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
827
829
  (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
828
830
  isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
829
831
  isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
830
- isIndex(key, length)))) {
832
+ isIndex(key, length2)))) {
831
833
  result.push(key);
832
834
  }
833
835
  }
@@ -899,21 +901,21 @@ function cloneBuffer(buffer, isDeep) {
899
901
  if (isDeep) {
900
902
  return buffer.slice();
901
903
  }
902
- var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
904
+ var length2 = buffer.length, result = allocUnsafe ? allocUnsafe(length2) : new buffer.constructor(length2);
903
905
  buffer.copy(result);
904
906
  return result;
905
907
  }
906
908
  function copyArray(source, array2) {
907
- var index = -1, length = source.length;
908
- array2 || (array2 = Array(length));
909
- while (++index < length) {
909
+ var index = -1, length2 = source.length;
910
+ array2 || (array2 = Array(length2));
911
+ while (++index < length2) {
910
912
  array2[index] = source[index];
911
913
  }
912
914
  return array2;
913
915
  }
914
916
  function arrayFilter(array2, predicate) {
915
- var index = -1, length = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
916
- while (++index < length) {
917
+ var index = -1, length2 = array2 == null ? 0 : array2.length, resIndex = 0, result = [];
918
+ while (++index < length2) {
917
919
  var value = array2[index];
918
920
  if (predicate(value, index, array2)) {
919
921
  result[resIndex++] = value;
@@ -940,8 +942,8 @@ function copySymbols(source, object2) {
940
942
  return copyObject(source, getSymbols(source), object2);
941
943
  }
942
944
  function arrayPush(array2, values) {
943
- var index = -1, length = values.length, offset2 = array2.length;
944
- while (++index < length) {
945
+ var index = -1, length2 = values.length, offset2 = array2.length;
946
+ while (++index < length2) {
945
947
  array2[offset2 + index] = values[index];
946
948
  }
947
949
  return array2;
@@ -999,8 +1001,8 @@ if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$2 || Map
999
1001
  var objectProto = Object.prototype;
1000
1002
  var hasOwnProperty = objectProto.hasOwnProperty;
1001
1003
  function initCloneArray(array2) {
1002
- var length = array2.length, result = new array2.constructor(length);
1003
- if (length && typeof array2[0] == "string" && hasOwnProperty.call(array2, "index")) {
1004
+ var length2 = array2.length, result = new array2.constructor(length2);
1005
+ if (length2 && typeof array2[0] == "string" && hasOwnProperty.call(array2, "index")) {
1004
1006
  result.index = array2.index;
1005
1007
  result.input = array2.input;
1006
1008
  }
@@ -1179,11 +1181,11 @@ function requireReactFastCompare() {
1179
1181
  function equal(a, b) {
1180
1182
  if (a === b) return true;
1181
1183
  if (a && b && typeof a == "object" && typeof b == "object") {
1182
- var arrA = isArray2(a), arrB = isArray2(b), i, length, key;
1184
+ var arrA = isArray2(a), arrB = isArray2(b), i, length2, key;
1183
1185
  if (arrA && arrB) {
1184
- length = a.length;
1185
- if (length != b.length) return false;
1186
- for (i = length; i-- !== 0; )
1186
+ length2 = a.length;
1187
+ if (length2 != b.length) return false;
1188
+ for (i = length2; i-- !== 0; )
1187
1189
  if (!equal(a[i], b[i])) return false;
1188
1190
  return true;
1189
1191
  }
@@ -1195,14 +1197,14 @@ function requireReactFastCompare() {
1195
1197
  if (regexpA != regexpB) return false;
1196
1198
  if (regexpA && regexpB) return a.toString() == b.toString();
1197
1199
  var keys2 = keyList(a);
1198
- length = keys2.length;
1199
- if (length !== keyList(b).length)
1200
+ length2 = keys2.length;
1201
+ if (length2 !== keyList(b).length)
1200
1202
  return false;
1201
- for (i = length; i-- !== 0; )
1203
+ for (i = length2; i-- !== 0; )
1202
1204
  if (!hasProp.call(b, keys2[i])) return false;
1203
1205
  if (hasElementType && a instanceof Element && b instanceof Element)
1204
1206
  return a === b;
1205
- for (i = length; i-- !== 0; ) {
1207
+ for (i = length2; i-- !== 0; ) {
1206
1208
  key = keys2[i];
1207
1209
  if (key === "_owner" && a.$$typeof) {
1208
1210
  continue;
@@ -1247,8 +1249,8 @@ function clone$2(value) {
1247
1249
  return baseClone(value, CLONE_SYMBOLS_FLAG);
1248
1250
  }
1249
1251
  function arrayMap(array2, iteratee) {
1250
- var index = -1, length = array2 == null ? 0 : array2.length, result = Array(length);
1251
- while (++index < length) {
1252
+ var index = -1, length2 = array2 == null ? 0 : array2.length, result = Array(length2);
1253
+ while (++index < length2) {
1252
1254
  result[index] = iteratee(array2[index], index, array2);
1253
1255
  }
1254
1256
  return result;
@@ -1293,8 +1295,8 @@ var stringToPath = memoizeCapped(function(string2) {
1293
1295
  if (string2.charCodeAt(0) === 46) {
1294
1296
  result.push("");
1295
1297
  }
1296
- string2.replace(rePropName, function(match, number2, quote, subString) {
1297
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match);
1298
+ string2.replace(rePropName, function(match5, number2, quote, subString) {
1299
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number2 || match5);
1298
1300
  });
1299
1301
  return result;
1300
1302
  });
@@ -1920,9 +1922,9 @@ function useFormik(_ref) {
1920
1922
  });
1921
1923
  var state = stateRef.current;
1922
1924
  var dispatch = useCallback(function(action) {
1923
- var prev = stateRef.current;
1924
- stateRef.current = formikReducer(prev, action);
1925
- if (prev !== stateRef.current) setIteration(function(x) {
1925
+ var prev2 = stateRef.current;
1926
+ stateRef.current = formikReducer(prev2, action);
1927
+ if (prev2 !== stateRef.current) setIteration(function(x) {
1926
1928
  return x + 1;
1927
1929
  });
1928
1930
  }, []);
@@ -1977,14 +1979,14 @@ function useFormik(_ref) {
1977
1979
  return runSingleFieldLevelValidation(f, getIn$1(values, f));
1978
1980
  }) : [Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];
1979
1981
  return Promise.all(fieldValidations).then(function(fieldErrorsList) {
1980
- return fieldErrorsList.reduce(function(prev, curr, index) {
1982
+ return fieldErrorsList.reduce(function(prev2, curr, index) {
1981
1983
  if (curr === "DO_NOT_DELETE_YOU_WILL_BE_FIRED") {
1982
- return prev;
1984
+ return prev2;
1983
1985
  }
1984
1986
  if (curr) {
1985
- prev = setIn(prev, fieldKeysWithValidation[index], curr);
1987
+ prev2 = setIn(prev2, fieldKeysWithValidation[index], curr);
1986
1988
  }
1987
- return prev;
1989
+ return prev2;
1988
1990
  }, {});
1989
1991
  });
1990
1992
  }, [runSingleFieldLevelValidation]);
@@ -6777,8 +6779,8 @@ function removeFormattingTokens(input) {
6777
6779
  return input.replace(/\\/g, "");
6778
6780
  }
6779
6781
  function makeFormatFunction(format2) {
6780
- var array2 = format2.match(formattingTokens), i, length;
6781
- for (i = 0, length = array2.length; i < length; i++) {
6782
+ var array2 = format2.match(formattingTokens), i, length2;
6783
+ for (i = 0, length2 = array2.length; i < length2; i++) {
6782
6784
  if (formatTokenFunctions[array2[i]]) {
6783
6785
  array2[i] = formatTokenFunctions[array2[i]];
6784
6786
  } else {
@@ -6787,7 +6789,7 @@ function makeFormatFunction(format2) {
6787
6789
  }
6788
6790
  return function(mom) {
6789
6791
  var output = "", i2;
6790
- for (i2 = 0; i2 < length; i2++) {
6792
+ for (i2 = 0; i2 < length2; i2++) {
6791
6793
  output += isFunction2(array2[i2]) ? array2[i2].call(mom, format2) : array2[i2];
6792
6794
  }
6793
6795
  return output;
@@ -7925,18 +7927,18 @@ function normalizeLocale(key) {
7925
7927
  return key ? key.toLowerCase().replace("_", "-") : key;
7926
7928
  }
7927
7929
  function chooseLocale(names) {
7928
- var i = 0, j, next, locale2, split;
7930
+ var i = 0, j, next2, locale2, split;
7929
7931
  while (i < names.length) {
7930
7932
  split = normalizeLocale(names[i]).split("-");
7931
7933
  j = split.length;
7932
- next = normalizeLocale(names[i + 1]);
7933
- next = next ? next.split("-") : null;
7934
+ next2 = normalizeLocale(names[i + 1]);
7935
+ next2 = next2 ? next2.split("-") : null;
7934
7936
  while (j > 0) {
7935
7937
  locale2 = loadLocale(split.slice(0, j).join("-"));
7936
7938
  if (locale2) {
7937
7939
  return locale2;
7938
7940
  }
7939
- if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {
7941
+ if (next2 && next2.length >= j && commonPrefix(split, next2) >= j - 1) {
7940
7942
  break;
7941
7943
  }
7942
7944
  j--;
@@ -8131,11 +8133,11 @@ var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\
8131
8133
  PST: -8 * 60
8132
8134
  };
8133
8135
  function configFromISO(config) {
8134
- var i, l, string2 = config._i, match = extendedIsoRegex.exec(string2) || basicIsoRegex.exec(string2), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
8135
- if (match) {
8136
+ var i, l, string2 = config._i, match5 = extendedIsoRegex.exec(string2) || basicIsoRegex.exec(string2), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
8137
+ if (match5) {
8136
8138
  getParsingFlags(config).iso = true;
8137
8139
  for (i = 0, l = isoDatesLen; i < l; i++) {
8138
- if (isoDates[i][1].exec(match[1])) {
8140
+ if (isoDates[i][1].exec(match5[1])) {
8139
8141
  dateFormat = isoDates[i][0];
8140
8142
  allowTime = isoDates[i][2] !== false;
8141
8143
  break;
@@ -8145,10 +8147,10 @@ function configFromISO(config) {
8145
8147
  config._isValid = false;
8146
8148
  return;
8147
8149
  }
8148
- if (match[3]) {
8150
+ if (match5[3]) {
8149
8151
  for (i = 0, l = isoTimesLen; i < l; i++) {
8150
- if (isoTimes[i][1].exec(match[3])) {
8151
- timeFormat = (match[2] || " ") + isoTimes[i][0];
8152
+ if (isoTimes[i][1].exec(match5[3])) {
8153
+ timeFormat = (match5[2] || " ") + isoTimes[i][0];
8152
8154
  break;
8153
8155
  }
8154
8156
  }
@@ -8161,8 +8163,8 @@ function configFromISO(config) {
8161
8163
  config._isValid = false;
8162
8164
  return;
8163
8165
  }
8164
- if (match[4]) {
8165
- if (tzRegex.exec(match[4])) {
8166
+ if (match5[4]) {
8167
+ if (tzRegex.exec(match5[4])) {
8166
8168
  tzFormat = "Z";
8167
8169
  } else {
8168
8170
  config._isValid = false;
@@ -8226,21 +8228,21 @@ function calculateOffset(obsOffset, militaryOffset, numOffset) {
8226
8228
  }
8227
8229
  }
8228
8230
  function configFromRFC2822(config) {
8229
- var match = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
8230
- if (match) {
8231
+ var match5 = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
8232
+ if (match5) {
8231
8233
  parsedArray = extractFromRFC2822Strings(
8232
- match[4],
8233
- match[3],
8234
- match[2],
8235
- match[5],
8236
- match[6],
8237
- match[7]
8234
+ match5[4],
8235
+ match5[3],
8236
+ match5[2],
8237
+ match5[5],
8238
+ match5[6],
8239
+ match5[7]
8238
8240
  );
8239
- if (!checkWeekday(match[1], parsedArray, config)) {
8241
+ if (!checkWeekday(match5[1], parsedArray, config)) {
8240
8242
  return;
8241
8243
  }
8242
8244
  config._a = parsedArray;
8243
- config._tzm = calculateOffset(match[8], match[9], match[10]);
8245
+ config._tzm = calculateOffset(match5[8], match5[9], match5[10]);
8244
8246
  config._d = createUTCDate.apply(null, config._a);
8245
8247
  config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
8246
8248
  getParsingFlags(config).rfc2822 = true;
@@ -8875,7 +8877,7 @@ function isUtc() {
8875
8877
  }
8876
8878
  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)?)?$/;
8877
8879
  function createDuration(input, key) {
8878
- var duration = input, match = null, sign2, ret, diffRes;
8880
+ var duration = input, match5 = null, sign2, ret, diffRes;
8879
8881
  if (isDuration(input)) {
8880
8882
  duration = {
8881
8883
  ms: input._milliseconds,
@@ -8889,27 +8891,27 @@ function createDuration(input, key) {
8889
8891
  } else {
8890
8892
  duration.milliseconds = +input;
8891
8893
  }
8892
- } else if (match = aspNetRegex.exec(input)) {
8893
- sign2 = match[1] === "-" ? -1 : 1;
8894
+ } else if (match5 = aspNetRegex.exec(input)) {
8895
+ sign2 = match5[1] === "-" ? -1 : 1;
8894
8896
  duration = {
8895
8897
  y: 0,
8896
- d: toInt(match[DATE]) * sign2,
8897
- h: toInt(match[HOUR]) * sign2,
8898
- m: toInt(match[MINUTE]) * sign2,
8899
- s: toInt(match[SECOND]) * sign2,
8900
- ms: toInt(absRound(match[MILLISECOND] * 1e3)) * sign2
8898
+ d: toInt(match5[DATE]) * sign2,
8899
+ h: toInt(match5[HOUR]) * sign2,
8900
+ m: toInt(match5[MINUTE]) * sign2,
8901
+ s: toInt(match5[SECOND]) * sign2,
8902
+ ms: toInt(absRound(match5[MILLISECOND] * 1e3)) * sign2
8901
8903
  // the millisecond decimal point is included in the match
8902
8904
  };
8903
- } else if (match = isoRegex.exec(input)) {
8904
- sign2 = match[1] === "-" ? -1 : 1;
8905
+ } else if (match5 = isoRegex.exec(input)) {
8906
+ sign2 = match5[1] === "-" ? -1 : 1;
8905
8907
  duration = {
8906
- y: parseIso(match[2], sign2),
8907
- M: parseIso(match[3], sign2),
8908
- w: parseIso(match[4], sign2),
8909
- d: parseIso(match[5], sign2),
8910
- h: parseIso(match[6], sign2),
8911
- m: parseIso(match[7], sign2),
8912
- s: parseIso(match[8], sign2)
8908
+ y: parseIso(match5[2], sign2),
8909
+ M: parseIso(match5[3], sign2),
8910
+ w: parseIso(match5[4], sign2),
8911
+ d: parseIso(match5[5], sign2),
8912
+ h: parseIso(match5[6], sign2),
8913
+ m: parseIso(match5[7], sign2),
8914
+ s: parseIso(match5[8], sign2)
8913
8915
  };
8914
8916
  } else if (duration == null) {
8915
8917
  duration = {};
@@ -9229,16 +9231,16 @@ function inspect() {
9229
9231
  if (!this.isValid()) {
9230
9232
  return "moment.invalid(/* " + this._i + " */)";
9231
9233
  }
9232
- var func = "moment", zone = "", prefix, year, datetime, suffix;
9234
+ var func = "moment", zone = "", prefix2, year, datetime, suffix;
9233
9235
  if (!this.isLocal()) {
9234
9236
  func = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone";
9235
9237
  zone = "Z";
9236
9238
  }
9237
- prefix = "[" + func + '("]';
9239
+ prefix2 = "[" + func + '("]';
9238
9240
  year = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY";
9239
9241
  datetime = "-MM-DD[T]HH:mm:ss.SSS";
9240
9242
  suffix = zone + '[")]';
9241
- return this.format(prefix + year + datetime + suffix);
9243
+ return this.format(prefix2 + year + datetime + suffix);
9242
9244
  }
9243
9245
  function format(inputString) {
9244
9246
  if (!inputString) {
@@ -9247,7 +9249,7 @@ function format(inputString) {
9247
9249
  var output = formatMoment(this, inputString);
9248
9250
  return this.localeData().postformat(output);
9249
9251
  }
9250
- function from(time, withoutSuffix) {
9252
+ function from$1(time, withoutSuffix) {
9251
9253
  if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
9252
9254
  return createDuration({ to: this, from: time }).locale(this.locale()).humanize(!withoutSuffix);
9253
9255
  } else {
@@ -9514,12 +9516,12 @@ addRegexToken("yyyy", matchUnsigned);
9514
9516
  addRegexToken("yo", matchEraYearOrdinal);
9515
9517
  addParseToken(["y", "yy", "yyy", "yyyy"], YEAR);
9516
9518
  addParseToken(["yo"], function(input, array2, config, token2) {
9517
- var match;
9519
+ var match5;
9518
9520
  if (config._locale._eraYearOrdinalRegex) {
9519
- match = input.match(config._locale._eraYearOrdinalRegex);
9521
+ match5 = input.match(config._locale._eraYearOrdinalRegex);
9520
9522
  }
9521
9523
  if (config._locale.eraYearOrdinalParse) {
9522
- array2[YEAR] = config._locale.eraYearOrdinalParse(input, match);
9524
+ array2[YEAR] = config._locale.eraYearOrdinalParse(input, match5);
9523
9525
  } else {
9524
9526
  array2[YEAR] = parseInt(input, 10);
9525
9527
  }
@@ -9838,15 +9840,15 @@ addFormatToken(0, ["SSSSSSSSS", 9], 0, function() {
9838
9840
  addRegexToken("S", match1to3, match1);
9839
9841
  addRegexToken("SS", match1to3, match2);
9840
9842
  addRegexToken("SSS", match1to3, match3);
9841
- var token, getSetMillisecond;
9842
- for (token = "SSSS"; token.length <= 9; token += "S") {
9843
- addRegexToken(token, matchUnsigned);
9843
+ var token$1, getSetMillisecond;
9844
+ for (token$1 = "SSSS"; token$1.length <= 9; token$1 += "S") {
9845
+ addRegexToken(token$1, matchUnsigned);
9844
9846
  }
9845
9847
  function parseMs(input, array2) {
9846
9848
  array2[MILLISECOND] = toInt(("0." + input) * 1e3);
9847
9849
  }
9848
- for (token = "S"; token.length <= 9; token += "S") {
9849
- addParseToken(token, parseMs);
9850
+ for (token$1 = "S"; token$1.length <= 9; token$1 += "S") {
9851
+ addParseToken(token$1, parseMs);
9850
9852
  }
9851
9853
  getSetMillisecond = makeGetSet("Milliseconds", false);
9852
9854
  addFormatToken("z", 0, 0, "zoneAbbr");
@@ -9864,7 +9866,7 @@ proto.clone = clone$1;
9864
9866
  proto.diff = diff;
9865
9867
  proto.endOf = endOf;
9866
9868
  proto.format = format;
9867
- proto.from = from;
9869
+ proto.from = from$1;
9868
9870
  proto.fromNow = fromNow;
9869
9871
  proto.to = to;
9870
9872
  proto.toNow = toNow;
@@ -10095,7 +10097,7 @@ hooks.langData = deprecate(
10095
10097
  getLocale
10096
10098
  );
10097
10099
  var mathAbs = Math.abs;
10098
- function abs() {
10100
+ function abs$1() {
10099
10101
  var data = this._data;
10100
10102
  this._milliseconds = mathAbs(this._milliseconds);
10101
10103
  this._days = mathAbs(this._days);
@@ -10297,7 +10299,7 @@ function humanize(argWithSuffix, argThresholds) {
10297
10299
  }
10298
10300
  return locale2.postformat(output);
10299
10301
  }
10300
- var abs$1 = Math.abs;
10302
+ var abs$1$1 = Math.abs;
10301
10303
  function sign(x) {
10302
10304
  return (x > 0) - (x < 0) || +x;
10303
10305
  }
@@ -10305,7 +10307,7 @@ function toISOString$1() {
10305
10307
  if (!this.isValid()) {
10306
10308
  return this.localeData().invalidDate();
10307
10309
  }
10308
- 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;
10310
+ 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;
10309
10311
  if (!total) {
10310
10312
  return "P0D";
10311
10313
  }
@@ -10324,7 +10326,7 @@ function toISOString$1() {
10324
10326
  }
10325
10327
  var proto$2 = Duration.prototype;
10326
10328
  proto$2.isValid = isValid$1;
10327
- proto$2.abs = abs;
10329
+ proto$2.abs = abs$1;
10328
10330
  proto$2.add = add$1;
10329
10331
  proto$2.subtract = subtract$1;
10330
10332
  proto$2.as = as;
@@ -10537,7 +10539,7 @@ function requireTinyCase() {
10537
10539
  const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
10538
10540
  const join = (str, d) => words(str).join(d).toLowerCase();
10539
10541
  const camelCase = (str) => words(str).reduce(
10540
- (acc, next) => `${acc}${!acc ? next.toLowerCase() : next[0].toUpperCase() + next.slice(1).toLowerCase()}`,
10542
+ (acc, next2) => `${acc}${!acc ? next2.toLowerCase() : next2[0].toUpperCase() + next2.slice(1).toLowerCase()}`,
10541
10543
  ""
10542
10544
  );
10543
10545
  const pascalCase = (str) => upperFirst(camelCase(str));
@@ -10578,32 +10580,32 @@ function requireToposort() {
10578
10580
  if (!visited[i]) visit(nodes[i], i, /* @__PURE__ */ new Set());
10579
10581
  }
10580
10582
  return sorted;
10581
- function visit(node, i2, predecessors) {
10582
- if (predecessors.has(node)) {
10583
+ function visit(node2, i2, predecessors) {
10584
+ if (predecessors.has(node2)) {
10583
10585
  var nodeRep;
10584
10586
  try {
10585
- nodeRep = ", node was:" + JSON.stringify(node);
10587
+ nodeRep = ", node was:" + JSON.stringify(node2);
10586
10588
  } catch (e) {
10587
10589
  nodeRep = "";
10588
10590
  }
10589
10591
  throw new Error("Cyclic dependency" + nodeRep);
10590
10592
  }
10591
- if (!nodesHash.has(node)) {
10592
- throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(node));
10593
+ if (!nodesHash.has(node2)) {
10594
+ throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: " + JSON.stringify(node2));
10593
10595
  }
10594
10596
  if (visited[i2]) return;
10595
10597
  visited[i2] = true;
10596
- var outgoing = outgoingEdges.get(node) || /* @__PURE__ */ new Set();
10598
+ var outgoing = outgoingEdges.get(node2) || /* @__PURE__ */ new Set();
10597
10599
  outgoing = Array.from(outgoing);
10598
10600
  if (i2 = outgoing.length) {
10599
- predecessors.add(node);
10601
+ predecessors.add(node2);
10600
10602
  do {
10601
10603
  var child = outgoing[--i2];
10602
10604
  visit(child, nodesHash.get(child), predecessors);
10603
10605
  } while (i2);
10604
- predecessors.delete(node);
10606
+ predecessors.delete(node2);
10605
10607
  }
10606
- sorted[--cursor] = node;
10608
+ sorted[--cursor] = node2;
10607
10609
  }
10608
10610
  }
10609
10611
  function uniqueNodes(arr) {
@@ -10884,8 +10886,8 @@ class Reference {
10884
10886
  this.isContext = this.key[0] === prefixes.context;
10885
10887
  this.isValue = this.key[0] === prefixes.value;
10886
10888
  this.isSibling = !this.isContext && !this.isValue;
10887
- let prefix = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
10888
- this.path = this.key.slice(prefix.length);
10889
+ let prefix2 = this.isContext ? prefixes.context : this.isValue ? prefixes.value : "";
10890
+ this.path = this.key.slice(prefix2.length);
10889
10891
  this.getter = this.path && propertyExprExports.getter(this.path, true);
10890
10892
  this.map = options.map;
10891
10893
  }
@@ -10930,7 +10932,7 @@ function createValidation(config) {
10930
10932
  options,
10931
10933
  originalValue,
10932
10934
  schema
10933
- }, panic, next) {
10935
+ }, panic, next2) {
10934
10936
  const {
10935
10937
  name,
10936
10938
  test,
@@ -10962,7 +10964,7 @@ function createValidation(config) {
10962
10964
  error.params = nextParams;
10963
10965
  return error;
10964
10966
  }
10965
- const invalid = abortEarly ? panic : next;
10967
+ const invalid = abortEarly ? panic : next2;
10966
10968
  let ctx = {
10967
10969
  path,
10968
10970
  parent,
@@ -10979,7 +10981,7 @@ function createValidation(config) {
10979
10981
  const handleResult2 = (validOrError) => {
10980
10982
  if (ValidationError.isError(validOrError)) invalid(validOrError);
10981
10983
  else if (!validOrError) invalid(createError());
10982
- else next(null);
10984
+ else next2(null);
10983
10985
  };
10984
10986
  const handleError = (err) => {
10985
10987
  if (ValidationError.isError(err)) invalid(err);
@@ -11077,42 +11079,42 @@ class ReferenceSet extends Set {
11077
11079
  return new ReferenceSet(this.values());
11078
11080
  }
11079
11081
  merge(newItems, removeItems) {
11080
- const next = this.clone();
11081
- newItems.forEach((value) => next.add(value));
11082
- removeItems.forEach((value) => next.delete(value));
11083
- return next;
11082
+ const next2 = this.clone();
11083
+ newItems.forEach((value) => next2.add(value));
11084
+ removeItems.forEach((value) => next2.delete(value));
11085
+ return next2;
11084
11086
  }
11085
11087
  }
11086
11088
  function clone(src, seen = /* @__PURE__ */ new Map()) {
11087
11089
  if (isSchema(src) || !src || typeof src !== "object") return src;
11088
11090
  if (seen.has(src)) return seen.get(src);
11089
- let copy;
11091
+ let copy2;
11090
11092
  if (src instanceof Date) {
11091
- copy = new Date(src.getTime());
11092
- seen.set(src, copy);
11093
+ copy2 = new Date(src.getTime());
11094
+ seen.set(src, copy2);
11093
11095
  } else if (src instanceof RegExp) {
11094
- copy = new RegExp(src);
11095
- seen.set(src, copy);
11096
+ copy2 = new RegExp(src);
11097
+ seen.set(src, copy2);
11096
11098
  } else if (Array.isArray(src)) {
11097
- copy = new Array(src.length);
11098
- seen.set(src, copy);
11099
- for (let i = 0; i < src.length; i++) copy[i] = clone(src[i], seen);
11099
+ copy2 = new Array(src.length);
11100
+ seen.set(src, copy2);
11101
+ for (let i = 0; i < src.length; i++) copy2[i] = clone(src[i], seen);
11100
11102
  } else if (src instanceof Map) {
11101
- copy = /* @__PURE__ */ new Map();
11102
- seen.set(src, copy);
11103
- for (const [k, v] of src.entries()) copy.set(k, clone(v, seen));
11103
+ copy2 = /* @__PURE__ */ new Map();
11104
+ seen.set(src, copy2);
11105
+ for (const [k, v] of src.entries()) copy2.set(k, clone(v, seen));
11104
11106
  } else if (src instanceof Set) {
11105
- copy = /* @__PURE__ */ new Set();
11106
- seen.set(src, copy);
11107
- for (const v of src) copy.add(clone(v, seen));
11107
+ copy2 = /* @__PURE__ */ new Set();
11108
+ seen.set(src, copy2);
11109
+ for (const v of src) copy2.add(clone(v, seen));
11108
11110
  } else if (src instanceof Object) {
11109
- copy = {};
11110
- seen.set(src, copy);
11111
- for (const [k, v] of Object.entries(src)) copy[k] = clone(v, seen);
11111
+ copy2 = {};
11112
+ seen.set(src, copy2);
11113
+ for (const [k, v] of Object.entries(src)) copy2[k] = clone(v, seen);
11112
11114
  } else {
11113
11115
  throw Error(`Unable to clone ${src}`);
11114
11116
  }
11115
- return copy;
11117
+ return copy2;
11116
11118
  }
11117
11119
  function createStandardPath(path) {
11118
11120
  if (!(path != null && path.length)) {
@@ -11123,8 +11125,8 @@ function createStandardPath(path) {
11123
11125
  let inBrackets = false;
11124
11126
  let inQuotes = false;
11125
11127
  for (let i = 0; i < path.length; i++) {
11126
- const char = path[i];
11127
- if (char === "[" && !inQuotes) {
11128
+ const char2 = path[i];
11129
+ if (char2 === "[" && !inQuotes) {
11128
11130
  if (currentSegment) {
11129
11131
  segments.push(...currentSegment.split(".").filter(Boolean));
11130
11132
  currentSegment = "";
@@ -11132,7 +11134,7 @@ function createStandardPath(path) {
11132
11134
  inBrackets = true;
11133
11135
  continue;
11134
11136
  }
11135
- if (char === "]" && !inQuotes) {
11137
+ if (char2 === "]" && !inQuotes) {
11136
11138
  if (currentSegment) {
11137
11139
  if (/^\d+$/.test(currentSegment)) {
11138
11140
  segments.push(currentSegment);
@@ -11144,18 +11146,18 @@ function createStandardPath(path) {
11144
11146
  inBrackets = false;
11145
11147
  continue;
11146
11148
  }
11147
- if (char === '"') {
11149
+ if (char2 === '"') {
11148
11150
  inQuotes = !inQuotes;
11149
11151
  continue;
11150
11152
  }
11151
- if (char === "." && !inBrackets && !inQuotes) {
11153
+ if (char2 === "." && !inBrackets && !inQuotes) {
11152
11154
  if (currentSegment) {
11153
11155
  segments.push(currentSegment);
11154
11156
  currentSegment = "";
11155
11157
  }
11156
11158
  continue;
11157
11159
  }
11158
- currentSegment += char;
11160
+ currentSegment += char2;
11159
11161
  }
11160
11162
  if (currentSegment) {
11161
11163
  segments.push(...currentSegment.split(".").filter(Boolean));
@@ -11221,30 +11223,30 @@ class Schema {
11221
11223
  if (spec) Object.assign(this.spec, spec);
11222
11224
  return this;
11223
11225
  }
11224
- const next = Object.create(Object.getPrototypeOf(this));
11225
- next.type = this.type;
11226
- next._typeCheck = this._typeCheck;
11227
- next._whitelist = this._whitelist.clone();
11228
- next._blacklist = this._blacklist.clone();
11229
- next.internalTests = Object.assign({}, this.internalTests);
11230
- next.exclusiveTests = Object.assign({}, this.exclusiveTests);
11231
- next.deps = [...this.deps];
11232
- next.conditions = [...this.conditions];
11233
- next.tests = [...this.tests];
11234
- next.transforms = [...this.transforms];
11235
- next.spec = clone(Object.assign({}, this.spec, spec));
11236
- return next;
11226
+ const next2 = Object.create(Object.getPrototypeOf(this));
11227
+ next2.type = this.type;
11228
+ next2._typeCheck = this._typeCheck;
11229
+ next2._whitelist = this._whitelist.clone();
11230
+ next2._blacklist = this._blacklist.clone();
11231
+ next2.internalTests = Object.assign({}, this.internalTests);
11232
+ next2.exclusiveTests = Object.assign({}, this.exclusiveTests);
11233
+ next2.deps = [...this.deps];
11234
+ next2.conditions = [...this.conditions];
11235
+ next2.tests = [...this.tests];
11236
+ next2.transforms = [...this.transforms];
11237
+ next2.spec = clone(Object.assign({}, this.spec, spec));
11238
+ return next2;
11237
11239
  }
11238
11240
  label(label) {
11239
- let next = this.clone();
11240
- next.spec.label = label;
11241
- return next;
11241
+ let next2 = this.clone();
11242
+ next2.spec.label = label;
11243
+ return next2;
11242
11244
  }
11243
11245
  meta(...args) {
11244
11246
  if (args.length === 0) return this.spec.meta;
11245
- let next = this.clone();
11246
- next.spec.meta = Object.assign(next.spec.meta || {}, args[0]);
11247
- return next;
11247
+ let next2 = this.clone();
11248
+ next2.spec.meta = Object.assign(next2.spec.meta || {}, args[0]);
11249
+ return next2;
11248
11250
  }
11249
11251
  withMutation(fn) {
11250
11252
  let before = this._mutate;
@@ -11265,9 +11267,9 @@ class Schema {
11265
11267
  combined._blacklist = base._blacklist.merge(schema._blacklist, schema._whitelist);
11266
11268
  combined.tests = base.tests;
11267
11269
  combined.exclusiveTests = base.exclusiveTests;
11268
- combined.withMutation((next) => {
11270
+ combined.withMutation((next2) => {
11269
11271
  schema.tests.forEach((fn) => {
11270
- next.test(fn.OPTIONS);
11272
+ next2.test(fn.OPTIONS);
11271
11273
  });
11272
11274
  });
11273
11275
  combined.transforms = [...base.transforms, ...combined.transforms];
@@ -11333,7 +11335,7 @@ attempted value: ${formattedValue}
11333
11335
  }
11334
11336
  return value;
11335
11337
  }
11336
- _validate(_value, options = {}, panic, next) {
11338
+ _validate(_value, options = {}, panic, next2) {
11337
11339
  let {
11338
11340
  path,
11339
11341
  originalValue = _value,
@@ -11357,7 +11359,7 @@ attempted value: ${formattedValue}
11357
11359
  tests: initialTests
11358
11360
  }, panic, (initialErrors) => {
11359
11361
  if (initialErrors.length) {
11360
- return next(initialErrors, value);
11362
+ return next2(initialErrors, value);
11361
11363
  }
11362
11364
  this.runTests({
11363
11365
  path,
@@ -11365,14 +11367,14 @@ attempted value: ${formattedValue}
11365
11367
  originalValue,
11366
11368
  options,
11367
11369
  tests: this.tests
11368
- }, panic, next);
11370
+ }, panic, next2);
11369
11371
  });
11370
11372
  }
11371
11373
  /**
11372
11374
  * Executes a set of validations, either schema, produced Tests or a nested
11373
11375
  * schema validate result.
11374
11376
  */
11375
- runTests(runOptions, panic, next) {
11377
+ runTests(runOptions, panic, next2) {
11376
11378
  let fired = false;
11377
11379
  let {
11378
11380
  tests,
@@ -11389,7 +11391,7 @@ attempted value: ${formattedValue}
11389
11391
  let nextOnce = (arg) => {
11390
11392
  if (fired) return;
11391
11393
  fired = true;
11392
- next(arg, value);
11394
+ next2(arg, value);
11393
11395
  };
11394
11396
  let count = tests.length;
11395
11397
  let nestedErrors = [];
@@ -11442,7 +11444,7 @@ attempted value: ${formattedValue}
11442
11444
  [isIndex2 ? "index" : "key"]: k,
11443
11445
  path: isIndex2 || k.includes(".") ? `${parentPath || ""}[${isIndex2 ? k : `"${k}"`}]` : (parentPath ? `${parentPath}.` : "") + key
11444
11446
  });
11445
- return (_, panic, next) => this.resolve(testOptions)._validate(value, testOptions, panic, next);
11447
+ return (_, panic, next2) => this.resolve(testOptions)._validate(value, testOptions, panic, next2);
11446
11448
  }
11447
11449
  validate(value, options) {
11448
11450
  var _options$disableStack2;
@@ -11506,10 +11508,10 @@ attempted value: ${formattedValue}
11506
11508
  if (arguments.length === 0) {
11507
11509
  return this._getDefault();
11508
11510
  }
11509
- let next = this.clone({
11511
+ let next2 = this.clone({
11510
11512
  default: def
11511
11513
  });
11512
- return next;
11514
+ return next2;
11513
11515
  }
11514
11516
  strict(isStrict = true) {
11515
11517
  return this.clone({
@@ -11517,30 +11519,30 @@ attempted value: ${formattedValue}
11517
11519
  });
11518
11520
  }
11519
11521
  nullability(nullable, message) {
11520
- const next = this.clone({
11522
+ const next2 = this.clone({
11521
11523
  nullable
11522
11524
  });
11523
- next.internalTests.nullable = createValidation({
11525
+ next2.internalTests.nullable = createValidation({
11524
11526
  message,
11525
11527
  name: "nullable",
11526
11528
  test(value) {
11527
11529
  return value === null ? this.schema.spec.nullable : true;
11528
11530
  }
11529
11531
  });
11530
- return next;
11532
+ return next2;
11531
11533
  }
11532
11534
  optionality(optional, message) {
11533
- const next = this.clone({
11535
+ const next2 = this.clone({
11534
11536
  optional
11535
11537
  });
11536
- next.internalTests.optionality = createValidation({
11538
+ next2.internalTests.optionality = createValidation({
11537
11539
  message,
11538
11540
  name: "optionality",
11539
11541
  test(value) {
11540
11542
  return value === void 0 ? this.schema.spec.optional : true;
11541
11543
  }
11542
11544
  });
11543
- return next;
11545
+ return next2;
11544
11546
  }
11545
11547
  optional() {
11546
11548
  return this.optionality(true);
@@ -11555,15 +11557,15 @@ attempted value: ${formattedValue}
11555
11557
  return this.nullability(false, message);
11556
11558
  }
11557
11559
  required(message = mixed.required) {
11558
- return this.clone().withMutation((next) => next.nonNullable(message).defined(message));
11560
+ return this.clone().withMutation((next2) => next2.nonNullable(message).defined(message));
11559
11561
  }
11560
11562
  notRequired() {
11561
- return this.clone().withMutation((next) => next.nullable().optional());
11563
+ return this.clone().withMutation((next2) => next2.nullable().optional());
11562
11564
  }
11563
11565
  transform(fn) {
11564
- let next = this.clone();
11565
- next.transforms.push(fn);
11566
- return next;
11566
+ let next2 = this.clone();
11567
+ next2.transforms.push(fn);
11568
+ return next2;
11567
11569
  }
11568
11570
  /**
11569
11571
  * Adds a test function to the schema's queue of tests.
@@ -11602,39 +11604,39 @@ attempted value: ${formattedValue}
11602
11604
  }
11603
11605
  if (opts.message === void 0) opts.message = mixed.default;
11604
11606
  if (typeof opts.test !== "function") throw new TypeError("`test` is a required parameters");
11605
- let next = this.clone();
11607
+ let next2 = this.clone();
11606
11608
  let validate = createValidation(opts);
11607
- let isExclusive = opts.exclusive || opts.name && next.exclusiveTests[opts.name] === true;
11609
+ let isExclusive = opts.exclusive || opts.name && next2.exclusiveTests[opts.name] === true;
11608
11610
  if (opts.exclusive) {
11609
11611
  if (!opts.name) throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");
11610
11612
  }
11611
- if (opts.name) next.exclusiveTests[opts.name] = !!opts.exclusive;
11612
- next.tests = next.tests.filter((fn) => {
11613
+ if (opts.name) next2.exclusiveTests[opts.name] = !!opts.exclusive;
11614
+ next2.tests = next2.tests.filter((fn) => {
11613
11615
  if (fn.OPTIONS.name === opts.name) {
11614
11616
  if (isExclusive) return false;
11615
11617
  if (fn.OPTIONS.test === validate.OPTIONS.test) return false;
11616
11618
  }
11617
11619
  return true;
11618
11620
  });
11619
- next.tests.push(validate);
11620
- return next;
11621
+ next2.tests.push(validate);
11622
+ return next2;
11621
11623
  }
11622
11624
  when(keys2, options) {
11623
11625
  if (!Array.isArray(keys2) && typeof keys2 !== "string") {
11624
11626
  options = keys2;
11625
11627
  keys2 = ".";
11626
11628
  }
11627
- let next = this.clone();
11629
+ let next2 = this.clone();
11628
11630
  let deps = toArray(keys2).map((key) => new Reference(key));
11629
11631
  deps.forEach((dep) => {
11630
- if (dep.isSibling) next.deps.push(dep.key);
11632
+ if (dep.isSibling) next2.deps.push(dep.key);
11631
11633
  });
11632
- next.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
11633
- return next;
11634
+ next2.conditions.push(typeof options === "function" ? new Condition(deps, options) : Condition.fromOptions(deps, options));
11635
+ return next2;
11634
11636
  }
11635
11637
  typeError(message) {
11636
- let next = this.clone();
11637
- next.internalTests.typeError = createValidation({
11638
+ let next2 = this.clone();
11639
+ next2.internalTests.typeError = createValidation({
11638
11640
  message,
11639
11641
  name: "typeError",
11640
11642
  skipAbsent: true,
@@ -11647,15 +11649,15 @@ attempted value: ${formattedValue}
11647
11649
  return true;
11648
11650
  }
11649
11651
  });
11650
- return next;
11652
+ return next2;
11651
11653
  }
11652
11654
  oneOf(enums, message = mixed.oneOf) {
11653
- let next = this.clone();
11655
+ let next2 = this.clone();
11654
11656
  enums.forEach((val) => {
11655
- next._whitelist.add(val);
11656
- next._blacklist.delete(val);
11657
+ next2._whitelist.add(val);
11658
+ next2._blacklist.delete(val);
11657
11659
  });
11658
- next.internalTests.whiteList = createValidation({
11660
+ next2.internalTests.whiteList = createValidation({
11659
11661
  message,
11660
11662
  name: "oneOf",
11661
11663
  skipAbsent: true,
@@ -11670,15 +11672,15 @@ attempted value: ${formattedValue}
11670
11672
  });
11671
11673
  }
11672
11674
  });
11673
- return next;
11675
+ return next2;
11674
11676
  }
11675
11677
  notOneOf(enums, message = mixed.notOneOf) {
11676
- let next = this.clone();
11678
+ let next2 = this.clone();
11677
11679
  enums.forEach((val) => {
11678
- next._blacklist.add(val);
11679
- next._whitelist.delete(val);
11680
+ next2._blacklist.add(val);
11681
+ next2._whitelist.delete(val);
11680
11682
  });
11681
- next.internalTests.blacklist = createValidation({
11683
+ next2.internalTests.blacklist = createValidation({
11682
11684
  message,
11683
11685
  name: "notOneOf",
11684
11686
  test(value) {
@@ -11693,12 +11695,12 @@ attempted value: ${formattedValue}
11693
11695
  return true;
11694
11696
  }
11695
11697
  });
11696
- return next;
11698
+ return next2;
11697
11699
  }
11698
11700
  strip(strip = true) {
11699
- let next = this.clone();
11700
- next.spec.strip = strip;
11701
- return next;
11701
+ let next2 = this.clone();
11702
+ next2.spec.strip = strip;
11703
+ return next2;
11702
11704
  }
11703
11705
  /**
11704
11706
  * Return a serialized description of the schema including validations, flags, types etc.
@@ -11706,23 +11708,23 @@ attempted value: ${formattedValue}
11706
11708
  * @param options Provide any needed context for resolving runtime schema alterations (lazy, when conditions, etc).
11707
11709
  */
11708
11710
  describe(options) {
11709
- const next = (options ? this.resolve(options) : this).clone();
11711
+ const next2 = (options ? this.resolve(options) : this).clone();
11710
11712
  const {
11711
11713
  label,
11712
11714
  meta,
11713
11715
  optional,
11714
11716
  nullable
11715
- } = next.spec;
11717
+ } = next2.spec;
11716
11718
  const description = {
11717
11719
  meta,
11718
11720
  label,
11719
11721
  optional,
11720
11722
  nullable,
11721
- default: next.getDefault(options),
11722
- type: next.type,
11723
- oneOf: next._whitelist.describe(),
11724
- notOneOf: next._blacklist.describe(),
11725
- tests: next.tests.filter((n, idx, list) => list.findIndex((c) => c.OPTIONS.name === n.OPTIONS.name) === idx).map((fn) => {
11723
+ default: next2.getDefault(options),
11724
+ type: next2.type,
11725
+ oneOf: next2._whitelist.describe(),
11726
+ notOneOf: next2._blacklist.describe(),
11727
+ tests: next2.tests.filter((n, idx, list) => list.findIndex((c) => c.OPTIONS.name === n.OPTIONS.name) === idx).map((fn) => {
11726
11728
  const params = fn.OPTIONS.params && options ? resolveParams(Object.assign({}, fn.OPTIONS.params), options) : fn.OPTIONS.params;
11727
11729
  return {
11728
11730
  name: fn.OPTIONS.name,
@@ -11878,17 +11880,17 @@ class StringSchema extends Schema {
11878
11880
  return schema;
11879
11881
  });
11880
11882
  }
11881
- length(length, message = string.length) {
11883
+ length(length2, message = string.length) {
11882
11884
  return this.test({
11883
11885
  message,
11884
11886
  name: "length",
11885
11887
  exclusive: true,
11886
11888
  params: {
11887
- length
11889
+ length: length2
11888
11890
  },
11889
11891
  skipAbsent: true,
11890
11892
  test(value) {
11891
- return value.length === this.resolve(length);
11893
+ return value.length === this.resolve(length2);
11892
11894
  }
11893
11895
  });
11894
11896
  }
@@ -12220,9 +12222,9 @@ function sortFields(fields, excludedEdges = []) {
12220
12222
  let nodes = /* @__PURE__ */ new Set();
12221
12223
  let excludes = new Set(excludedEdges.map(([a, b]) => `${a}-${b}`));
12222
12224
  function addNode(depPath, key) {
12223
- let node = propertyExprExports.split(depPath)[0];
12224
- nodes.add(node);
12225
- if (!excludes.has(`${key}-${node}`)) edges.push([key, node]);
12225
+ let node2 = propertyExprExports.split(depPath)[0];
12226
+ nodes.add(node2);
12227
+ if (!excludes.has(`${key}-${node2}`)) edges.push([key, node2]);
12226
12228
  }
12227
12229
  for (const key of Object.keys(fields)) {
12228
12230
  let value = fields[key];
@@ -12361,7 +12363,7 @@ class ObjectSchema extends Schema {
12361
12363
  }
12362
12364
  return isChanged ? intermediateValue : value;
12363
12365
  }
12364
- _validate(_value, options = {}, panic, next) {
12366
+ _validate(_value, options = {}, panic, next2) {
12365
12367
  let {
12366
12368
  from: from2 = [],
12367
12369
  originalValue = _value,
@@ -12375,7 +12377,7 @@ class ObjectSchema extends Schema {
12375
12377
  options.originalValue = originalValue;
12376
12378
  super._validate(_value, options, panic, (objectErrors, value) => {
12377
12379
  if (!recursive || !isObject2(value)) {
12378
- next(objectErrors, value);
12380
+ next2(objectErrors, value);
12379
12381
  return;
12380
12382
  }
12381
12383
  originalValue = originalValue || value;
@@ -12399,26 +12401,26 @@ class ObjectSchema extends Schema {
12399
12401
  originalValue,
12400
12402
  options
12401
12403
  }, panic, (fieldErrors) => {
12402
- next(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
12404
+ next2(fieldErrors.sort(this._sortErrors).concat(objectErrors), value);
12403
12405
  });
12404
12406
  });
12405
12407
  }
12406
12408
  clone(spec) {
12407
- const next = super.clone(spec);
12408
- next.fields = Object.assign({}, this.fields);
12409
- next._nodes = this._nodes;
12410
- next._excludedEdges = this._excludedEdges;
12411
- next._sortErrors = this._sortErrors;
12412
- return next;
12409
+ const next2 = super.clone(spec);
12410
+ next2.fields = Object.assign({}, this.fields);
12411
+ next2._nodes = this._nodes;
12412
+ next2._excludedEdges = this._excludedEdges;
12413
+ next2._sortErrors = this._sortErrors;
12414
+ return next2;
12413
12415
  }
12414
12416
  concat(schema) {
12415
- let next = super.concat(schema);
12416
- let nextFields = next.fields;
12417
+ let next2 = super.concat(schema);
12418
+ let nextFields = next2.fields;
12417
12419
  for (let [field, schemaOrRef] of Object.entries(this.fields)) {
12418
12420
  const target = nextFields[field];
12419
12421
  nextFields[field] = target === void 0 ? schemaOrRef : target;
12420
12422
  }
12421
- return next.withMutation((s) => (
12423
+ return next2.withMutation((s) => (
12422
12424
  // XXX: excludes here is wrong
12423
12425
  s.setFields(nextFields, [...this._excludedEdges, ...schema._excludedEdges])
12424
12426
  ));
@@ -12446,21 +12448,21 @@ class ObjectSchema extends Schema {
12446
12448
  return dft;
12447
12449
  }
12448
12450
  setFields(shape, excludedEdges) {
12449
- let next = this.clone();
12450
- next.fields = shape;
12451
- next._nodes = sortFields(shape, excludedEdges);
12452
- next._sortErrors = sortByKeyOrder(Object.keys(shape));
12453
- if (excludedEdges) next._excludedEdges = excludedEdges;
12454
- return next;
12451
+ let next2 = this.clone();
12452
+ next2.fields = shape;
12453
+ next2._nodes = sortFields(shape, excludedEdges);
12454
+ next2._sortErrors = sortByKeyOrder(Object.keys(shape));
12455
+ if (excludedEdges) next2._excludedEdges = excludedEdges;
12456
+ return next2;
12455
12457
  }
12456
12458
  shape(additions, excludes = []) {
12457
- return this.clone().withMutation((next) => {
12458
- let edges = next._excludedEdges;
12459
+ return this.clone().withMutation((next2) => {
12460
+ let edges = next2._excludedEdges;
12459
12461
  if (excludes.length) {
12460
12462
  if (!Array.isArray(excludes[0])) excludes = [excludes];
12461
- edges = [...next._excludedEdges, ...excludes];
12463
+ edges = [...next2._excludedEdges, ...excludes];
12462
12464
  }
12463
- return next.setFields(Object.assign(next.fields, additions), edges);
12465
+ return next2.setFields(Object.assign(next2.fields, additions), edges);
12464
12466
  });
12465
12467
  }
12466
12468
  partial() {
@@ -12471,8 +12473,8 @@ class ObjectSchema extends Schema {
12471
12473
  return this.setFields(partial);
12472
12474
  }
12473
12475
  deepPartial() {
12474
- const next = deepPartial(this);
12475
- return next;
12476
+ const next2 = deepPartial(this);
12477
+ return next2;
12476
12478
  }
12477
12479
  pick(keys2) {
12478
12480
  const picked = {};
@@ -12535,7 +12537,7 @@ class ObjectSchema extends Schema {
12535
12537
  message = noAllow;
12536
12538
  noAllow = true;
12537
12539
  }
12538
- let next = this.test({
12540
+ let next2 = this.test({
12539
12541
  name: "noUnknown",
12540
12542
  exclusive: true,
12541
12543
  message,
@@ -12549,8 +12551,8 @@ class ObjectSchema extends Schema {
12549
12551
  });
12550
12552
  }
12551
12553
  });
12552
- next.spec.noUnknown = noAllow;
12553
- return next;
12554
+ next2.spec.noUnknown = noAllow;
12555
+ return next2;
12554
12556
  }
12555
12557
  unknown(allow = true, message = object.noUnknown) {
12556
12558
  return this.noUnknown(!allow, message);
@@ -12573,10 +12575,10 @@ class ObjectSchema extends Schema {
12573
12575
  return this.transformKeys((key) => tinyCaseExports.snakeCase(key).toUpperCase());
12574
12576
  }
12575
12577
  describe(options) {
12576
- const next = (options ? this.resolve(options) : this).clone();
12578
+ const next2 = (options ? this.resolve(options) : this).clone();
12577
12579
  const base = super.describe(options);
12578
12580
  base.fields = {};
12579
- for (const [key, value] of Object.entries(next.fields)) {
12581
+ for (const [key, value] of Object.entries(next2.fields)) {
12580
12582
  var _innerOptions2;
12581
12583
  let innerOptions = options;
12582
12584
  if ((_innerOptions2 = innerOptions) != null && _innerOptions2.value) {
@@ -12861,6 +12863,808 @@ const IMAGES = {
12861
12863
  Us,
12862
12864
  DefaultLang
12863
12865
  };
12866
+ function sheetForTag(tag) {
12867
+ if (tag.sheet) {
12868
+ return tag.sheet;
12869
+ }
12870
+ for (var i = 0; i < document.styleSheets.length; i++) {
12871
+ if (document.styleSheets[i].ownerNode === tag) {
12872
+ return document.styleSheets[i];
12873
+ }
12874
+ }
12875
+ return void 0;
12876
+ }
12877
+ function createStyleElement(options) {
12878
+ var tag = document.createElement("style");
12879
+ tag.setAttribute("data-emotion", options.key);
12880
+ if (options.nonce !== void 0) {
12881
+ tag.setAttribute("nonce", options.nonce);
12882
+ }
12883
+ tag.appendChild(document.createTextNode(""));
12884
+ tag.setAttribute("data-s", "");
12885
+ return tag;
12886
+ }
12887
+ var StyleSheet = /* @__PURE__ */ (function() {
12888
+ function StyleSheet2(options) {
12889
+ var _this = this;
12890
+ this._insertTag = function(tag) {
12891
+ var before;
12892
+ if (_this.tags.length === 0) {
12893
+ if (_this.insertionPoint) {
12894
+ before = _this.insertionPoint.nextSibling;
12895
+ } else if (_this.prepend) {
12896
+ before = _this.container.firstChild;
12897
+ } else {
12898
+ before = _this.before;
12899
+ }
12900
+ } else {
12901
+ before = _this.tags[_this.tags.length - 1].nextSibling;
12902
+ }
12903
+ _this.container.insertBefore(tag, before);
12904
+ _this.tags.push(tag);
12905
+ };
12906
+ this.isSpeedy = options.speedy === void 0 ? true : options.speedy;
12907
+ this.tags = [];
12908
+ this.ctr = 0;
12909
+ this.nonce = options.nonce;
12910
+ this.key = options.key;
12911
+ this.container = options.container;
12912
+ this.prepend = options.prepend;
12913
+ this.insertionPoint = options.insertionPoint;
12914
+ this.before = null;
12915
+ }
12916
+ var _proto = StyleSheet2.prototype;
12917
+ _proto.hydrate = function hydrate(nodes) {
12918
+ nodes.forEach(this._insertTag);
12919
+ };
12920
+ _proto.insert = function insert(rule) {
12921
+ if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
12922
+ this._insertTag(createStyleElement(this));
12923
+ }
12924
+ var tag = this.tags[this.tags.length - 1];
12925
+ if (this.isSpeedy) {
12926
+ var sheet = sheetForTag(tag);
12927
+ try {
12928
+ sheet.insertRule(rule, sheet.cssRules.length);
12929
+ } catch (e) {
12930
+ }
12931
+ } else {
12932
+ tag.appendChild(document.createTextNode(rule));
12933
+ }
12934
+ this.ctr++;
12935
+ };
12936
+ _proto.flush = function flush() {
12937
+ this.tags.forEach(function(tag) {
12938
+ var _tag$parentNode;
12939
+ return (_tag$parentNode = tag.parentNode) == null ? void 0 : _tag$parentNode.removeChild(tag);
12940
+ });
12941
+ this.tags = [];
12942
+ this.ctr = 0;
12943
+ };
12944
+ return StyleSheet2;
12945
+ })();
12946
+ var MS = "-ms-";
12947
+ var MOZ = "-moz-";
12948
+ var WEBKIT = "-webkit-";
12949
+ var COMMENT = "comm";
12950
+ var RULESET = "rule";
12951
+ var DECLARATION = "decl";
12952
+ var IMPORT = "@import";
12953
+ var KEYFRAMES = "@keyframes";
12954
+ var LAYER = "@layer";
12955
+ var abs = Math.abs;
12956
+ var from = String.fromCharCode;
12957
+ var assign = Object.assign;
12958
+ function hash(value, length2) {
12959
+ return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
12960
+ }
12961
+ function trim(value) {
12962
+ return value.trim();
12963
+ }
12964
+ function match(value, pattern) {
12965
+ return (value = pattern.exec(value)) ? value[0] : value;
12966
+ }
12967
+ function replace(value, pattern, replacement) {
12968
+ return value.replace(pattern, replacement);
12969
+ }
12970
+ function indexof(value, search) {
12971
+ return value.indexOf(search);
12972
+ }
12973
+ function charat(value, index) {
12974
+ return value.charCodeAt(index) | 0;
12975
+ }
12976
+ function substr(value, begin, end) {
12977
+ return value.slice(begin, end);
12978
+ }
12979
+ function strlen(value) {
12980
+ return value.length;
12981
+ }
12982
+ function sizeof(value) {
12983
+ return value.length;
12984
+ }
12985
+ function append(value, array2) {
12986
+ return array2.push(value), value;
12987
+ }
12988
+ function combine(array2, callback) {
12989
+ return array2.map(callback).join("");
12990
+ }
12991
+ var line = 1;
12992
+ var column = 1;
12993
+ var length = 0;
12994
+ var position = 0;
12995
+ var character = 0;
12996
+ var characters = "";
12997
+ function node(value, root2, parent, type, props, children, length2) {
12998
+ return { value, root: root2, parent, type, props, children, line, column, length: length2, return: "" };
12999
+ }
13000
+ function copy(root2, props) {
13001
+ return assign(node("", null, null, "", null, null, 0), root2, { length: -root2.length }, props);
13002
+ }
13003
+ function char() {
13004
+ return character;
13005
+ }
13006
+ function prev() {
13007
+ character = position > 0 ? charat(characters, --position) : 0;
13008
+ if (column--, character === 10)
13009
+ column = 1, line--;
13010
+ return character;
13011
+ }
13012
+ function next() {
13013
+ character = position < length ? charat(characters, position++) : 0;
13014
+ if (column++, character === 10)
13015
+ column = 1, line++;
13016
+ return character;
13017
+ }
13018
+ function peek() {
13019
+ return charat(characters, position);
13020
+ }
13021
+ function caret() {
13022
+ return position;
13023
+ }
13024
+ function slice(begin, end) {
13025
+ return substr(characters, begin, end);
13026
+ }
13027
+ function token(type) {
13028
+ switch (type) {
13029
+ // \0 \t \n \r \s whitespace token
13030
+ case 0:
13031
+ case 9:
13032
+ case 10:
13033
+ case 13:
13034
+ case 32:
13035
+ return 5;
13036
+ // ! + , / > @ ~ isolate token
13037
+ case 33:
13038
+ case 43:
13039
+ case 44:
13040
+ case 47:
13041
+ case 62:
13042
+ case 64:
13043
+ case 126:
13044
+ // ; { } breakpoint token
13045
+ case 59:
13046
+ case 123:
13047
+ case 125:
13048
+ return 4;
13049
+ // : accompanied token
13050
+ case 58:
13051
+ return 3;
13052
+ // " ' ( [ opening delimit token
13053
+ case 34:
13054
+ case 39:
13055
+ case 40:
13056
+ case 91:
13057
+ return 2;
13058
+ // ) ] closing delimit token
13059
+ case 41:
13060
+ case 93:
13061
+ return 1;
13062
+ }
13063
+ return 0;
13064
+ }
13065
+ function alloc(value) {
13066
+ return line = column = 1, length = strlen(characters = value), position = 0, [];
13067
+ }
13068
+ function dealloc(value) {
13069
+ return characters = "", value;
13070
+ }
13071
+ function delimit(type) {
13072
+ return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
13073
+ }
13074
+ function whitespace(type) {
13075
+ while (character = peek())
13076
+ if (character < 33)
13077
+ next();
13078
+ else
13079
+ break;
13080
+ return token(type) > 2 || token(character) > 3 ? "" : " ";
13081
+ }
13082
+ function escaping(index, count) {
13083
+ while (--count && next())
13084
+ if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
13085
+ break;
13086
+ return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
13087
+ }
13088
+ function delimiter(type) {
13089
+ while (next())
13090
+ switch (character) {
13091
+ // ] ) " '
13092
+ case type:
13093
+ return position;
13094
+ // " '
13095
+ case 34:
13096
+ case 39:
13097
+ if (type !== 34 && type !== 39)
13098
+ delimiter(character);
13099
+ break;
13100
+ // (
13101
+ case 40:
13102
+ if (type === 41)
13103
+ delimiter(type);
13104
+ break;
13105
+ // \
13106
+ case 92:
13107
+ next();
13108
+ break;
13109
+ }
13110
+ return position;
13111
+ }
13112
+ function commenter(type, index) {
13113
+ while (next())
13114
+ if (type + character === 47 + 10)
13115
+ break;
13116
+ else if (type + character === 42 + 42 && peek() === 47)
13117
+ break;
13118
+ return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
13119
+ }
13120
+ function identifier(index) {
13121
+ while (!token(peek()))
13122
+ next();
13123
+ return slice(index, position);
13124
+ }
13125
+ function compile(value) {
13126
+ return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
13127
+ }
13128
+ function parse(value, root2, parent, rule, rules, rulesets, pseudo, points, declarations) {
13129
+ var index = 0;
13130
+ var offset2 = 0;
13131
+ var length2 = pseudo;
13132
+ var atrule = 0;
13133
+ var property = 0;
13134
+ var previous = 0;
13135
+ var variable = 1;
13136
+ var scanning = 1;
13137
+ var ampersand = 1;
13138
+ var character2 = 0;
13139
+ var type = "";
13140
+ var props = rules;
13141
+ var children = rulesets;
13142
+ var reference = rule;
13143
+ var characters2 = type;
13144
+ while (scanning)
13145
+ switch (previous = character2, character2 = next()) {
13146
+ // (
13147
+ case 40:
13148
+ if (previous != 108 && charat(characters2, length2 - 1) == 58) {
13149
+ if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
13150
+ ampersand = -1;
13151
+ break;
13152
+ }
13153
+ // " ' [
13154
+ case 34:
13155
+ case 39:
13156
+ case 91:
13157
+ characters2 += delimit(character2);
13158
+ break;
13159
+ // \t \n \r \s
13160
+ case 9:
13161
+ case 10:
13162
+ case 13:
13163
+ case 32:
13164
+ characters2 += whitespace(previous);
13165
+ break;
13166
+ // \
13167
+ case 92:
13168
+ characters2 += escaping(caret() - 1, 7);
13169
+ continue;
13170
+ // /
13171
+ case 47:
13172
+ switch (peek()) {
13173
+ case 42:
13174
+ case 47:
13175
+ append(comment(commenter(next(), caret()), root2, parent), declarations);
13176
+ break;
13177
+ default:
13178
+ characters2 += "/";
13179
+ }
13180
+ break;
13181
+ // {
13182
+ case 123 * variable:
13183
+ points[index++] = strlen(characters2) * ampersand;
13184
+ // } ; \0
13185
+ case 125 * variable:
13186
+ case 59:
13187
+ case 0:
13188
+ switch (character2) {
13189
+ // \0 }
13190
+ case 0:
13191
+ case 125:
13192
+ scanning = 0;
13193
+ // ;
13194
+ case 59 + offset2:
13195
+ if (ampersand == -1) characters2 = replace(characters2, /\f/g, "");
13196
+ if (property > 0 && strlen(characters2) - length2)
13197
+ append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
13198
+ break;
13199
+ // @ ;
13200
+ case 59:
13201
+ characters2 += ";";
13202
+ // { rule/at-rule
13203
+ default:
13204
+ append(reference = ruleset(characters2, root2, parent, index, offset2, rules, points, type, props = [], children = [], length2), rulesets);
13205
+ if (character2 === 123)
13206
+ if (offset2 === 0)
13207
+ parse(characters2, root2, reference, reference, props, rulesets, length2, points, children);
13208
+ else
13209
+ switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
13210
+ // d l m s
13211
+ case 100:
13212
+ case 108:
13213
+ case 109:
13214
+ case 115:
13215
+ 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);
13216
+ break;
13217
+ default:
13218
+ parse(characters2, reference, reference, reference, [""], children, 0, points, children);
13219
+ }
13220
+ }
13221
+ index = offset2 = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
13222
+ break;
13223
+ // :
13224
+ case 58:
13225
+ length2 = 1 + strlen(characters2), property = previous;
13226
+ default:
13227
+ if (variable < 1) {
13228
+ if (character2 == 123)
13229
+ --variable;
13230
+ else if (character2 == 125 && variable++ == 0 && prev() == 125)
13231
+ continue;
13232
+ }
13233
+ switch (characters2 += from(character2), character2 * variable) {
13234
+ // &
13235
+ case 38:
13236
+ ampersand = offset2 > 0 ? 1 : (characters2 += "\f", -1);
13237
+ break;
13238
+ // ,
13239
+ case 44:
13240
+ points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
13241
+ break;
13242
+ // @
13243
+ case 64:
13244
+ if (peek() === 45)
13245
+ characters2 += delimit(next());
13246
+ atrule = peek(), offset2 = length2 = strlen(type = characters2 += identifier(caret())), character2++;
13247
+ break;
13248
+ // -
13249
+ case 45:
13250
+ if (previous === 45 && strlen(characters2) == 2)
13251
+ variable = 0;
13252
+ }
13253
+ }
13254
+ return rulesets;
13255
+ }
13256
+ function ruleset(value, root2, parent, index, offset2, rules, points, type, props, children, length2) {
13257
+ var post = offset2 - 1;
13258
+ var rule = offset2 === 0 ? rules : [""];
13259
+ var size = sizeof(rule);
13260
+ for (var i = 0, j = 0, k = 0; i < index; ++i)
13261
+ for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
13262
+ if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
13263
+ props[k++] = z;
13264
+ return node(value, root2, parent, offset2 === 0 ? RULESET : type, props, children, length2);
13265
+ }
13266
+ function comment(value, root2, parent) {
13267
+ return node(value, root2, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
13268
+ }
13269
+ function declaration(value, root2, parent, length2) {
13270
+ return node(value, root2, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
13271
+ }
13272
+ function serialize(children, callback) {
13273
+ var output = "";
13274
+ var length2 = sizeof(children);
13275
+ for (var i = 0; i < length2; i++)
13276
+ output += callback(children[i], i, children, callback) || "";
13277
+ return output;
13278
+ }
13279
+ function stringify(element, index, children, callback) {
13280
+ switch (element.type) {
13281
+ case LAYER:
13282
+ if (element.children.length) break;
13283
+ case IMPORT:
13284
+ case DECLARATION:
13285
+ return element.return = element.return || element.value;
13286
+ case COMMENT:
13287
+ return "";
13288
+ case KEYFRAMES:
13289
+ return element.return = element.value + "{" + serialize(element.children, callback) + "}";
13290
+ case RULESET:
13291
+ element.value = element.props.join(",");
13292
+ }
13293
+ return strlen(children = serialize(element.children, callback)) ? element.return = element.value + "{" + children + "}" : "";
13294
+ }
13295
+ function middleware(collection) {
13296
+ var length2 = sizeof(collection);
13297
+ return function(element, index, children, callback) {
13298
+ var output = "";
13299
+ for (var i = 0; i < length2; i++)
13300
+ output += collection[i](element, index, children, callback) || "";
13301
+ return output;
13302
+ };
13303
+ }
13304
+ function rulesheet(callback) {
13305
+ return function(element) {
13306
+ if (!element.root) {
13307
+ if (element = element.return)
13308
+ callback(element);
13309
+ }
13310
+ };
13311
+ }
13312
+ var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
13313
+ var previous = 0;
13314
+ var character2 = 0;
13315
+ while (true) {
13316
+ previous = character2;
13317
+ character2 = peek();
13318
+ if (previous === 38 && character2 === 12) {
13319
+ points[index] = 1;
13320
+ }
13321
+ if (token(character2)) {
13322
+ break;
13323
+ }
13324
+ next();
13325
+ }
13326
+ return slice(begin, position);
13327
+ };
13328
+ var toRules = function toRules2(parsed, points) {
13329
+ var index = -1;
13330
+ var character2 = 44;
13331
+ do {
13332
+ switch (token(character2)) {
13333
+ case 0:
13334
+ if (character2 === 38 && peek() === 12) {
13335
+ points[index] = 1;
13336
+ }
13337
+ parsed[index] += identifierWithPointTracking(position - 1, points, index);
13338
+ break;
13339
+ case 2:
13340
+ parsed[index] += delimit(character2);
13341
+ break;
13342
+ case 4:
13343
+ if (character2 === 44) {
13344
+ parsed[++index] = peek() === 58 ? "&\f" : "";
13345
+ points[index] = parsed[index].length;
13346
+ break;
13347
+ }
13348
+ // fallthrough
13349
+ default:
13350
+ parsed[index] += from(character2);
13351
+ }
13352
+ } while (character2 = next());
13353
+ return parsed;
13354
+ };
13355
+ var getRules = function getRules2(value, points) {
13356
+ return dealloc(toRules(alloc(value), points));
13357
+ };
13358
+ var fixedElements = /* @__PURE__ */ new WeakMap();
13359
+ var compat = function compat2(element) {
13360
+ if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
13361
+ // negative .length indicates that this rule has been already prefixed
13362
+ element.length < 1) {
13363
+ return;
13364
+ }
13365
+ var value = element.value;
13366
+ var parent = element.parent;
13367
+ var isImplicitRule = element.column === parent.column && element.line === parent.line;
13368
+ while (parent.type !== "rule") {
13369
+ parent = parent.parent;
13370
+ if (!parent) return;
13371
+ }
13372
+ if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
13373
+ return;
13374
+ }
13375
+ if (isImplicitRule) {
13376
+ return;
13377
+ }
13378
+ fixedElements.set(element, true);
13379
+ var points = [];
13380
+ var rules = getRules(value, points);
13381
+ var parentRules = parent.props;
13382
+ for (var i = 0, k = 0; i < rules.length; i++) {
13383
+ for (var j = 0; j < parentRules.length; j++, k++) {
13384
+ element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
13385
+ }
13386
+ }
13387
+ };
13388
+ var removeLabel = function removeLabel2(element) {
13389
+ if (element.type === "decl") {
13390
+ var value = element.value;
13391
+ if (
13392
+ // charcode for l
13393
+ value.charCodeAt(0) === 108 && // charcode for b
13394
+ value.charCodeAt(2) === 98
13395
+ ) {
13396
+ element["return"] = "";
13397
+ element.value = "";
13398
+ }
13399
+ }
13400
+ };
13401
+ function prefix(value, length2) {
13402
+ switch (hash(value, length2)) {
13403
+ // color-adjust
13404
+ case 5103:
13405
+ return WEBKIT + "print-" + value + value;
13406
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
13407
+ case 5737:
13408
+ case 4201:
13409
+ case 3177:
13410
+ case 3433:
13411
+ case 1641:
13412
+ case 4457:
13413
+ case 2921:
13414
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
13415
+ case 5572:
13416
+ case 6356:
13417
+ case 5844:
13418
+ case 3191:
13419
+ case 6645:
13420
+ case 3005:
13421
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
13422
+ case 6391:
13423
+ case 5879:
13424
+ case 5623:
13425
+ case 6135:
13426
+ case 4599:
13427
+ case 4855:
13428
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
13429
+ case 4215:
13430
+ case 6389:
13431
+ case 5109:
13432
+ case 5365:
13433
+ case 5621:
13434
+ case 3829:
13435
+ return WEBKIT + value + value;
13436
+ // appearance, user-select, transform, hyphens, text-size-adjust
13437
+ case 5349:
13438
+ case 4246:
13439
+ case 4810:
13440
+ case 6968:
13441
+ case 2756:
13442
+ return WEBKIT + value + MOZ + value + MS + value + value;
13443
+ // flex, flex-direction
13444
+ case 6828:
13445
+ case 4268:
13446
+ return WEBKIT + value + MS + value + value;
13447
+ // order
13448
+ case 6165:
13449
+ return WEBKIT + value + MS + "flex-" + value + value;
13450
+ // align-items
13451
+ case 5187:
13452
+ return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
13453
+ // align-self
13454
+ case 5443:
13455
+ return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
13456
+ // align-content
13457
+ case 4675:
13458
+ return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
13459
+ // flex-shrink
13460
+ case 5548:
13461
+ return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
13462
+ // flex-basis
13463
+ case 5292:
13464
+ return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
13465
+ // flex-grow
13466
+ case 6060:
13467
+ return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
13468
+ // transition
13469
+ case 4554:
13470
+ return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
13471
+ // cursor
13472
+ case 6187:
13473
+ return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
13474
+ // background, background-image
13475
+ case 5495:
13476
+ case 3959:
13477
+ return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
13478
+ // justify-content
13479
+ case 4968:
13480
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
13481
+ // (margin|padding)-inline-(start|end)
13482
+ case 4095:
13483
+ case 3583:
13484
+ case 4068:
13485
+ case 2532:
13486
+ return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
13487
+ // (min|max)?(width|height|inline-size|block-size)
13488
+ case 8116:
13489
+ case 7059:
13490
+ case 5753:
13491
+ case 5535:
13492
+ case 5445:
13493
+ case 5701:
13494
+ case 4933:
13495
+ case 4677:
13496
+ case 5533:
13497
+ case 5789:
13498
+ case 5021:
13499
+ case 4765:
13500
+ if (strlen(value) - 1 - length2 > 6) switch (charat(value, length2 + 1)) {
13501
+ // (m)ax-content, (m)in-content
13502
+ case 109:
13503
+ if (charat(value, length2 + 4) !== 45) break;
13504
+ // (f)ill-available, (f)it-content
13505
+ case 102:
13506
+ return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
13507
+ // (s)tretch
13508
+ case 115:
13509
+ return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
13510
+ }
13511
+ break;
13512
+ // position: sticky
13513
+ case 4949:
13514
+ if (charat(value, length2 + 1) !== 115) break;
13515
+ // display: (flex|inline-flex)
13516
+ case 6444:
13517
+ switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
13518
+ // stic(k)y
13519
+ case 107:
13520
+ return replace(value, ":", ":" + WEBKIT) + value;
13521
+ // (inline-)?fl(e)x
13522
+ case 101:
13523
+ return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
13524
+ }
13525
+ break;
13526
+ // writing-mode
13527
+ case 5936:
13528
+ switch (charat(value, length2 + 11)) {
13529
+ // vertical-l(r)
13530
+ case 114:
13531
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
13532
+ // vertical-r(l)
13533
+ case 108:
13534
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
13535
+ // horizontal(-)tb
13536
+ case 45:
13537
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
13538
+ }
13539
+ return WEBKIT + value + MS + value + value;
13540
+ }
13541
+ return value;
13542
+ }
13543
+ var prefixer = function prefixer2(element, index, children, callback) {
13544
+ if (element.length > -1) {
13545
+ if (!element["return"]) switch (element.type) {
13546
+ case DECLARATION:
13547
+ element["return"] = prefix(element.value, element.length);
13548
+ break;
13549
+ case KEYFRAMES:
13550
+ return serialize([copy(element, {
13551
+ value: replace(element.value, "@", "@" + WEBKIT)
13552
+ })], callback);
13553
+ case RULESET:
13554
+ if (element.length) return combine(element.props, function(value) {
13555
+ switch (match(value, /(::plac\w+|:read-\w+)/)) {
13556
+ // :read-(only|write)
13557
+ case ":read-only":
13558
+ case ":read-write":
13559
+ return serialize([copy(element, {
13560
+ props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
13561
+ })], callback);
13562
+ // :placeholder
13563
+ case "::placeholder":
13564
+ return serialize([copy(element, {
13565
+ props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
13566
+ }), copy(element, {
13567
+ props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
13568
+ }), copy(element, {
13569
+ props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
13570
+ })], callback);
13571
+ }
13572
+ return "";
13573
+ });
13574
+ }
13575
+ }
13576
+ };
13577
+ var defaultStylisPlugins = [prefixer];
13578
+ var createCache = function createCache2(options) {
13579
+ var key = options.key;
13580
+ if (key === "css") {
13581
+ var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
13582
+ Array.prototype.forEach.call(ssrStyles, function(node2) {
13583
+ var dataEmotionAttribute = node2.getAttribute("data-emotion");
13584
+ if (dataEmotionAttribute.indexOf(" ") === -1) {
13585
+ return;
13586
+ }
13587
+ document.head.appendChild(node2);
13588
+ node2.setAttribute("data-s", "");
13589
+ });
13590
+ }
13591
+ var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
13592
+ var inserted = {};
13593
+ var container;
13594
+ var nodesToHydrate = [];
13595
+ {
13596
+ container = options.container || document.head;
13597
+ Array.prototype.forEach.call(
13598
+ // this means we will ignore elements which don't have a space in them which
13599
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
13600
+ document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
13601
+ function(node2) {
13602
+ var attrib = node2.getAttribute("data-emotion").split(" ");
13603
+ for (var i = 1; i < attrib.length; i++) {
13604
+ inserted[attrib[i]] = true;
13605
+ }
13606
+ nodesToHydrate.push(node2);
13607
+ }
13608
+ );
13609
+ }
13610
+ var _insert;
13611
+ var omnipresentPlugins = [compat, removeLabel];
13612
+ {
13613
+ var currentSheet;
13614
+ var finalizingPlugins = [stringify, rulesheet(function(rule) {
13615
+ currentSheet.insert(rule);
13616
+ })];
13617
+ var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
13618
+ var stylis = function stylis2(styles) {
13619
+ return serialize(compile(styles), serializer);
13620
+ };
13621
+ _insert = function insert(selector, serialized, sheet, shouldCache) {
13622
+ currentSheet = sheet;
13623
+ stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
13624
+ if (shouldCache) {
13625
+ cache.inserted[serialized.name] = true;
13626
+ }
13627
+ };
13628
+ }
13629
+ var cache = {
13630
+ key,
13631
+ sheet: new StyleSheet({
13632
+ key,
13633
+ container,
13634
+ nonce: options.nonce,
13635
+ speedy: options.speedy,
13636
+ prepend: options.prepend,
13637
+ insertionPoint: options.insertionPoint
13638
+ }),
13639
+ nonce: options.nonce,
13640
+ inserted,
13641
+ registered: {},
13642
+ insert: _insert
13643
+ };
13644
+ cache.sheet.hydrate(nodesToHydrate);
13645
+ return cache;
13646
+ };
13647
+ unstable_ClassNameGenerator.configure((componentName) => `sixseconds-modules-${componentName}`);
13648
+ function createEmotionCache() {
13649
+ if (typeof document === "undefined") {
13650
+ return createCache({ key: "sixseconds", prepend: true });
13651
+ }
13652
+ let insertionPoint;
13653
+ const metaTag = document.querySelector('meta[name="sixseconds-insertion-point"]');
13654
+ if (metaTag) {
13655
+ insertionPoint = metaTag;
13656
+ }
13657
+ return createCache({
13658
+ key: "sixseconds",
13659
+ prepend: false,
13660
+ // false = append after insertionPoint (keeps order stable)
13661
+ ...insertionPoint ? { insertionPoint } : { prepend: true }
13662
+ });
13663
+ }
13664
+ function MuiProvider({ children }) {
13665
+ const cacheRef = useRef(createEmotionCache());
13666
+ return /* @__PURE__ */ jsx(CacheProvider, { value: cacheRef.current, children });
13667
+ }
12864
13668
  const DangerDialog = ({
12865
13669
  open,
12866
13670
  setInitialState,
@@ -12876,7 +13680,7 @@ const DangerDialog = ({
12876
13680
  fullWidth: false,
12877
13681
  PaperProps: {
12878
13682
  sx: {
12879
- maxWidth: "400px",
13683
+ minWidth: "400px",
12880
13684
  borderRadius: "12px",
12881
13685
  boxShadow: "0px 4px 20px rgba(0, 0, 0, 0.1)"
12882
13686
  }
@@ -12885,7 +13689,7 @@ const DangerDialog = ({
12885
13689
  open,
12886
13690
  "aria-labelledby": "draggable-dialog-title",
12887
13691
  children: /* @__PURE__ */ jsxs(Box, { sx: { p: 3 }, children: [
12888
- /* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 2, alignItems: "center", sx: { textAlign: "center", mb: 2 }, children: [
13692
+ /* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 2, alignItems: "flex-start", sx: { textAlign: "start", mb: 2 }, children: [
12889
13693
  /* @__PURE__ */ jsx(ExitToAppTwoToneIcon, { sx: { color: "#d32f2f", fontSize: "48px" } }),
12890
13694
  /* @__PURE__ */ jsx(
12891
13695
  Typography,
@@ -12935,6 +13739,7 @@ const DangerDialog = ({
12935
13739
  sx: {
12936
13740
  background: "#d32f2f",
12937
13741
  color: "#fff",
13742
+ width: "100%",
12938
13743
  textTransform: "capitalize",
12939
13744
  borderRadius: "8px",
12940
13745
  fontSize: "14px",
@@ -13307,7 +14112,7 @@ const ProfileStyled = styled("div")(() => ({
13307
14112
  fontSize: "16px",
13308
14113
  color: "#5f6368",
13309
14114
  fontWeight: "400",
13310
- margin: "3px 3px",
14115
+ // margin: "3px 3px",
13311
14116
  fontFamily: "'IBM Plex Sans', sans-serif"
13312
14117
  },
13313
14118
  "& .recant": {
@@ -13342,184 +14147,215 @@ const ProfileStyled = styled("div")(() => ({
13342
14147
  }
13343
14148
  }));
13344
14149
  function ViewProfileDialog({ userData, setInitialState, isOpen }) {
13345
- return /* @__PURE__ */ jsxs(
14150
+ return /* @__PURE__ */ jsx(
13346
14151
  Dialog,
13347
14152
  {
13348
- fullWidth: false,
13349
- sx: { "& .MuiPaper-root": { maxWidth: "800px", borderRadius: "12px" } },
14153
+ fullWidth: true,
14154
+ maxWidth: "md",
14155
+ PaperProps: {
14156
+ sx: {
14157
+ borderRadius: "16px",
14158
+ boxShadow: "0px 12px 32px rgba(0,0,0,0.12)"
14159
+ }
14160
+ },
13350
14161
  onClose: () => handleCloseUtil(setInitialState),
13351
14162
  open: isOpen,
13352
- "aria-labelledby": "draggable-dialog-title",
13353
- children: [
13354
- /* @__PURE__ */ jsxs(ProfileStyled, { children: [
13355
- /* @__PURE__ */ jsx(Box, { sx: { textAlign: "right", padding: "16px 16px 0px 0px" }, children: /* @__PURE__ */ jsx(
13356
- IconButton,
13357
- {
13358
- onClick: () => setInitialState((p) => ({ ...p, toggles: { ...p.toggles, viewProfile: false } })),
13359
- disableRipple: false,
13360
- sx: {
13361
- background: "#f1f3f4",
13362
- color: "#5f6368",
13363
- "&:hover": { background: "#e0e0e0", color: "#1a1c1e" }
13364
- },
13365
- children: /* @__PURE__ */ jsx(CloseIcon, { fontSize: "small" })
13366
- }
13367
- ) }),
13368
- /* @__PURE__ */ jsx(Box, { sx: { p: 4 }, children: /* @__PURE__ */ jsxs(Grid, { container: true, spacing: 4, children: [
13369
- /* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, lg: 5, children: [
13370
- /* @__PURE__ */ jsx(Box, { sx: { textAlign: "center", mb: 3 }, children: /* @__PURE__ */ jsx(
13371
- Avatar,
13372
- {
13373
- src: userData?.userprofile,
13374
- sx: {
13375
- width: "160px",
13376
- height: "160px",
13377
- border: "4px solid #0073b1",
13378
- boxShadow: "0px 4px 12px rgba(0,0,0,0.1)",
13379
- display: "inline-flex"
13380
- }
14163
+ children: /* @__PURE__ */ jsxs(ProfileStyled, { children: [
14164
+ /* @__PURE__ */ jsx(Box, { sx: { display: "flex", justifyContent: "flex-end", p: 1.5 }, children: /* @__PURE__ */ jsx(
14165
+ IconButton,
14166
+ {
14167
+ onClick: () => setInitialState((p) => ({ ...p, toggles: { ...p.toggles, viewProfile: false } })),
14168
+ sx: {
14169
+ background: "#f5f5f5",
14170
+ color: "#5f6368",
14171
+ "&:hover": { background: "#eee", color: "#111" }
14172
+ },
14173
+ children: /* @__PURE__ */ jsx(CloseIcon, { fontSize: "small" })
14174
+ }
14175
+ ) }),
14176
+ /* @__PURE__ */ jsx(Box, { sx: { px: { xs: 3, sm: 5, md: 6 }, pb: { xs: 5, sm: 6 }, mt: 3 }, children: /* @__PURE__ */ jsxs(Grid, { container: true, spacing: { xs: 4, md: 6 }, children: [
14177
+ /* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, md: 5, lg: 4, children: [
14178
+ /* @__PURE__ */ jsx(Box, { sx: { textAlign: "center", mb: 4 }, children: /* @__PURE__ */ jsx(
14179
+ Avatar,
14180
+ {
14181
+ src: userData?.userprofile,
14182
+ sx: {
14183
+ width: { xs: 130, sm: 150, md: 170 },
14184
+ height: { xs: 130, sm: 150, md: 170 },
14185
+ border: "4px solid #0073b1",
14186
+ boxShadow: "0px 8px 24px rgba(0, 115, 177, 0.15)",
14187
+ display: "inline-flex"
13381
14188
  }
13382
- ) }),
13383
- /* @__PURE__ */ jsxs(Box, { children: [
13384
- /* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 1.5, sx: { fontSize: "14px", color: "#5f6368" }, children: [
13385
- Boolean(userData?.certification?.length) && /* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 1, children: [
13386
- /* @__PURE__ */ jsx(Typography, { sx: { fontWeight: 600, color: "#1a1c1e", fontSize: "14px" }, children: "Certifications" }),
13387
- /* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexWrap: "wrap", gap: 0.5 }, children: userData?.certification?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, { variant: "outlined", sx: { borderRadius: "6px" }, label: `${itm}` }, idx)) })
13388
- ] }),
13389
- Boolean(userData?.country) && /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", gap: 1 }, children: [
13390
- /* @__PURE__ */ jsx(Typography, { sx: { fontWeight: 600, color: "#1a1c1e", minWidth: "80px" }, children: "Location:" }),
13391
- /* @__PURE__ */ jsx(Typography, { children: userData?.country })
13392
- ] }),
13393
- Boolean(userData?.languages?.length) && /* @__PURE__ */ jsxs(Box, { children: [
13394
- /* @__PURE__ */ jsx(Typography, { sx: { fontWeight: 600, color: "#1a1c1e", mb: 0.5 }, children: "Languages" }),
13395
- /* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexWrap: "wrap", gap: 0.5 }, children: userData?.languages?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, { size: "small", variant: "outlined", label: `${itm}` }, idx)) })
13396
- ] }),
13397
- Boolean(userData?.areaOfWork?.length) && /* @__PURE__ */ jsxs(Box, { children: [
13398
- /* @__PURE__ */ jsx(Typography, { sx: { fontWeight: 600, color: "#1a1c1e", mb: 0.5 }, children: "Areas Of Work" }),
13399
- /* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexWrap: "wrap", gap: 0.5 }, children: userData?.areaOfWork?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, { size: "small", variant: "outlined", label: `${itm}` }, idx)) })
13400
- ] })
14189
+ }
14190
+ ) }),
14191
+ /* @__PURE__ */ jsxs(Stack$1, { spacing: 3.5, sx: { ml: 2 }, children: [
14192
+ /* @__PURE__ */ jsxs(Stack$1, { spacing: 2.5, children: [
14193
+ Boolean(userData?.certification?.length) && /* @__PURE__ */ jsxs(Box, { children: [
14194
+ /* @__PURE__ */ jsx(
14195
+ Typography,
14196
+ {
14197
+ sx: {
14198
+ fontWeight: 700,
14199
+ color: "#1a1c1e",
14200
+ mb: 1.5,
14201
+ fontSize: "14px",
14202
+ textTransform: "uppercase",
14203
+ letterSpacing: "0.5px"
14204
+ },
14205
+ children: "Certifications"
14206
+ }
14207
+ ),
14208
+ /* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexWrap: "wrap", gap: 1 }, children: userData?.certification?.map((itm, idx) => /* @__PURE__ */ jsx(
14209
+ Chip,
14210
+ {
14211
+ variant: "outlined",
14212
+ sx: { borderRadius: "6px", height: "30px", fontWeight: 500, borderColor: "#e0e0e0" },
14213
+ label: itm
14214
+ },
14215
+ idx
14216
+ )) })
13401
14217
  ] }),
13402
- /* @__PURE__ */ jsxs(Stack$1, { direction: "row", spacing: 1.5, alignItems: "center", sx: { marginTop: 3 }, children: [
14218
+ Boolean(userData?.country) && /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", justifyContent: "center", gap: 1 }, children: [
13403
14219
  /* @__PURE__ */ jsx(
13404
- Button$1,
14220
+ Typography,
13405
14221
  {
13406
- href: `https://cert.6seconds.org/cert-directory?id=${userData?.certId}`,
13407
- LinkComponent: Link,
13408
- target: "_blank",
13409
- variant: "contained",
13410
- disableElevation: true,
13411
14222
  sx: {
13412
- background: "#0073b1",
13413
- borderRadius: "8px",
13414
- minWidth: "auto",
13415
- p: 1.2,
13416
- "&:hover": {
13417
- backgroundColor: "#005a8b"
13418
- }
14223
+ fontWeight: 700,
14224
+ color: "#1a1c1e",
14225
+ fontSize: "14px",
14226
+ textTransform: "uppercase",
14227
+ letterSpacing: "0.5px"
13419
14228
  },
13420
- children: /* @__PURE__ */ jsx(ContentCopyIcon, { fontSize: "small" })
14229
+ children: "Location"
13421
14230
  }
13422
14231
  ),
14232
+ /* @__PURE__ */ jsx(Typography, { sx: { color: "#5f6368", fontSize: "15px" }, children: userData?.country })
14233
+ ] }),
14234
+ Boolean(userData?.languages?.length) && /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", justifyContent: "center", gap: 1 }, children: [
13423
14235
  /* @__PURE__ */ jsx(
13424
- Button$1,
14236
+ Typography,
13425
14237
  {
13426
- variant: "contained",
13427
14238
  sx: {
13428
- backgroundColor: "#0073b1",
13429
- borderRadius: "8px",
13430
- minWidth: "auto",
13431
- p: 1.2,
13432
- "&:hover": {
13433
- backgroundColor: "#005a8b"
13434
- }
14239
+ fontWeight: 700,
14240
+ color: "#1a1c1e",
14241
+ mb: 1,
14242
+ fontSize: "14px",
14243
+ textTransform: "uppercase",
14244
+ letterSpacing: "0.5px"
13435
14245
  },
13436
- disableElevation: true,
13437
- LinkComponent: Link,
13438
- href: userData?.linkedInUrl || "#",
13439
- target: "_blank",
13440
- children: /* @__PURE__ */ jsx(LinkedIn, { fontSize: "small" })
14246
+ children: "Languages"
13441
14247
  }
13442
14248
  ),
14249
+ /* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexWrap: "wrap", gap: 1 }, children: userData?.languages?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, { size: "small", variant: "outlined", sx: { borderRadius: "4px" }, label: itm }, idx)) })
14250
+ ] }),
14251
+ Boolean(userData?.areaOfWork?.length) && /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", justifyContent: "center", gap: 1 }, children: [
13443
14252
  /* @__PURE__ */ jsx(
13444
- Button$1,
14253
+ Typography,
13445
14254
  {
13446
- variant: "contained",
13447
- disableElevation: true,
13448
- href: `https://${userData?.certProfileUrl}`,
13449
- LinkComponent: Link,
13450
- target: "_blank",
13451
14255
  sx: {
13452
- background: "#0073b1",
13453
- borderRadius: "8px",
13454
- minWidth: "auto",
13455
- p: 1.2,
13456
- "&:hover": {
13457
- backgroundColor: "#005a8b"
13458
- }
14256
+ fontWeight: 700,
14257
+ color: "#1a1c1e",
14258
+ mb: 1,
14259
+ fontSize: "14px",
14260
+ textTransform: "uppercase",
14261
+ letterSpacing: "0.5px"
13459
14262
  },
13460
- children: /* @__PURE__ */ jsx(PublicIcon, { fontSize: "small" })
14263
+ children: "Areas Of Work"
13461
14264
  }
13462
- )
14265
+ ),
14266
+ /* @__PURE__ */ jsx(Box, { sx: { display: "flex", flexWrap: "wrap", gap: 1 }, children: userData?.areaOfWork?.map((itm, idx) => /* @__PURE__ */ jsx(Chip, { size: "small", variant: "outlined", sx: { borderRadius: "4px" }, label: itm }, idx)) })
13463
14267
  ] })
13464
- ] })
14268
+ ] }),
14269
+ /* @__PURE__ */ jsx(Stack$1, { direction: "row", spacing: 1.5, justifyContent: { xs: "center", md: "center" }, children: [
14270
+ {
14271
+ icon: /* @__PURE__ */ jsx(ContentCopyIcon, { sx: { fontSize: "18px" } }),
14272
+ href: `https://cert.6seconds.org/cert-directory?id=${userData?.certId}`
14273
+ },
14274
+ { icon: /* @__PURE__ */ jsx(LinkedIn, { sx: { fontSize: "20px" } }), href: userData?.linkedInUrl },
14275
+ { icon: /* @__PURE__ */ jsx(PublicIcon, { sx: { fontSize: "18px" } }), href: `https://${userData?.certProfileUrl}` }
14276
+ ].map((btn, i) => /* @__PURE__ */ jsx(
14277
+ Button$1,
14278
+ {
14279
+ href: btn.href || "#",
14280
+ LinkComponent: Link,
14281
+ target: "_blank",
14282
+ variant: "contained",
14283
+ disableElevation: true,
14284
+ sx: {
14285
+ minWidth: "42px",
14286
+ width: "42px",
14287
+ height: "42px",
14288
+ display: "flex",
14289
+ alignItems: "center",
14290
+ justifyContent: "center",
14291
+ background: "#0073b1",
14292
+ borderRadius: "10px",
14293
+ transition: "all 0.2s ease",
14294
+ "&:hover": { background: "#005a8b", transform: "translateY(-2px)" }
14295
+ },
14296
+ children: btn.icon
14297
+ },
14298
+ i
14299
+ )) })
14300
+ ] })
14301
+ ] }),
14302
+ /* @__PURE__ */ jsx(Grid, { item: true, xs: 12, md: 7, lg: 8, children: /* @__PURE__ */ jsxs(Stack$1, { spacing: 4, children: [
14303
+ /* @__PURE__ */ jsxs(Box, { children: [
14304
+ /* @__PURE__ */ jsx(
14305
+ Typography,
14306
+ {
14307
+ variant: "h3",
14308
+ sx: {
14309
+ fontSize: { xs: "28px", sm: "36px" },
14310
+ fontWeight: "800",
14311
+ color: "#1a1c1e",
14312
+ mb: 2,
14313
+ fontFamily: "'IBM Plex Sans', sans-serif"
14314
+ },
14315
+ children: userData?.fullName
14316
+ }
14317
+ ),
14318
+ /* @__PURE__ */ jsx(Typography, { sx: { color: "#555", fontSize: "16px", lineHeight: "1.8", textAlign: "justify" }, children: userData?.bio })
13465
14319
  ] }),
13466
- /* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, lg: 7, children: [
13467
- /* @__PURE__ */ jsxs(Stack$1, { direction: "column", spacing: 2, sx: { color: "#5f6368", fontSize: "14px", lineHeight: "1.6" }, children: [
13468
- /* @__PURE__ */ jsx(
13469
- Typography,
13470
- {
13471
- variant: "h3",
13472
- sx: {
13473
- fontSize: "28px",
13474
- fontWeight: "700",
13475
- color: "#1a1c1e",
13476
- fontFamily: "'IBM Plex Sans', sans-serif"
13477
- },
13478
- children: userData?.fullName
13479
- }
13480
- ),
13481
- /* @__PURE__ */ jsx(Typography, { sx: { fontSize: "15px" }, children: userData?.bio }),
13482
- /* @__PURE__ */ jsxs(Box, { children: [
13483
- Boolean(userData?.title) && /* @__PURE__ */ jsxs(Box, { sx: { mb: 1 }, children: [
13484
- /* @__PURE__ */ jsxs(Typography, { component: "span", sx: { fontWeight: 600, color: "#1a1c1e" }, children: [
13485
- "Title:",
13486
- " "
13487
- ] }),
13488
- userData?.title
13489
- ] }),
13490
- Boolean(userData?.company) && /* @__PURE__ */ jsxs(Box, { sx: { mb: 1 }, children: [
13491
- /* @__PURE__ */ jsxs(Typography, { component: "span", sx: { fontWeight: 600, color: "#1a1c1e" }, children: [
13492
- "Company:",
13493
- " "
13494
- ] }),
13495
- userData?.company
14320
+ /* @__PURE__ */ jsx(
14321
+ Stack$1,
14322
+ {
14323
+ spacing: 1.5,
14324
+ sx: { p: 2.5, background: "#f9fafb", borderRadius: "12px", border: "1px solid #f1f3f4" },
14325
+ children: [
14326
+ { label: "Title", value: userData?.title },
14327
+ { label: "Company", value: userData?.company },
14328
+ { label: "Email", value: userData?.email }
14329
+ ].filter((item) => Boolean(item.value)).map((item, i) => /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", gap: 1.5 }, children: [
14330
+ /* @__PURE__ */ jsxs(Typography, { sx: { fontWeight: 600, color: "#1a1c1e", minWidth: "80px", fontSize: "15px" }, children: [
14331
+ item.label,
14332
+ ":"
13496
14333
  ] }),
13497
- Boolean(userData?.email) && /* @__PURE__ */ jsxs(Box, { children: [
13498
- /* @__PURE__ */ jsxs(Typography, { component: "span", sx: { fontWeight: 600, color: "#1a1c1e" }, children: [
13499
- "Email:",
13500
- " "
13501
- ] }),
13502
- userData?.email
13503
- ] })
13504
- ] }),
13505
- /* @__PURE__ */ jsx(
13506
- Box,
13507
- {
13508
- sx: { mt: 2 },
13509
- dangerouslySetInnerHTML: {
13510
- __html: userData?.certBio || ""
13511
- }
13512
- }
13513
- ),
13514
- /* @__PURE__ */ jsx(Divider, { sx: { my: 2 } }),
13515
- /* @__PURE__ */ jsx(Typography, { variant: "h5", sx: { fontSize: "16px", fontWeight: "500" }, children: "Description" })
13516
- ] }),
13517
- /* @__PURE__ */ jsx(Stack$1, { direction: "row", alignItems: "center", flexWrap: "wrap", spacing: 0.5, useFlexGap: true, children: userData?.certOfferToHelp })
14334
+ /* @__PURE__ */ jsx(Typography, { sx: { color: "#5f6368", fontSize: "15px" }, children: item.value })
14335
+ ] }, i))
14336
+ }
14337
+ ),
14338
+ userData?.certBio && /* @__PURE__ */ jsx(
14339
+ Box,
14340
+ {
14341
+ sx: {
14342
+ color: "#555",
14343
+ fontSize: "15.5px",
14344
+ lineHeight: "1.8",
14345
+ textAlign: "justify",
14346
+ "& p": { m: 0, mb: 2 }
14347
+ },
14348
+ dangerouslySetInnerHTML: { __html: userData.certBio }
14349
+ }
14350
+ ),
14351
+ /* @__PURE__ */ jsx(Divider, { sx: { my: 1 } }),
14352
+ /* @__PURE__ */ jsxs(Box, { children: [
14353
+ /* @__PURE__ */ jsx(Typography, { variant: "h6", sx: { fontSize: "18px", fontWeight: "700", mb: 1.5, color: "#1a1c1e" }, children: "Description" }),
14354
+ /* @__PURE__ */ jsx(Typography, { sx: { color: "#5f6368", fontSize: "15.5px", lineHeight: "1.7" }, children: userData?.certOfferToHelp })
13518
14355
  ] })
13519
14356
  ] }) })
13520
- ] }),
13521
- " "
13522
- ]
14357
+ ] }) })
14358
+ ] })
13523
14359
  }
13524
14360
  );
13525
14361
  }
@@ -13555,65 +14391,103 @@ function ChangePasswordDialog({ isOpen, email, t: t2, setInitialState }) {
13555
14391
  return /* @__PURE__ */ jsx(
13556
14392
  Dialog,
13557
14393
  {
13558
- fullWidth: false,
13559
- sx: { "& .MuiPaper-root": { maxWidth: "600px", borderRadius: "12px" } },
14394
+ fullWidth: true,
14395
+ maxWidth: "sm",
14396
+ PaperProps: {
14397
+ sx: {
14398
+ borderRadius: "16px",
14399
+ boxShadow: "0px 12px 32px rgba(0,0,0,0.12)"
14400
+ }
14401
+ },
13560
14402
  onClose: () => handleCloseUtil(setInitialState),
13561
14403
  open: isOpen,
13562
- "aria-labelledby": "draggable-dialog-title",
13563
- children: /* @__PURE__ */ jsx("form", { onSubmit: formik.handleSubmit, children: /* @__PURE__ */ jsx(ChangePasswordStyled, { children: /* @__PURE__ */ jsxs(Box, { sx: { pr: { xs: 0, lg: 8 }, p: 2 }, children: [
13564
- /* @__PURE__ */ jsx(Typography, { variant: "h6", sx: { display: "flex", alignItems: "center", fontWeight: 600, color: "#1a1c1e" }, children: "Change Password" }),
13565
- /* @__PURE__ */ jsx(
13566
- Box,
14404
+ children: /* @__PURE__ */ jsx("form", { onSubmit: formik.handleSubmit, children: /* @__PURE__ */ jsxs(ChangePasswordStyled, { children: [
14405
+ /* @__PURE__ */ jsx(Box, { sx: { display: "flex", justifyContent: "flex-end", p: 1.5 }, children: /* @__PURE__ */ jsx(
14406
+ IconButton,
13567
14407
  {
14408
+ onClick: () => handleCloseUtil(setInitialState),
13568
14409
  sx: {
13569
- p: 3,
13570
- border: "1px solid #e0e0e0",
13571
- borderRadius: "12px",
13572
- mt: 2,
13573
- boxShadow: "0px 2px 4px rgba(0,0,0,0.05)"
14410
+ background: "#f5f5f5",
14411
+ color: "#5f6368",
14412
+ "&:hover": { background: "#eee", color: "#111" }
13574
14413
  },
13575
- children: /* @__PURE__ */ jsxs(Grid, { container: true, spacing: 2, children: [
13576
- /* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, lg: 6, children: [
13577
- /* @__PURE__ */ jsx(
13578
- LabeledInput,
13579
- {
13580
- type: "password",
13581
- label: t2("New password"),
13582
- fullWidth: true,
13583
- size: "small",
13584
- ...formik.getFieldProps("newPassword")
13585
- }
13586
- ),
13587
- /* @__PURE__ */ jsx(ErrorMessage, { formik, fieldName: "newPassword" })
13588
- ] }),
13589
- /* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, lg: 6, children: [
13590
- /* @__PURE__ */ jsx(
13591
- LabeledInput,
14414
+ children: /* @__PURE__ */ jsx(CloseIcon, { fontSize: "small" })
14415
+ }
14416
+ ) }),
14417
+ /* @__PURE__ */ jsxs(Box, { sx: { px: { xs: 3, sm: 5 }, pb: { xs: 4, sm: 5 } }, children: [
14418
+ /* @__PURE__ */ jsx(
14419
+ Typography,
14420
+ {
14421
+ variant: "h5",
14422
+ sx: {
14423
+ fontWeight: 700,
14424
+ color: "#1a1c1e",
14425
+ mb: 3,
14426
+ fontFamily: "'IBM Plex Sans', sans-serif",
14427
+ textAlign: "start"
14428
+ },
14429
+ children: t2("Change Password")
14430
+ }
14431
+ ),
14432
+ /* @__PURE__ */ jsx(
14433
+ Box,
14434
+ {
14435
+ sx: {
14436
+ p: { xs: 2.5, sm: 4 },
14437
+ background: "#fff",
14438
+ border: "1px solid #f1f3f4",
14439
+ borderRadius: "12px",
14440
+ boxShadow: "0px 4px 12px rgba(0,0,0,0.03)"
14441
+ },
14442
+ children: /* @__PURE__ */ jsxs(Grid, { container: true, spacing: 3, children: [
14443
+ /* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, children: [
14444
+ /* @__PURE__ */ jsx(
14445
+ LabeledInput,
14446
+ {
14447
+ type: "password",
14448
+ label: t2("New password"),
14449
+ fullWidth: true,
14450
+ ...formik.getFieldProps("newPassword")
14451
+ }
14452
+ ),
14453
+ /* @__PURE__ */ jsx(ErrorMessage, { formik, fieldName: "newPassword" })
14454
+ ] }),
14455
+ /* @__PURE__ */ jsxs(Grid, { item: true, xs: 12, children: [
14456
+ /* @__PURE__ */ jsx(
14457
+ LabeledInput,
14458
+ {
14459
+ type: "password",
14460
+ fullWidth: true,
14461
+ label: t2("Confirm new password"),
14462
+ ...formik.getFieldProps("passwordConfirmation")
14463
+ }
14464
+ ),
14465
+ /* @__PURE__ */ jsx(ErrorMessage, { formik, fieldName: "passwordConfirmation" })
14466
+ ] }),
14467
+ /* @__PURE__ */ jsx(Grid, { item: true, xs: 12, mt: 2, children: /* @__PURE__ */ jsx(
14468
+ Button,
13592
14469
  {
13593
- type: "password",
13594
- label: t2("Confirm new password"),
14470
+ isLoading: formik.isSubmitting,
13595
14471
  fullWidth: true,
13596
- size: "small",
13597
- ...formik.getFieldProps("passwordConfirmation")
14472
+ type: "submit",
14473
+ disabled: formik.isSubmitting,
14474
+ btnTitle: t2("Update Password"),
14475
+ sx: {
14476
+ py: 1.5,
14477
+ fontSize: "16px",
14478
+ fontWeight: 600,
14479
+ borderRadius: "8px",
14480
+ background: "#0073b1",
14481
+ color: "white",
14482
+ "&:hover": { background: "#005a8b" }
14483
+ }
13598
14484
  }
13599
- ),
13600
- /* @__PURE__ */ jsx(ErrorMessage, { formik, fieldName: "passwordConfirmation" })
13601
- ] }),
13602
- /* @__PURE__ */ jsx(Grid, { item: true, xs: 12, lg: 12, children: /* @__PURE__ */ jsx(
13603
- Button,
13604
- {
13605
- isLoading: formik.isSubmitting,
13606
- className: "invite",
13607
- sx: { width: "auto !important" },
13608
- type: "submit",
13609
- disabled: formik.isSubmitting,
13610
- btnTitle: t2("Change Password")
13611
- }
13612
- ) })
13613
- ] })
13614
- }
13615
- )
13616
- ] }) }) })
14485
+ ) })
14486
+ ] })
14487
+ }
14488
+ )
14489
+ ] })
14490
+ ] }) })
13617
14491
  }
13618
14492
  );
13619
14493
  }
@@ -14191,8 +15065,8 @@ const Notification = ({ setInitialState, notificationAccessApps, initialState, t
14191
15065
  return;
14192
15066
  }
14193
15067
  const newNotifications = pager?.data?.map((itm) => transformNotifications(itm));
14194
- setNotifications((prev) => [...prev, ...newNotifications]);
14195
- setPage((prev) => prev + 1);
15068
+ setNotifications((prev2) => [...prev2, ...newNotifications]);
15069
+ setPage((prev2) => prev2 + 1);
14196
15070
  }
14197
15071
  };
14198
15072
  return /* @__PURE__ */ jsx(ClickAwayListener, { onClickAway: () => handleCloseUtil(setInitialState), children: /* @__PURE__ */ jsxs(
@@ -14346,7 +15220,7 @@ const SubHeaderStyled = styled(AppBar)(() => ({
14346
15220
  padding: "8px 0",
14347
15221
  listStyle: "none",
14348
15222
  "& li": {
14349
- padding: "12px 16px",
15223
+ padding: "2px 16px",
14350
15224
  borderBottom: "1px solid #f1f3f4",
14351
15225
  cursor: "pointer",
14352
15226
  transition: "background 0.2s ease",
@@ -14423,8 +15297,8 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14423
15297
  {
14424
15298
  src: userData?.userprofile,
14425
15299
  sx: {
14426
- width: "48px",
14427
- height: "48px",
15300
+ width: "65px",
15301
+ height: "65px",
14428
15302
  border: "2px solid #fff",
14429
15303
  boxShadow: "0px 2px 4px rgba(0,0,0,0.1)"
14430
15304
  },
@@ -14462,16 +15336,16 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14462
15336
  extraMenuOptions.isViewProfile && /* @__PURE__ */ jsx(
14463
15337
  Box,
14464
15338
  {
14465
- component: "li",
14466
- onClick: () => setInitialState((p) => ({ ...p, toggles: { ...p.toggles, viewProfile: true } })),
14467
15339
  sx: {
14468
15340
  px: 2,
14469
15341
  py: 1.5,
14470
15342
  cursor: "pointer",
14471
15343
  "&:hover": { background: "#f8f9fa", color: "#0073b1" }
14472
15344
  },
15345
+ component: "li",
15346
+ onClick: () => setInitialState((p) => ({ ...p, toggles: { ...p.toggles, viewProfile: true } })),
14473
15347
  children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", gap: 1.5, alignItems: "center", children: [
14474
- /* @__PURE__ */ jsx(SVG.CheckedPerson, { style: { width: "18px", height: "18px", color: "inherit" } }),
15348
+ /* @__PURE__ */ jsx(SVG.CheckedPerson, { style: { width: "25px", height: "25px", color: "inherit" } }),
14475
15349
  /* @__PURE__ */ jsx(Typography, { sx: { fontSize: "14px", fontWeight: "400", m: 0 }, children: t2("View Profile") })
14476
15350
  ] })
14477
15351
  }
@@ -14488,7 +15362,7 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14488
15362
  "&:hover": { background: "#f8f9fa", color: "#0073b1" }
14489
15363
  },
14490
15364
  children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", gap: 1.5, alignItems: "center", children: [
14491
- /* @__PURE__ */ jsx(SVG.UserEdit, { style: { width: "18px", height: "18px", color: "inherit" } }),
15365
+ /* @__PURE__ */ jsx(SVG.UserEdit, { style: { width: "25px", height: "25px", color: "inherit" } }),
14492
15366
  /* @__PURE__ */ jsx(Typography, { sx: { fontSize: "14px", fontWeight: "400", m: 0 }, children: t2("Edit Profile") })
14493
15367
  ] })
14494
15368
  }
@@ -14505,7 +15379,7 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14505
15379
  "&:hover": { background: "#f8f9fa", color: "#0073b1" }
14506
15380
  },
14507
15381
  children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", gap: 1.5, alignItems: "center", children: [
14508
- /* @__PURE__ */ jsx(SVG.CheckedPerson, { style: { width: "18px", height: "18px", color: "inherit" } }),
15382
+ /* @__PURE__ */ jsx(SVG.CheckedPerson, { style: { width: "25px", height: "25px", color: "inherit" } }),
14509
15383
  /* @__PURE__ */ jsx(Typography, { sx: { fontSize: "14px", fontWeight: "400", m: 0 }, children: t2("Change Password") })
14510
15384
  ] })
14511
15385
  }
@@ -14526,7 +15400,7 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14526
15400
  borderTop: "1px solid #f1f3f4"
14527
15401
  },
14528
15402
  children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", gap: 1.5, alignItems: "center", children: [
14529
- /* @__PURE__ */ jsx(SVG.Logout, { style: { width: "18px", height: "18px", color: "inherit" } }),
15403
+ /* @__PURE__ */ jsx(SVG.Logout, { style: { width: "25px", height: "25px", color: "inherit" } }),
14530
15404
  /* @__PURE__ */ jsx(Typography, { sx: { fontSize: "14px", fontWeight: "400", m: 0 }, children: t2("Logout") })
14531
15405
  ] })
14532
15406
  }
@@ -14535,7 +15409,7 @@ const UserProfile = ({ t: t2, userData, setInitialState, extraMenuOptions, route
14535
15409
  ] }) })
14536
15410
  ] });
14537
15411
  };
14538
- const Header = ({
15412
+ const HeaderInner = ({
14539
15413
  router,
14540
15414
  frontCustomComponent,
14541
15415
  endCustomComponents,
@@ -14557,7 +15431,7 @@ const Header = ({
14557
15431
  handleSideToggle,
14558
15432
  t
14559
15433
  }) => {
14560
- const isMobile = useMediaQuery("(max-width: 1324px)");
15434
+ const isMobile = useMediaQuery("(max-width: 1324px)", { noSsr: true });
14561
15435
  const [state, setState] = useState({
14562
15436
  languages: [],
14563
15437
  menuData: [],
@@ -14817,6 +15691,7 @@ const Header = ({
14817
15691
  /* @__PURE__ */ jsx(ViewProfileDialog, { isOpen: state.toggles.viewProfile, userData, setInitialState: setState })
14818
15692
  ] });
14819
15693
  };
15694
+ const Header = (props) => /* @__PURE__ */ jsx(MuiProvider, { children: /* @__PURE__ */ jsx(HeaderInner, { ...props }) });
14820
15695
  function LabeledInput({
14821
15696
  label,
14822
15697
  sx,
@@ -14858,13 +15733,13 @@ function LabeledInput({
14858
15733
  className: "textInput",
14859
15734
  sx: {
14860
15735
  "& .MuiInputBase-root": {
14861
- borderRadius: "8px",
15736
+ borderRadius: "20px",
14862
15737
  height: "36px"
14863
15738
  },
14864
15739
  "& input:disabled": {
14865
15740
  borderRadius: "20px"
14866
15741
  },
14867
- borderRadius: "8px",
15742
+ borderRadius: "20px",
14868
15743
  fontFamily: "Inter, sans-serif",
14869
15744
  "& input:-webkit-autofill": {
14870
15745
  WebkitBoxShadow: "0 0 0 100px white inset",
@@ -15105,7 +15980,7 @@ const ButtonStyled = styled$1("div")(() => ({
15105
15980
  function Button({ isLoading = false, btnTitle, className, disabled = false, ...rest }) {
15106
15981
  return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(ButtonStyled, { children: /* @__PURE__ */ jsx(Button$1, { disabled, className: `btn ${className}`, ...rest, size: "small", children: isLoading ? ALERT_MESSAGES.commonLoadingMessage : btnTitle }) }) });
15107
15982
  }
15108
- const PreviousLoginBanner = ({ t: t2, router, sx }) => {
15983
+ const PreviousLoginBannerInner = ({ t: t2, router, sx }) => {
15109
15984
  const previousLoginDetails = CookiesUtil.get(STORAGE_VALUES.previousLoginBanner) || {};
15110
15985
  CookiesUtil.set(STORAGE_VALUES.previousLoginBanner, previousLoginDetails);
15111
15986
  const handleAutoLogin = async () => {
@@ -15149,6 +16024,7 @@ const PreviousLoginBanner = ({ t: t2, router, sx }) => {
15149
16024
  }
15150
16025
  );
15151
16026
  };
16027
+ const PreviousLoginBanner = (props) => /* @__PURE__ */ jsx(MuiProvider, { children: /* @__PURE__ */ jsx(PreviousLoginBannerInner, { ...props }) });
15152
16028
  const App = () => {
15153
16029
  return /* @__PURE__ */ jsxs(Fragment, { children: [
15154
16030
  /* @__PURE__ */ jsx(
@@ -15183,9 +16059,21 @@ const App = () => {
15183
16059
  appName: APP_NAMES.sso,
15184
16060
  appAccess: [
15185
16061
  {
15186
- name: "Tools",
15187
- icon: "",
15188
- link: "https://tools.6seconds.org",
16062
+ name: "Cards sdf dfsfwk",
16063
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
16064
+ link: "https://cards.6seconds.org",
16065
+ type: "app"
16066
+ },
16067
+ {
16068
+ name: "ASDfwoj vds Home",
16069
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
16070
+ link: "https://cards.6seconds.org",
16071
+ type: "app"
16072
+ },
16073
+ {
16074
+ name: "Cards Homeasdf",
16075
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
16076
+ link: "https://cards.6seconds.org",
15189
16077
  type: "app"
15190
16078
  },
15191
16079
  {
@@ -15195,15 +16083,21 @@ const App = () => {
15195
16083
  type: "app"
15196
16084
  },
15197
16085
  {
15198
- name: "Settings",
15199
- icon: "/app-icons/Settings.svg",
15200
- link: "/settings.svg",
16086
+ name: "Cards ",
16087
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
16088
+ link: "https://cards.6seconds.org",
15201
16089
  type: "app"
15202
16090
  },
15203
16091
  {
15204
- name: "Translations",
15205
- icon: "/translate.svg",
15206
- link: "/translations",
16092
+ name: "Cards Home",
16093
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
16094
+ link: "https://cards.6seconds.org",
16095
+ type: "app"
16096
+ },
16097
+ {
16098
+ name: "Cards Home",
16099
+ icon: "https://cert-6seconds.s3.us-west-2.amazonaws.com/uploads/dashboard/cardshome.svg",
16100
+ link: "https://cards.6seconds.org",
15207
16101
  type: "app"
15208
16102
  }
15209
16103
  ],
@@ -15244,56 +16138,7 @@ const App = () => {
15244
16138
  isNotification: true,
15245
16139
  totallyEndCustomComponent: "asdfsdf",
15246
16140
  extraMenuOptions: {
15247
- components: /* @__PURE__ */ jsxs(Fragment, { children: [
15248
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", spacing: 1, alignItems: "center", sx: { cursor: "pointer" }, children: [
15249
- /* @__PURE__ */ jsx(SVG.CheckedPerson, {}),
15250
- /* @__PURE__ */ jsx(Box, { sx: { flex: 1 }, children: /* @__PURE__ */ jsx(
15251
- Typography,
15252
- {
15253
- variant: "h4",
15254
- sx: {
15255
- color: "#1A1919",
15256
- fontSize: "16px",
15257
- fontWeight: "400",
15258
- m: 0
15259
- },
15260
- children: "extraMenuOptions"
15261
- }
15262
- ) })
15263
- ] }) }),
15264
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", spacing: 1, alignItems: "center", sx: { cursor: "pointer" }, children: [
15265
- /* @__PURE__ */ jsx(SVG.CheckedPerson, {}),
15266
- /* @__PURE__ */ jsx(Box, { sx: { flex: 1 }, children: /* @__PURE__ */ jsx(
15267
- Typography,
15268
- {
15269
- variant: "h4",
15270
- sx: {
15271
- color: "#1A1919",
15272
- fontSize: "16px",
15273
- fontWeight: "400",
15274
- m: 0
15275
- },
15276
- children: "extraMenuOptions"
15277
- }
15278
- ) })
15279
- ] }) }),
15280
- /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Stack$1, { direction: "row", spacing: 1, alignItems: "center", sx: { cursor: "pointer" }, children: [
15281
- /* @__PURE__ */ jsx(SVG.CheckedPerson, {}),
15282
- /* @__PURE__ */ jsx(Box, { sx: { flex: 1 }, children: /* @__PURE__ */ jsx(
15283
- Typography,
15284
- {
15285
- variant: "h4",
15286
- sx: {
15287
- color: "#1A1919",
15288
- fontSize: "16px",
15289
- fontWeight: "400",
15290
- m: 0
15291
- },
15292
- children: "extraMenuOptions"
15293
- }
15294
- ) })
15295
- ] }) })
15296
- ] }),
16141
+ components: /* @__PURE__ */ jsx(Fragment, {}),
15297
16142
  isViewProfile: true,
15298
16143
  isChangePassword: true,
15299
16144
  isEditProfile: true