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AgC,SAAW,4BAA4B,QAAU,2BAA2B,YAAc,+BAA+B,eAAiB,kCAAkC,WAAa,8BAA8B,aAAe,gCAAgC,YAAc,+BAA+B,UAAY,6BAA6B,iBAAmB,oCAAoC,cAAgB,iCAAiC,OAAS,0BAA0B,cAAgB,iCAAiC,YAAc,+BAA+B,eAAiB,kCAAkC,kBAAoB,qCAAqC,aAAe,gC","sources":["containers/LoginPage/LoginForm.js","containers/LoginPage/index.js","containers/LoginPage/validations.js","webpack://vnc-designer/./src/containers/LoginPage/LoginPage.module.scss?e678"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {Form, Formik} from 'formik';\nimport PasswordField from '../../components/Forms/PasswordField';\nimport Button from '../../components/Buttons/Button';\nimport {InputField} from \"../../components/Forms\";\nimport {loginSchema} from \"./validations\";\nimport styles from './LoginPage.module.scss';\nimport SocialButton from \"../../components/SocialButtons\";\nimport { ReactComponent as GoogleIcon } from '../../../src/assets/icons/googleIcon.svg';\nimport { ReactComponent as LinkedInIcon } from '../../../src/assets/icons/linkedInIcon.svg';\nimport { ReactComponent as MicrosoftIcon } from '../../../src/assets/icons/microsoft_login.svg';\nimport { useLinkedIn } from 'react-linkedin-login-oauth2';\nimport config from '../../config';\n\n\nexport default function LoginForm({onSubmit, isPending, microsoftLogin, redirectToForgot, handleSignInClick, onGoogleSignIn, onLinkedInSignIn, email}) {\n const handleOnSubmit = (values) => {\n const {email, password} = values;\n onSubmit(email, password);\n };\n\n const { linkedInLogin } = useLinkedIn({\n clientId: config.linkedInClientId,\n redirectUri: `${window.location.origin}/linkedin`,\n scope: \"profile email openid\",\n onSuccess: (code) => {\n onLinkedInSignIn(code);\n },\n onError: (error) => {\n console.error(error);\n },\n });\n\n return (\n