{"version":3,"sources":["../node_modules/simple-react-validator/dist/simple-react-validator.min.js","assets/img/Astek_Groupe-VECTORISE BLANC.png","assets/img/dark-mode-64.png","assets/img/login_microsoft.svg","views/components/ButtonLoginMSAL.js","views/components/ButtonLogoutMSAL.js","views/containers/login.jsx"],"names":["define","s","f","e","t","Array","isArray","r","Symbol","iterator","n","a","i","u","call","next","done","push","value","length","return","l","TypeError","p","Object","prototype","toString","slice","constructor","name","from","test","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","apply","d","arguments","forEach","o","getOwnPropertyDescriptors","defineProperties","defineProperty","configurable","writable","key","this","visibleFields","includes","helpers","forceUpdateIfNeeded","indexOf","splice","parent","passes","hasOwnProperty","isRequired","isBlank","rule","console","error","concat","required","testRegex","normalizeValues","valueOrEmptyString","getValidation","getOptions","split","values","toSentence","join","match","autoForceUpdate","forceUpdate","message","messages","default","replace","humanizeFieldName","toLowerCase","element","className","momentInstalled","window","moment","warn","size","parseFloat","sizeText","fields","errorMessages","messagesShown","rules","accepted","after","isMoment","isAfter","messageReplace","format","after_or_equal","isSameOrAfter","alpha","alpha_space","alpha_num","alpha_num_space","alpha_num_dash","alpha_num_dash_space","array","before","isBefore","before_or_equal","isSameOrBefore","between","boolean","card_exp","card_num","currency","date","date_equals","isSame","email","in","integer","max","min","not_in","not_regex","String","RegExp","numeric","phone","regex","string","typeof","url","validators","locale","locales","navigator","product","createElement","fieldValid","c","m","h","en","module","exports","ButtonLoginMSAL","React","props","super","options","authProvider","getProviderOptions","loginType","LoginType","Redirect","setProviderOptions","render","AzureAD","provider","reduxStore","store","_ref","login","authenticationState","isInProgress","AuthenticationState","InProgress","type","onClick","disabled","src","require","alt","ButtonLogoutMSAL","logout","isAuthenticated","Authenticated","Trans","validator","SimpleReactValidator","callLogout","LoginPage","history","useHistory","REACT_APP_AUTHEMAILENABLED","process","setEmail","useState","useForceUpdate","set","dispatch","useDispatch","idtoken","user","useSelector","state","_state$authentication","authentication","useEffect","authActions","style","position","class","href","target","onSubmit","preventDefault","allValid","alertActions","clear","showMessages","method","maxWidth","accountInfo","isUnauthenticated","Unauthenticated","Fragment","jwtIdToken","id","maxLength","placeholder","onChange","Tooltip","title","arrow","toggleMode","$","hasClass","removeClass","localStorage","setItem","SCREEN_MODE","addClass","width","height","packageJson","version"],"mappings":"8FAAA,UACqDA,EAAO,CAAC,WAAU,2BAAF,EAAwG,SAASC,GAAG,aAAa,SAASC,EAAEC,EAAEC,GAAG,OAAO,SAASD,GAAG,GAAGE,MAAMC,QAAQH,GAAG,OAAOA,EAAvC,CAA0CA,IAAI,SAASA,EAAEC,GAAG,IAAIG,EAAE,MAAMJ,EAAE,KAAK,oBAAoBK,QAAQL,EAAEK,OAAOC,WAAWN,EAAE,cAAc,GAAG,MAAMI,EAAT,CAAkB,IAAIG,EAAET,EAAEU,EAAE,GAAGC,GAAE,EAAGC,GAAE,EAAG,IAAI,IAAIN,EAAEA,EAAEO,KAAKX,KAAKS,GAAGF,EAAEH,EAAEQ,QAAQC,QAAQL,EAAEM,KAAKP,EAAEQ,QAAQd,GAAGO,EAAEQ,SAASf,GAAGQ,GAAE,IAAK,MAAMT,GAAGU,GAAE,EAAGZ,EAAEE,EAAE,QAAQ,IAAIS,GAAG,MAAML,EAAEa,QAAQb,EAAEa,SAAS,QAAQ,GAAGP,EAAE,MAAMZ,GAAG,OAAOU,GAAzT,CAA4TR,EAAEC,IAAIiB,EAAElB,EAAEC,IAAI,WAAW,MAAM,IAAIkB,UAAU,6IAA/B,GAA+K,SAASC,EAAEpB,EAAEC,GAAG,IAAIG,EAAE,oBAAoBC,QAAQL,EAAEK,OAAOC,WAAWN,EAAE,cAAc,IAAII,EAAE,CAAC,GAAGF,MAAMC,QAAQH,KAAKI,EAAEc,EAAElB,KAAKC,GAAGD,GAAG,iBAAiBA,EAAEgB,OAAO,CAACZ,IAAIJ,EAAEI,GAAG,IAAIG,EAAE,EAAET,EAAE,aAAa,MAAM,CAACA,EAAEA,EAAES,EAAE,WA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,cAAA,SACIiF,GAAG,QAAQnD,KAAK,QAAQhJ,KAAK,QAAQX,MAAOyG,EAC5CsG,UAAU,MAAMC,YAAY,GAC5B9I,WAAaoG,EAAU5F,OAAO+B,OAAS6D,EAAU1F,cAAiB,2BAA6B,eAC/FqI,SAAUhO,GAAK6L,EAAS7L,EAAE+M,OAAOhM,UAGxCsK,EAAU3G,QAAQ,QAAS8C,EAAO,iBAAkB,CAAE7C,SAAU,CAAEd,SAAU,qBAAsB2D,MAAO,mBAAqBvC,UAAW,+BAE9IoE,IAAAT,cAAA,OAAK3D,UAAU,+BACXoE,IAAAT,cAAA,UAAQ8B,KAAK,SAASzF,UAAU,iCAAgCoE,IAAAT,cAACwC,IAAK,KAAC,qBAInF/B,IAAAT,cAACoC,EAAgB,QAMzB3B,IAAAT,cAAA,OAAK3D,UAA0C,MAA/B0G,EAAmC,MAAM,sBACrDtC,IAAAT,cAAA,OAAK3D,UAAU,sBACXoE,IAAAT,cAACqF,IAAO,CAACC,MAAO7E,IAAAT,cAACwC,IAAK,KAAE,eAAwB+C,OAAK,GACjD9E,IAAAT,cAAA,UAAQ8B,KAAK,SAASzF,UAAU,cAAc0F,QA1E3DyD,KACXC,IAAE,SAASC,SAAS,SACpBD,IAAE,SAASE,YAAY,QACvBC,aAAaC,QAAQC,IAAa,WAElCL,IAAE,SAASM,SAAS,QACpBH,aAAaC,QAAQC,IAAa,WAqENrF,IAAAT,cAAA,OAAK3D,UAAU,OAAO2J,MAAO,GAAIC,OAAQ,GAAIhE,IAAKC,EAAQ,KAAsCC,IAAI,QAIhH1B,IAAAT,cAAA,OAAK3D,UAAU,kBACXoE,IAAAT,cAAA,YAAkB,OAAXkG,QAAW,IAAXA,OAAW,EAAXA,EAAaC","file":"static/js/15.ec524ab3.chunk.js","sourcesContent":["// Simple React Validator v1.6.2 | Created By Dockwa | MIT License | 2017 - Present\n!function(e,t){\"function\"==typeof define&&define.amd?define([\"react\"],t):\"object\"==typeof exports?module.exports=t(require(\"react\")):e.SimpleReactValidator=t(e.React)}(this,function(s){\"use strict\";function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:\"undefined\"!=typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(null==r)return;var n,s,a=[],i=!0,u=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){u=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(u)throw s}}return a}(e,t)||l(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function p(e,t){var r=\"undefined\"!=typeof Symbol&&e[Symbol.iterator]||e[\"@@iterator\"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&\"number\"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}var a,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw a}}}}function l(e,t){if(e){if(\"string\"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return\"Object\"===r&&e.constructor&&(r=e.constructor.name),\"Map\"===r||\"Set\"===r?Array.from(e):\"Arguments\"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=parseFloat(t[0])&&r.helpers.size(e,t[2])<=parseFloat(t[1])},messageReplace:function(e,t){return e.replace(\":min\",t[0]).replace(\":max\",t[1]).replace(\":type\",r.helpers.sizeText(t[2]))}},boolean:{message:\"The :attribute must be a boolean.\",rule:function(e){return!1===e||!0===e}},card_exp:{message:\"The :attribute must be a valid expiration date.\",rule:function(e){return r.helpers.testRegex(e,/^(([0]?[1-9]{1})|([1]{1}[0-2]{1}))\\s?\\/\\s?(\\d{2}|\\d{4})$/)}},card_num:{message:\"The :attribute must be a valid credit card number.\",rule:function(e){return r.helpers.testRegex(e,/^\\d{4}\\s?\\d{4,6}\\s?\\d{4,5}\\s?\\d{0,8}$/)}},currency:{message:\"The :attribute must be a valid currency.\",rule:function(e){return r.helpers.testRegex(e,/^[\\$£€¥]?(\\d{1,3})(\\,?\\d{3})*\\.?\\d{0,2}$/)}},date:{message:\"The :attribute must be a date.\",rule:function(e){return r.helpers.momentInstalled()&&moment.isMoment(e)}},date_equals:{message:\"The :attribute must be on :date.\",rule:function(e,t){return r.helpers.momentInstalled()&&moment.isMoment(e)&&e.isSame(t[0],\"day\")},messageReplace:function(e,t){return e.replace(\":date\",t[0].format(\"MM/DD/YYYY\"))}},email:{message:\"The :attribute must be a valid email address.\",rule:function(e){return r.helpers.testRegex(e,/^[A-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[A-Z0-9.-]+\\.[A-Z]{2,}$/i)}},in:{message:\"The selected :attribute must be :values.\",rule:function(e,t){return t.includes(e)},messageReplace:function(e,t){return e.replace(\":values\",r.helpers.toSentence(t))}},integer:{message:\"The :attribute must be an integer.\",rule:function(e){return r.helpers.testRegex(e,/^\\-?\\d*$/)}},max:{message:\"The :attribute may not be greater than :max:type.\",rule:function(e,t){return r.helpers.size(e,t[1])<=parseFloat(t[0])},messageReplace:function(e,t){return e.replace(\":max\",t[0]).replace(\":type\",r.helpers.sizeText(t[1]))}},min:{message:\"The :attribute must be at least :min:type.\",rule:function(e,t){return r.helpers.size(e,t[1])>=parseFloat(t[0])},messageReplace:function(e,t){return e.replace(\":min\",t[0]).replace(\":type\",r.helpers.sizeText(t[1]))}},not_in:{message:\"The selected :attribute must not be :values.\",rule:function(e,t){return!t.includes(e)},messageReplace:function(e,t){return e.replace(\":values\",r.helpers.toSentence(t))}},not_regex:{message:\"The :attribute must not match the required pattern.\",rule:function(e,t){return!r.helpers.testRegex(e,\"string\"==typeof t[0]||t[0]instanceof String?new RegExp(t[0]):t[0])}},numeric:{message:\"The :attribute must be a number.\",rule:function(e){return r.helpers.testRegex(e,/^\\-?\\d*\\.?\\d+$/)}},phone:{message:\"The :attribute must be a valid phone number.\",rule:function(e){return r.helpers.testRegex(e,/^(\\+?\\d{0,4})?\\s?-?\\s?(\\(?\\d{3}\\)?)\\s?-?\\s?(\\(?\\d{3}\\)?)\\s?-?\\s?(\\(?\\d{4}\\)?)$/)&&!r.helpers.testRegex(e,/^\\b(\\d)\\1{8,}\\b$/)}},regex:{message:\"The :attribute must match the required pattern.\",rule:function(e,t){return r.helpers.testRegex(e,\"string\"==typeof t[0]||t[0]instanceof String?new RegExp(t[0]):t[0])}},required:{message:\"The :attribute field is required.\",rule:function(e){return!r.helpers.isBlank(e)},required:!0},size:{message:\"The :attribute must be :size:type.\",rule:function(e,t){return r.helpers.size(e,t[1])==parseFloat(t[0])},messageReplace:function(e,t){return e.replace(\":size\",t[0]).replace(\":type\",r.helpers.sizeText(t[1]))}},string:{message:\"The :attribute must be a string.\",rule:function(e){return a(e)===a(\"string\")}},typeof:{message:\"The :attribute is not the correct type of :type.\",rule:function(e,t){return a(e)===a(t[0])},messageReplace:function(e,t){return e.replace(\":type\",a(t[0]))}},url:{message:\"The :attribute must be a url.\",rule:function(e){return r.helpers.testRegex(e,/^https?:\\/\\/[-a-z0-9@:%._\\+~#=]{1,256}\\.[a-z0-9()]{2,13}\\b([-a-z0-9()@:%_\\+.~#?&//=]*)$/i)}}},e.validators||{}),e.locale&&!n.locales.hasOwnProperty(e.locale)&&console.warn(\"Locale not found! Make sure it is spelled correctly and the locale file is loaded.\");var t=n.locales[e.locale]||{};Object.keys(this.rules).forEach(function(e){r.rules[e].message=t[e]||r.rules[e].message}),this.messages=e.messages||{},this.className=e.className,this.autoForceUpdate=e.autoForceUpdate||!1,!1===e.element?this.element=function(e){return e}:e.hasOwnProperty(\"element\")?this.element=e.element:\"object\"===(\"undefined\"==typeof navigator?\"undefined\":a(navigator))&&\"ReactNative\"===navigator.product?this.element=function(e){return e}:this.element=function(e,t){return s.createElement(\"div\",{className:t||r.className||\"srv-validation-message\"},e)}}var e,t,r;return e=n,r=[{key:\"addLocale\",value:function(e,t){this.locales[e]=t}}],(t=[{key:\"getErrorMessages\",value:function(){return this.errorMessages}},{key:\"showMessages\",value:function(){this.messagesShown=!0,this.helpers.forceUpdateIfNeeded()}},{key:\"hideMessages\",value:function(){this.messagesShown=!1,this.helpers.forceUpdateIfNeeded()}},{key:\"allValid\",value:function(){for(var e in this.fields)if(!1===this.fieldValid(e))return!1;return!0}},{key:\"fieldValid\",value:function(e){return this.fields.hasOwnProperty(e)&&!0===this.fields[e]}},{key:\"purgeFields\",value:function(){this.fields={},this.errorMessages={}}},{key:\"messageWhenPresent\",value:function(e){var t=1\r\n {({ login, authenticationState }) => {\r\n const isInProgress = authenticationState === AuthenticationState.InProgress;\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n ); \r\n }}\r\n \r\n );\r\n }\r\n}\r\nexport default ButtonLoginMSAL;\r\n","import * as React from 'react';\r\nimport { Trans } from \"react-i18next\";\r\nimport { AzureAD, LoginType, AuthenticationState } from 'react-aad-msal';\r\nimport { store } from '../../redux/store';\r\nimport '../../styles/login.scss';\r\n\r\n// Import the authentication provider which holds the default settings\r\nimport { authProvider } from '../../services';\r\n\r\nclass ButtonLogoutMSAL extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n // Change the login type to execute in a Popup\r\n const options = authProvider.getProviderOptions();\r\n options.loginType = LoginType.Redirect;\r\n authProvider.setProviderOptions(options);\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {({ logout, authenticationState }) => {\r\n const isInProgress = authenticationState === AuthenticationState.InProgress;\r\n const isAuthenticated = authenticationState === AuthenticationState.Authenticated;\r\n return (\r\n \r\n {isAuthenticated && (\r\n
\r\n \r\n
\r\n )}\r\n
\r\n ); \r\n }}\r\n
\r\n );\r\n }\r\n}\r\nexport default ButtonLogoutMSAL;\r\n","import React, { useState, useEffect } from 'react';\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { Trans } from \"react-i18next\";\r\nimport { alertActions, authActions } from \"../../redux/actions\";\r\nimport SimpleReactValidator from 'simple-react-validator';\r\nimport ButtonLoginMSAL from '../components/ButtonLoginMSAL';\r\nimport { AzureAD, AuthenticationState } from 'react-aad-msal';\r\nimport { store } from '../../redux/store';\r\nimport { authProvider } from '../../services';\r\nimport ButtonLogoutMSAL from '../components/ButtonLogoutMSAL';\r\nimport packageJson from '../../../package.json';\r\n\r\nimport './../../styles/login.scss';\r\nimport { useHistory } from 'react-router-dom';\r\nimport $ from \"jquery\";\r\nimport { SCREEN_MODE } from '../../constants';\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\n\r\nimport ReactDOMServer from 'react-dom/server';\r\n\r\nconst useForceUpdate = () => {\r\n const set = useState(0)[1];\r\n return () => set((s) => s + 1);\r\n};\r\n\r\n//form validation \r\nlet validator = new SimpleReactValidator({\r\n element: message => (\r\n
\r\n \r\n {`${message}`}\r\n \r\n
\r\n )\r\n});\r\n\r\nlet callLogout = 1;\r\nconst LoginPage = () => {\r\n const history = useHistory()\r\n const { REACT_APP_AUTHEMAILENABLED } = process.env;\r\n \r\n const [email, setEmail] = useState(\"\");\r\n const forceUpdate = useForceUpdate();\r\n const dispatch = useDispatch();\r\n let idtoken = null;\r\n\r\n const user = useSelector(state => state.authentication?.user);\r\n\r\n useEffect(() => {\r\n if (user != null) history.push(\"/\");\r\n }, [history, user])\r\n\r\n useEffect(() => {\r\n //window.scrollTo(0, 0);\r\n if (idtoken != null) {\r\n callLogout = 1;\r\n dispatch(authActions.login(email, idtoken));\r\n }\r\n }, [dispatch, email, idtoken])\r\n\r\n const gotoDevLogin = (e) => {\r\n e.preventDefault();\r\n if (validator.allValid()) {\r\n callLogout = 1;\r\n dispatch(alertActions.clear());\r\n dispatch(authActions.login(email));\r\n } else {\r\n validator.showMessages();\r\n forceUpdate();\r\n }\r\n }\r\n\r\n const setAccount = (info) => {\r\n idtoken = info.jwtIdToken;\r\n }\r\n\r\n const signout = () => {\r\n callLogout = 0;\r\n dispatch(authActions.logout());\r\n }\r\n\r\n //\r\n const toggleMode = () => {\r\n if ($(\"#root\").hasClass('dark')) {\r\n $(\"#root\").removeClass('dark');\r\n localStorage.setItem(SCREEN_MODE, 'light');\r\n } else {\r\n $(\"#root\").addClass('dark');\r\n localStorage.setItem(SCREEN_MODE, 'dark')\r\n }\r\n }\r\n \r\n return (\r\n
\r\n
\r\n
\r\n \r\n ...\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
loginbtnconnexion
\r\n
\r\n \r\n {({ accountInfo, authenticationState }) => {\r\n const isUnauthenticated = authenticationState === AuthenticationState.Unauthenticated;\r\n return (\r\n \r\n {accountInfo && \r\n setAccount(accountInfo)\r\n }\r\n {isUnauthenticated && (callLogout > 0) && \r\n signout()\r\n }\r\n \r\n );\r\n }\r\n }\r\n \r\n {REACT_APP_AUTHEMAILENABLED === '1' &&\r\n <>\r\n
\r\n \r\n
\r\n
\r\n
\r\n setEmail(e.target.value)}\r\n />\r\n
\r\n {validator.message('email', email, 'required|email', { messages: { required: 'loginemailrequired', email: 'loginemailerror' }, className: 'text-danger error-message' })}\r\n
\r\n
\r\n \r\n
\r\n \r\n }\r\n \r\n {/*
\r\n \"\"\r\n
*/}\r\n
\r\n
\r\n
\r\n
\r\n {'screen_mode'}} arrow>\r\n \r\n \r\n
\r\n
\r\n {packageJson?.version}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default LoginPage;\r\n"],"sourceRoot":""}