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,EAyBA6M,QAvBkB7M,IAClBiN,EAAmBjN,IACe,IAA9B+M,EAAkBS,SACpBJ,GAAgB,GAEdP,GACFA,EAAQ7M,EACV,EAiBAgK,IAAKqD,EACLxE,WAAYA,EACZlI,QAASA,EACToF,GAAI,IAAM0H,OAAOC,KAAKxC,GAAsBpG,SAAS3I,GAEhD,GAFyD,CAAC,CAC7DA,aACYwR,MAAMC,QAAQ7H,GAAMA,EAAK,CAACA,KACvCqE,GACL,G,qECzJO,SAASmD,EAAoB7E,GAClC,OAAOsC,EAAAA,EAAAA,IAAqB,UAAWtC,EACzC,CACA,MACA,GADoBuC,EAAAA,EAAAA,GAAuB,UAAW,CAAC,OAAQ,gBAAiB,iBAAkB,kBAAmB,SAAU,gB","sources":["Login.js","components/Helpers/fetchAuth.js","components/LanguageSpeedDial.js","../node_modules/@mui/icons-material/PublicRounded.js","../node_modules/@mui/icons-material/Visibility.js","../node_modules/@mui/icons-material/VisibilityOff.js","../node_modules/@mui/material/InputAdornment/InputAdornment.js","../node_modules/@mui/material/InputAdornment/inputAdornmentClasses.js","../node_modules/@mui/material/Link/getTextDecoration.js","../node_modules/@mui/material/Link/Link.js","../node_modules/@mui/material/Link/linkClasses.js"],"sourcesContent":["import React, { useEffect, useState } from \"react\";\nimport { url, portauth } from \"./Url.js\";\nimport Grid from \"@mui/material/Grid\";\nimport { Link } from \"react-router-dom\";\nimport Link2 from \"@mui/material/Link\";\nimport Typography from \"@mui/material/Typography\";\nimport { makeStyles } from \"@mui/styles\";\nimport Container from \"@mui/material/Container\";\nimport logo from \"./images/logo_large.png\";\nimport Paper from \"@mui/material/Paper\";\nimport Snackbar from \"@mui/material/Snackbar\";\nimport MuiAlert from \"@mui/material/Alert\";\nimport { apiTokenAuthBody } from \"./components/Helpers/fetchAuth.js\";\nimport Visibility from \"@mui/icons-material/Visibility\";\nimport VisibilityOff from \"@mui/icons-material/VisibilityOff\";\nimport InputAdornment from \"@mui/material/InputAdornment\";\nimport IconButton from \"@mui/material/IconButton\";\nimport { fieldValidation } from \"./components/Helpers/functions.js\";\nimport Grow from \"@mui/material/Grow\";\nimport ThemedTextfield from \"./themed/components/ThemedTextfield.js\";\nimport { useNavigate } from \"react-router-dom\";\nimport BasicButton from \"./themed/components/BasicButton.js\";\nimport { Box } from \"@mui/material\";\nimport LanguageSpeedDial from \"./components/LanguageSpeedDial.js\";\nimport { useTranslation } from \"react-i18next\";\nvar pjson = require('../package.json');\n\nfunction Copyright() {\n return (\n \n V.{pjson.version}   Copyright ©  \n \n Joule\n {\" \"}\n {new Date().getFullYear()}\n \n );\n}\n\nconst useStyles = makeStyles((theme) => ({\n paper: {\n marginTop: theme.spacing(8),\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\",\n },\n logo: {\n backgroundColor: \"transparent\",\n display: \"block\",\n margin: \"0.5rem auto\",\n width: 250,\n marginBottom: 50,\n },\n form: {\n width: \"100%\", // Fix IE 11 issue.\n marginTop: theme.spacing(1),\n },\n submit: {\n margin: theme.spacing(3, 0, 0),\n },\n}));\n\nexport default function Login() {\n const classes = useStyles();\n const navigate = useNavigate();\n\n const [credentials, setCredentials] = useState({\n email: \"\",\n password: \"\",\n token: \"\",\n });\n const [showPassword, setShowPassword] = useState(false);\n const [open, setOpen] = useState(false);\n const [messageOpen, setMessageOpen] = useState(false);\n const [message, setMessage] = useState(\"\");\n const [error, setError] = useState(false);\n const [invalidFields, setInvalidFields] = useState([\n \"email\",\n \"emailFormat\",\n \"password\",\n ]);\n const [dirtyFields, setDirtyFields] = useState(false);\n const [growItem, setGrowItem] = useState(false);\n\n const { t, i18n } = useTranslation();\n\n useEffect(() => {\n setGrowItem(true);\n }, []);\n\n const handleClose = (event, reason) => {\n if (reason === \"clickaway\") {\n return;\n }\n\n setOpen(false);\n };\n\n const handleError = (event, reason) => {\n if (reason === \"clickaway\") {\n return;\n }\n\n setError(false);\n };\n\n const handleCredClose = (event, reason) => {\n if (reason === \"clickaway\") {\n return;\n }\n\n setMessageOpen(false);\n };\n\n const handleClickShowPassword = () => {\n setShowPassword((prev) => !prev);\n };\n\n const handleMouseDownPassword = (event) => {\n event.preventDefault();\n };\n\n function handleChange(event) {\n const { name, value } = event.target;\n setCredentials((prevCred) => ({ ...prevCred, [name]: value }));\n }\n\n function Alert(props) {\n return ;\n }\n\n useEffect(() => {\n document.title = `${t(\"Σύνδεση\")} - jHub | JOULE`;\n }, [i18n.language]);\n\n function signIn(e) {\n e.preventDefault();\n const logurl = `${url}${portauth}/v02/auth/api-token-auth/`;\n\n let re = /^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$/;\n fieldValidation(\n \"email\",\n credentials.email.length > 0,\n invalidFields,\n (arr) => setInvalidFields(arr),\n (val) => setDirtyFields(val)\n );\n fieldValidation(\n \"emailFormat\",\n re.test(credentials.email),\n invalidFields,\n (arr) => setInvalidFields(arr),\n (val) => setDirtyFields(val)\n );\n fieldValidation(\n \"password\",\n credentials.password.length > 0,\n invalidFields,\n (arr) => setInvalidFields(arr),\n (val) => setDirtyFields(val)\n );\n\n if (invalidFields.length === 0) {\n fetch(logurl, {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n },\n body: apiTokenAuthBody(credentials),\n })\n .then((response) => response.json())\n .then((result) => {\n if (result.token !== undefined) {\n setCredentials((prevCred) => ({\n ...prevCred,\n token: result.token,\n }));\n localStorage.setItem(\n \"login\",\n JSON.stringify({\n token: result.token,\n })\n );\n localStorage.setItem(\n \"user\",\n JSON.stringify({\n useremail: result.user.email,\n })\n );\n localStorage.setItem(\"userData\", JSON.stringify(result?.user));\n if (JSON.parse(localStorage.getItem(\"login\")) !== null) {\n navigate(\"/h\");\n }\n } else if (\n result.non_field_errors !== undefined &&\n result.non_field_errors[0] ===\n \"Unable to log in with provided credentials.\"\n ) {\n setMessage(\"Δεν ήταν δυνατή η σύνδεση με αυτά τα στοιχεία.\");\n setMessageOpen(true);\n } else {\n setMessage(\"Δεν ήταν δυνατή η σύνδεσή σας. Δοκιμάστε ξανά.\");\n setMessageOpen(true);\n }\n })\n .catch((error) => {\n setMessage(\"Δεν ήταν δυνατή η σύνδεσή σας. Δοκιμάστε ξανά.\");\n setMessageOpen(true);\n console.error(error);\n });\n } else {\n setOpen(true);\n }\n }\n\n // if (credentials.token) {\n // return ;\n // }\n return (\n \n \n \n \n \n \"logo\"\n \n \n \n {t(\"Συνδεθείτε στο\")}{\" \"}jHub 2.2\n \n \n \n \n \n {t(\"Ξεχάσατε τον κωδικό σας;\")}\n \n \n )\n }\n fullWidth\n style={{ width: \"100%\", backgroundColor: \"#fff\" }}\n value={credentials.password}\n onChange={handleChange}\n type={showPassword ? \"text\" : \"password\"}\n InputProps={{\n endAdornment: (\n \n \n {showPassword ? (\n \n ) : (\n \n )}\n \n \n ),\n }}\n />\n\n \n
\n \n {t(\"Σύνδεση\")}\n \n
\n \n
\n {/* \n \n {t(\"Δεν έχετε λογαριασμό;\")}  \n \n {t(\"Εγγραφείτε\")}\n \n */}\n \n \n
\n
\n
\n \n \n \n \n {t(\"Δεν είναι δυνατή η σύνδεση στο λογαριασμό σας\")}\n \n \n \n {/* */}\n \n );\n}\n","export function apiTokenAuthBody(credentials) {\n return JSON.stringify({\n email: credentials.email,\n password: credentials.password,\n });\n}\n\nexport function postForgotPassword(email) {\n return JSON.stringify({\n email: email,\n });\n}\n\nexport function postResetPassword(object) {\n return JSON.stringify({\n new_password: object.new_password,\n uid: object.uid,\n token: object.token,\n });\n}\n\n/* --------------------- SET RESULTS SETTERS --------------------- */\n\nexport function setUserDataLogin(result) {\n return {\n email: result.user.email,\n first_name: result.user.first_name,\n last_name: result.user.last_name,\n roles: result.user.roles,\n fose_profile: result.user.fose_profile,\n telemetry_profile: result.user.telemetry_profile,\n chargers_profile: result.user.chargers_profile,\n };\n}\n","import { SpeedDial, SpeedDialAction } from \"@mui/material\";\nimport { memo, useState } from \"react\";\nimport { useTranslation } from \"react-i18next\";\nimport PublicRoundedIcon from \"@mui/icons-material/PublicRounded\";\nimport { Close } from \"@mui/icons-material\";\n\nconst LanguageSpeedDial = () => {\n const [open, setOpen] = useState(false);\n\n const { t, i18n } = useTranslation();\n // const handleOpen = () => setOpen(true);\n // const handleClose = () => setOpen(false);\n\n const handleClick = () => setOpen((prev) => !prev);\n\n const handleChangeLang = (e, lang) => {\n e.stopPropagation();\n i18n.changeLanguage(lang);\n localStorage.setItem(\"language\", lang);\n\n setOpen(false);\n };\n\n const actions = [\n {\n lang: (\n GR\n ),\n name: t(\"Ελληνικά\"),\n value: \"gr\",\n },\n {\n lang: (\n EN\n ),\n name: t(\"Αγγλικά\"),\n value: \"en\",\n },\n ];\n return (\n }\n onClick={handleClick}\n open={open}\n >\n {actions.map((action) => (\n handleChangeLang(e, action.value)}\n />\n ))}\n }\n onClick={(e) => {\n e.stopPropagation();\n setOpen(false);\n }}\n sx={{\n \"&.MuiFab-root\": {\n backgroundColor: \"transparent !important\",\n boxShadow: \"none\",\n },\n }}\n />\n \n );\n};\n\nexport default memo(LanguageSpeedDial);\n","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39\"\n}), 'PublicRounded');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3\"\n}), 'Visibility');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z\"\n}), 'VisibilityOff');","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar _span;\nconst _excluded = [\"children\", \"className\", \"component\", \"disablePointerEvents\", \"disableTypography\", \"position\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from '../utils/capitalize';\nimport Typography from '../Typography';\nimport FormControlContext from '../FormControl/FormControlContext';\nimport useFormControl from '../FormControl/useFormControl';\nimport styled from '../styles/styled';\nimport inputAdornmentClasses, { getInputAdornmentUtilityClass } from './inputAdornmentClasses';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst overridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disablePointerEvents,\n hiddenLabel,\n position,\n size,\n variant\n } = ownerState;\n const slots = {\n root: ['root', disablePointerEvents && 'disablePointerEvents', position && `position${capitalize(position)}`, variant, hiddenLabel && 'hiddenLabel', size && `size${capitalize(size)}`]\n };\n return composeClasses(slots, getInputAdornmentUtilityClass, classes);\n};\nconst InputAdornmentRoot = styled('div', {\n name: 'MuiInputAdornment',\n slot: 'Root',\n overridesResolver\n})(({\n theme,\n ownerState\n}) => _extends({\n display: 'flex',\n height: '0.01em',\n // Fix IE11 flexbox alignment. To remove at some point.\n maxHeight: '2em',\n alignItems: 'center',\n whiteSpace: 'nowrap',\n color: (theme.vars || theme).palette.action.active\n}, ownerState.variant === 'filled' && {\n // Styles applied to the root element if `variant=\"filled\"`.\n [`&.${inputAdornmentClasses.positionStart}&:not(.${inputAdornmentClasses.hiddenLabel})`]: {\n marginTop: 16\n }\n}, ownerState.position === 'start' && {\n // Styles applied to the root element if `position=\"start\"`.\n marginRight: 8\n}, ownerState.position === 'end' && {\n // Styles applied to the root element if `position=\"end\"`.\n marginLeft: 8\n}, ownerState.disablePointerEvents === true && {\n // Styles applied to the root element if `disablePointerEvents={true}`.\n pointerEvents: 'none'\n}));\nconst InputAdornment = /*#__PURE__*/React.forwardRef(function InputAdornment(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiInputAdornment'\n });\n const {\n children,\n className,\n component = 'div',\n disablePointerEvents = false,\n disableTypography = false,\n position,\n variant: variantProp\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const muiFormControl = useFormControl() || {};\n let variant = variantProp;\n if (variantProp && muiFormControl.variant) {\n if (process.env.NODE_ENV !== 'production') {\n if (variantProp === muiFormControl.variant) {\n console.error('MUI: The `InputAdornment` variant infers the variant prop ' + 'you do not have to provide one.');\n }\n }\n }\n if (muiFormControl && !variant) {\n variant = muiFormControl.variant;\n }\n const ownerState = _extends({}, props, {\n hiddenLabel: muiFormControl.hiddenLabel,\n size: muiFormControl.size,\n disablePointerEvents,\n position,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(FormControlContext.Provider, {\n value: null,\n children: /*#__PURE__*/_jsx(InputAdornmentRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: typeof children === 'string' && !disableTypography ? /*#__PURE__*/_jsx(Typography, {\n color: \"text.secondary\",\n children: children\n }) : /*#__PURE__*/_jsxs(React.Fragment, {\n children: [position === 'start' ? ( /* notranslate needed while Google Translate will not fix zero-width space issue */_span || (_span = /*#__PURE__*/_jsx(\"span\", {\n className: \"notranslate\",\n children: \"\\u200B\"\n }))) : null, children]\n })\n }))\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? InputAdornment.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component, normally an `IconButton` or string.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * Disable pointer events on the root.\n * This allows for the content of the adornment to focus the `input` on click.\n * @default false\n */\n disablePointerEvents: PropTypes.bool,\n /**\n * If children is a string then disable wrapping in a Typography component.\n * @default false\n */\n disableTypography: PropTypes.bool,\n /**\n * The position this adornment should appear relative to the `Input`.\n */\n position: PropTypes.oneOf(['end', 'start']).isRequired,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The variant to use.\n * Note: If you are using the `TextField` component or the `FormControl` component\n * you do not have to set this manually.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default InputAdornment;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getInputAdornmentUtilityClass(slot) {\n return generateUtilityClass('MuiInputAdornment', slot);\n}\nconst inputAdornmentClasses = generateUtilityClasses('MuiInputAdornment', ['root', 'filled', 'standard', 'outlined', 'positionStart', 'positionEnd', 'disablePointerEvents', 'hiddenLabel', 'sizeSmall']);\nexport default inputAdornmentClasses;","import { getPath } from '@mui/system';\nimport { alpha } from '@mui/system/colorManipulator';\nexport const colorTransformations = {\n primary: 'primary.main',\n textPrimary: 'text.primary',\n secondary: 'secondary.main',\n textSecondary: 'text.secondary',\n error: 'error.main'\n};\nconst transformDeprecatedColors = color => {\n return colorTransformations[color] || color;\n};\nconst getTextDecoration = ({\n theme,\n ownerState\n}) => {\n const transformedColor = transformDeprecatedColors(ownerState.color);\n const color = getPath(theme, `palette.${transformedColor}`, false) || ownerState.color;\n const channelColor = getPath(theme, `palette.${transformedColor}Channel`);\n if ('vars' in theme && channelColor) {\n return `rgba(${channelColor} / 0.4)`;\n }\n return alpha(color, 0.4);\n};\nexport default getTextDecoration;","'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"className\", \"color\", \"component\", \"onBlur\", \"onFocus\", \"TypographyClasses\", \"underline\", \"variant\", \"sx\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from '../utils/capitalize';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport useForkRef from '../utils/useForkRef';\nimport Typography from '../Typography';\nimport linkClasses, { getLinkUtilityClass } from './linkClasses';\nimport getTextDecoration, { colorTransformations } from './getTextDecoration';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n component,\n focusVisible,\n underline\n } = ownerState;\n const slots = {\n root: ['root', `underline${capitalize(underline)}`, component === 'button' && 'button', focusVisible && 'focusVisible']\n };\n return composeClasses(slots, getLinkUtilityClass, classes);\n};\nconst LinkRoot = styled(Typography, {\n name: 'MuiLink',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`underline${capitalize(ownerState.underline)}`], ownerState.component === 'button' && styles.button];\n }\n})(({\n theme,\n ownerState\n}) => {\n return _extends({}, ownerState.underline === 'none' && {\n textDecoration: 'none'\n }, ownerState.underline === 'hover' && {\n textDecoration: 'none',\n '&:hover': {\n textDecoration: 'underline'\n }\n }, ownerState.underline === 'always' && _extends({\n textDecoration: 'underline'\n }, ownerState.color !== 'inherit' && {\n textDecorationColor: getTextDecoration({\n theme,\n ownerState\n })\n }, {\n '&:hover': {\n textDecorationColor: 'inherit'\n }\n }), ownerState.component === 'button' && {\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n },\n [`&.${linkClasses.focusVisible}`]: {\n outline: 'auto'\n }\n });\n});\nconst Link = /*#__PURE__*/React.forwardRef(function Link(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiLink'\n });\n const {\n className,\n color = 'primary',\n component = 'a',\n onBlur,\n onFocus,\n TypographyClasses,\n underline = 'always',\n variant = 'inherit',\n sx\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n isFocusVisibleRef,\n onBlur: handleBlurVisible,\n onFocus: handleFocusVisible,\n ref: focusVisibleRef\n } = useIsFocusVisible();\n const [focusVisible, setFocusVisible] = React.useState(false);\n const handlerRef = useForkRef(ref, focusVisibleRef);\n const handleBlur = event => {\n handleBlurVisible(event);\n if (isFocusVisibleRef.current === false) {\n setFocusVisible(false);\n }\n if (onBlur) {\n onBlur(event);\n }\n };\n const handleFocus = event => {\n handleFocusVisible(event);\n if (isFocusVisibleRef.current === true) {\n setFocusVisible(true);\n }\n if (onFocus) {\n onFocus(event);\n }\n };\n const ownerState = _extends({}, props, {\n color,\n component,\n focusVisible,\n underline,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(LinkRoot, _extends({\n color: color,\n className: clsx(classes.root, className),\n classes: TypographyClasses,\n component: component,\n onBlur: handleBlur,\n onFocus: handleFocus,\n ref: handlerRef,\n ownerState: ownerState,\n variant: variant,\n sx: [...(!Object.keys(colorTransformations).includes(color) ? [{\n color\n }] : []), ...(Array.isArray(sx) ? sx : [sx])]\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Link.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the link.\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.any,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * `classes` prop applied to the [`Typography`](/material-ui/api/typography/) element.\n */\n TypographyClasses: PropTypes.object,\n /**\n * Controls when the link should have an underline.\n * @default 'always'\n */\n underline: PropTypes.oneOf(['always', 'hover', 'none']),\n /**\n * Applies the theme typography styles.\n * @default 'inherit'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string])\n} : void 0;\nexport default Link;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getLinkUtilityClass(slot) {\n return generateUtilityClass('MuiLink', slot);\n}\nconst linkClasses = generateUtilityClasses('MuiLink', ['root', 'underlineNone', 'underlineHover', 'underlineAlways', 'button', 'focusVisible']);\nexport default linkClasses;"],"names":["pjson","require","Copyright","_jsxs","Typography","style","color","fontSize","fontWeight","position","textAlign","right","bottom","children","version","_jsx","Link2","href","Date","getFullYear","useStyles","makeStyles","theme","paper","marginTop","spacing","display","flexDirection","alignItems","logo","backgroundColor","margin","width","marginBottom","form","submit","Login","classes","navigate","useNavigate","credentials","setCredentials","useState","email","password","token","showPassword","setShowPassword","open","setOpen","messageOpen","setMessageOpen","message","setMessage","error","setError","invalidFields","setInvalidFields","dirtyFields","setDirtyFields","growItem","setGrowItem","t","i18n","useTranslation","useEffect","handleError","event","reason","handleChange","name","value","target","prevCred","Alert","props","MuiAlert","elevation","variant","document","title","language","backgroundImage","backgroundRepeat","flex","height","minHeight","Grid","container","direction","item","xs","sm","md","lg","xl","Container","component","maxWidth","Grow","in","timeout","className","src","alt","Paper","border","borderRadius","padding","Box","onSubmit","e","preventDefault","logurl","url","portauth","fieldValidation","length","arr","val","test","fetch","method","headers","body","apiTokenAuthBody","then","response","json","result","undefined","localStorage","setItem","JSON","stringify","useremail","user","parse","getItem","non_field_errors","catch","console","ThemedTextfield","label","fullWidth","includes","helperText","onChange","Link","to","type","InputProps","endAdornment","InputAdornment","IconButton","onClick","handleClickShowPassword","prev","onMouseDown","Visibility","VisibilityOff","BasicButton","sx","Snackbar","autoHideDuration","onClose","handleCredClose","handleClose","severity","LanguageSpeedDial","postForgotPassword","postResetPassword","object","new_password","uid","actions","lang","SpeedDial","FabProps","size","ariaLabel","icon","PublicRoundedIcon","handleClick","map","action","SpeedDialAction","tooltipTitle","handleChangeLang","stopPropagation","changeLanguage","Close","boxShadow","memo","_interopRequireDefault","exports","_createSvgIcon","_jsxRuntime","default","jsx","d","_span","_excluded","InputAdornmentRoot","styled","slot","overridesResolver","styles","ownerState","root","capitalize","disablePointerEvents","_ref","_extends","maxHeight","whiteSpace","vars","palette","active","inputAdornmentClasses","positionStart","hiddenLabel","marginRight","marginLeft","pointerEvents","React","inProps","ref","useDefaultProps","disableTypography","variantProp","other","_objectWithoutPropertiesLoose","muiFormControl","useFormControl","slots","composeClasses","getInputAdornmentUtilityClass","useUtilityClasses","FormControlContext","Provider","as","clsx","generateUtilityClass","generateUtilityClasses","colorTransformations","primary","textPrimary","secondary","textSecondary","transformedColor","transformDeprecatedColors","getPath","channelColor","alpha","LinkRoot","underline","button","textDecoration","textDecorationColor","getTextDecoration","WebkitTapHighlightColor","outline","cursor","userSelect","verticalAlign","MozAppearance","WebkitAppearance","borderStyle","linkClasses","focusVisible","onBlur","onFocus","TypographyClasses","isFocusVisibleRef","handleBlurVisible","handleFocusVisible","focusVisibleRef","useIsFocusVisible","setFocusVisible","handlerRef","useForkRef","getLinkUtilityClass","current","Object","keys","Array","isArray"],"sourceRoot":""}