{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/libs/featureFlagLookUp.ts","webpack:///./src/components/FeedbackMessage.tsx","webpack:///./src/features/forgot.password/index.jsx","webpack:///./src/features/forgot.password/containers/Root.jsx","webpack:///./src/features/forgot.password/containers/ForgotPasswordContainer.jsx","webpack:///./src/features/forgot.password/components/ForgotPasswordForm.jsx","webpack:///./src/features/forgot.password/components/ForgotPasswordFormNew.jsx","webpack:///./src/features/forgot.password/components/ForgotPasswordConfirm.jsx","webpack:///./src/features/forgot.password/actions/submit.js","webpack:///./src/features/forgot.password/stores/index.js","webpack:///./src/features/forgot.password/reducers/index.js","webpack:///./src/features/forgot.password/reducers/forgotPasswordReducer.js","webpack:///./src/features/forgot.password/forgot.password.cshtml","webpack:///external \"window.ofx.localisation\"","webpack:///./node_modules/moment/locale sync en","webpack:///external \"window.ofx.config\"","webpack:///./src/components/Navigate.tsx","webpack:///./src/components/Spinner/Spinner.jsx","webpack:///./src/components/Form/SimpleField/commonPropTypes.js","webpack:///external \"window.ofx.user\"","webpack:///./src/components/Form/SimpleField/SimpleField.jsx","webpack:///./src/components/Form/FormGroup/index.js","webpack:///./src/components/Form/SimpleField/index.js","webpack:///./src/components/Form/SimpleField/SimpleFieldComponent.jsx","webpack:///./src/components/Form/FormGroup/Component.jsx","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_classof.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/core.get-iterator-method.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-call.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-array-iter.js","webpack:///./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-detect.js","webpack:///./src/features/forgot.password/constants/actionTypes.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","20","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","isEnabledFeatureFlag","allFeatureFlags","flagName","isIncomingTransferFeatureEnabled","enabledIncomingTransfer","props","state","visible","componentWillReceiveProps","nextProps","this","setState","render","type","message","className","defaultProps","React","Component","FeedbackMessage","Root","store","hot","formValues","getFormValues","mapStateToProps","forgotPassword","loading","success","email","reason","mapDispatchToProps","dispatch","submit","submitAction","submitWithUsername","submitUsernameAction","ForgotPasswordContainer","flags","useContext","isEnabledChangeEmailFieldToUsername","changeEmailFieldToUsername","onSuccess","toastCreator","submitForm","propTypes","func","bool","string","connect","forgotPasswordValidation","createValidator","required","ForgotPasswordForm","handleSubmit","error","i18n","onSubmit","noValidate","undefined","componentType","label","placeholder","id","disabled","isRequired","any","reduxForm","form","validate","ForgotPasswordFormNew","LabelComponent","Fragment","href","style","textDecoration","color","paddingLeft","fontSize","ForgotPasswordConfirm","useEffect","routeName","text","options","createAction","FORGOT_PASSWORD","UserApi","then","Message","FORGOT_PASSWORD_FOR_USERNAME","username","SecureApi","forgotPasswordForUsername","Valid","_error","Reason","Email","valid","reasonCode","ReasonCode","INITIAL_STATE","Map","of","reducersCombined","combineReducers","globalErrorBoundary","forgotPasswordReducer","handleActions","action","setIn","payload","isSuccess","set","ofx","localisation","map","webpackContext","req","webpackContextResolve","e","Error","code","keys","resolve","config","onClick","handleOnClick","url","target","route","isEmptyOrWhiteSpace","routeParams","Config","routes","displayName","Navigate","Spinner","oneOfType","node","popover","instructions","shape","title","element","showSuccessOnValid","user","SimpleField","component","default","input","meta","SimpleFieldComponent","extraProps","information","parentName","touched","invalid","active","shouldRenderLabel","shouldRenderPopover","shouldRenderError","show","shouldRenderInstructions","renderLabel","renderInformationPopover","renderInput","renderError","renderInstructions","icon","errorClass","successClass","children","classes","cof","TAG","ARG","arguments","it","O","T","B","tryGet","callee","classof","ITERATOR","Iterators","getIteratorMethod","anObject","iterator","fn","entries","ret","ArrayProto","Array","SAFE_CLOSING","riter","from","exec","skipClosing","safe","arr","iter","next","done"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrBiB,GAAI,GAGDZ,EAAkB,GAGtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB,OAAO4B,EAAiB5B,GAAU8B,QAGnC,IAAIC,EAASH,EAAiB5B,GAAY,CACzCK,EAAGL,EACHgC,GAAG,EACHF,QAAS,IAUV,O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,EAA+BA,EAA/BA,6BAA+B,gC,6FAD/BJ,E,2FACAI,E","file":"app.forgot.password.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t20: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"secureJsonp\"] = window[\"secureJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([1428,0,1,2,4,7,9]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import ldFlags from 'constants/ldFlags';\n\nexport interface IFeatureFlag {\n [key: string]: boolean;\n}\nexport const isEnabledFeatureFlag = (allFeatureFlags: IFeatureFlag, flagName: string): boolean =>\n allFeatureFlags[flagName];\n\nexport const isIncomingTransferFeatureEnabled = (allFeatureFlags: IFeatureFlag): boolean =>\n isEnabledFeatureFlag(allFeatureFlags, ldFlags.enabledIncomingTransfer);\n\nexport default {\n isEnabledFeatureFlag,\n isIncomingTransferFeatureEnabled,\n};\n","import * as React from 'react';\n\ninterface IComponentProps {\n message: string;\n type: 'error' | 'success';\n visible?: boolean;\n}\n\ninterface IComponentState {\n visible: boolean;\n}\n\nclass FeedbackMessage extends React.Component {\n static defaultProps: Partial = {\n visible: true,\n };\n\n constructor(props: IComponentProps) {\n super(props);\n\n this.state = {\n visible: !!props.visible,\n };\n }\n\n componentWillReceiveProps(nextProps: IComponentProps) {\n this.setState({\n visible: !!nextProps.visible,\n });\n }\n\n render() {\n const { type, message } = this.props;\n if (this.state.visible) {\n return (\n
\n
\n
\n
\n {message}\n
\n );\n }\n return null;\n }\n}\n\nexport default FeedbackMessage;\n","import Root from './containers/Root';\nimport app from '../../containers/App/App';\nimport './forgot.password.cshtml';\n\napp(Root, 'ForgotPasswordComponent');\n","import React from 'react';\nimport { Provider } from 'react-redux';\nimport GlobalErrorBoundary from 'components/GlobalErrorBoundary';\nimport GlobalSessionHandle from 'components/GlobalSessionExpiry';\nimport { FeatureFlagsProvider } from 'components/FeatureFlags';\nimport { hot } from 'react-hot-loader';\nimport ForgotPasswordContainer from './ForgotPasswordContainer';\nimport configureStore from '../stores';\n\nfunction Root() {\n return (\n \n \n \n \n \n \n \n \n \n );\n}\n\nexport default hot(module)(Root);\n","import React, { useContext } from 'react';\nimport PropTypes from 'constants/PropTypes';\nimport { connect } from 'react-redux';\nimport { getFormValues } from 'redux-form';\nimport Spinner from 'components/Spinner/Spinner';\nimport { ToastViewer, toastCreator } from 'components/Toast';\nimport { isEnabledFeatureFlag } from 'libs/featureFlagLookUp';\nimport { FeatureFlagsContext } from 'components/FeatureFlags';\nimport ldFlags from 'constants/ldFlags';\nimport ForgotPasswordForm from '../components/ForgotPasswordForm';\nimport ForgotPasswordFormNew from '../components/ForgotPasswordFormNew';\nimport ForgotPasswordConfirm from '../components/ForgotPasswordConfirm';\nimport { submitAction, submitUsernameAction } from '../actions/submit';\n\nconst formValues = getFormValues('forgotPasswordForm');\n\nconst mapStateToProps = (state) => {\n const { forgotPassword } = state;\n const props = {\n loading: forgotPassword.get('loading'),\n success: forgotPassword.get('success'),\n email: forgotPassword.get('email'),\n reason: forgotPassword.get('reason'),\n ...formValues(state),\n };\n return props;\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n submit: ({ email }) => dispatch(submitAction(email)), // TODO: Remove when https://ofx.atlassian.net/browse/DXP-7100 is LIVE\n submitWithUsername: ({ email }) => dispatch(submitUsernameAction(email)),\n});\n\nexport const ForgotPasswordContainer = ({\n success,\n email,\n submit,\n submitWithUsername,\n loading,\n reason,\n}) => {\n const { flags } = useContext(FeatureFlagsContext);\n const isEnabledChangeEmailFieldToUsername = isEnabledFeatureFlag(\n flags,\n ldFlags.changeEmailFieldToUsername,\n );\n\n const renderForgotPasswordForm = () =>\n isEnabledChangeEmailFieldToUsername ? (\n \n ) : (\n \n );\n\n return (\n
\n \n \n {/* Show the success message and the Return to Login link */}\n {success && }\n\n {/* Show the form on page load (reason === 'undefined') \n and on error (reason === 'error' */}\n {!success && reason !== '' && renderForgotPasswordForm()}\n
\n );\n};\n\nForgotPasswordContainer.propTypes = {\n submit: PropTypes.func,\n submitWithUsername: PropTypes.func,\n success: PropTypes.bool,\n email: PropTypes.string,\n reason: PropTypes.string,\n loading: PropTypes.bool,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ForgotPasswordContainer);\n","import { reduxForm } from 'redux-form';\nimport React from 'react';\nimport PropTypes from 'constants/PropTypes';\nimport { i18n } from 'libs/i18n';\nimport FeedbackMessage from 'components/FeedbackMessage';\nimport SimpleField from 'components/Form/SimpleField';\nimport { createValidator, required, email } from 'validation/';\n\nconst forgotPasswordValidation = createValidator({\n email: [required(true), email],\n});\n\nexport const ForgotPasswordForm = (props) => {\n const { handleSubmit, submitForm, loading, error } = props;\n return (\n
\n

\n {i18n('forgot-password')}\n

\n
{i18n('forgot-password-info')}
\n
\n \n \n
\n \n {i18n('submit')}\n \n
\n \n
\n );\n};\n\nForgotPasswordForm.propTypes = {\n submitForm: PropTypes.func.isRequired,\n handleSubmit: PropTypes.func.isRequired,\n loading: PropTypes.bool,\n // eslint-disable-next-line react/forbid-prop-types\n error: PropTypes.any,\n};\n\nexport default reduxForm({\n form: 'forgotPasswordForm',\n validate: forgotPasswordValidation,\n})(ForgotPasswordForm);\n","import { reduxForm } from 'redux-form';\nimport React from 'react';\nimport PropTypes from 'constants/PropTypes';\nimport { i18n } from 'libs/i18n';\nimport FeedbackMessage from 'components/FeedbackMessage';\nimport SimpleField from 'components/Form/SimpleField';\nimport { createValidator, required } from 'validation/';\n\nconst forgotPasswordValidation = createValidator({\n email: [required(true)],\n});\n\nexport const ForgotPasswordFormNew = (props) => {\n const { handleSubmit, submitForm, loading, error } = props;\n const LabelComponent = (\n \n {i18n('username')}\n \n \n Forgot?\n \n \n \n );\n\n return (\n
\n

\n {i18n('forgot-password')}\n

\n
{i18n('forgot-password-info-with-username')}
\n
\n \n \n
{i18n('forgot-password-hint')}
\n
\n \n {i18n('submit')}\n \n
\n \n
\n );\n};\n\nForgotPasswordFormNew.propTypes = {\n submitForm: PropTypes.func.isRequired,\n handleSubmit: PropTypes.func.isRequired,\n loading: PropTypes.bool,\n // eslint-disable-next-line react/forbid-prop-types\n error: PropTypes.any,\n};\n\nexport default reduxForm({\n form: 'forgotPasswordFormForUsername',\n validate: forgotPasswordValidation,\n})(ForgotPasswordFormNew);\n","import React, { useEffect } from 'react';\nimport PropTypes from 'constants/PropTypes';\nimport Navigate from 'components/Navigate';\nimport { i18n } from 'libs/i18n';\n\nconst ForgotPasswordConfirm = ({ onSuccess, email }) => {\n useEffect(() => {\n if (onSuccess) onSuccess(i18n('forgot-password-confirm', { email }));\n }, [onSuccess]);\n\n return (\n
\n {onSuccess && (\n \n

\n {i18n('forgot-password')}\n

\n\n
\n \n
\n
\n )}\n
\n );\n};\n\nForgotPasswordConfirm.propTypes = {\n email: PropTypes.string,\n onSuccess: PropTypes.func,\n};\n\nexport default ForgotPasswordConfirm;\n","import { createAction } from 'redux-actions';\nimport { SubmissionError } from 'redux-form';\nimport { UserApi, SecureApi } from 'libs/api';\nimport * as types from '../constants/actionTypes';\n\nconst submitAction = createAction(types.FORGOT_PASSWORD, async (email) =>\n UserApi.forgotPassword(email).then((data) => ({\n email,\n message: data.Message,\n })),\n);\n\nconst submitUsernameAction = createAction(types.FORGOT_PASSWORD_FOR_USERNAME, async (username) => {\n const data = await SecureApi.forgotPasswordForUsername(username);\n\n if (!data.Valid) {\n throw new SubmissionError({\n _error: data.Reason,\n });\n }\n return {\n email: data.Email,\n valid: data.Valid,\n reason: data.Reason,\n reasonCode: data.ReasonCode,\n message: data.Message,\n };\n});\n\nexport { submitAction, submitUsernameAction };\n","import { Map } from 'immutable';\nimport simpleStore from '../../../stores/simpleStore';\nimport reducers from '../reducers';\n\nconst INITIAL_STATE = Map.of();\n\nexport default simpleStore('ForgotPassword').bind(null, reducers, INITIAL_STATE);\n","import { combineReducers } from 'redux';\nimport { reducer as formReducer } from 'redux-form';\nimport { reducers as globalErrorBoundaryReducers } from 'components/GlobalErrorBoundary';\nimport { reducers as toastReducers } from 'components/Toast';\nimport forgotPasswordReducer from './forgotPasswordReducer';\n\nconst reducersCombined = combineReducers({\n globalErrorBoundary: globalErrorBoundaryReducers,\n form: formReducer,\n forgotPassword: forgotPasswordReducer,\n ...toastReducers,\n});\n\nexport default reducersCombined;\n","import { Map } from 'immutable';\nimport { handleActions } from 'redux-actions';\nimport * as types from '../constants/actionTypes';\n\nconst forgotPasswordReducer = handleActions(\n {\n [`${types.FORGOT_PASSWORD}_FULFILLED`]: (state, action) =>\n state\n .setIn(['loading'], false)\n .setIn(['email'], action.payload.email)\n .setIn(['success'], true),\n\n [`${types.FORGOT_PASSWORD_FOR_USERNAME}_FULFILLED`]: (state, { payload }) => {\n const isSuccess = payload.valid;\n\n return state\n .setIn(['loading'], false)\n .setIn(['email'], payload.email)\n .setIn(['success'], isSuccess)\n .setIn(['reason'], payload.reason);\n },\n [`${types.FORGOT_PASSWORD}_PENDING`]: (state) =>\n state.set('loading', true).set('success', false),\n [`${types.FORGOT_PASSWORD}_REJECTED`]: (state) =>\n state.set('loading', false).set('success', false),\n [`${types.FORGOT_PASSWORD_FOR_USERNAME}_PENDING`]: (state) =>\n state.set('loading', true).set('success', false),\n [`${types.FORGOT_PASSWORD_FOR_USERNAME}_REJECTED`]: (state) =>\n state.set('loading', false).set('success', false),\n },\n new Map({ loading: false, success: false }),\n);\n\nexport default forgotPasswordReducer;\n","module.exports = __webpack_public_path__ + \"forgot.password.cshtml\";","module.exports = window.ofx.localisation;","var map = {\n\t\"./en-au\": 77,\n\t\"./en-au.js\": 77,\n\t\"./en-ca\": 78,\n\t\"./en-ca.js\": 78,\n\t\"./en-gb\": 79,\n\t\"./en-gb.js\": 79,\n\t\"./en-ie\": 80,\n\t\"./en-ie.js\": 80,\n\t\"./en-il\": 81,\n\t\"./en-il.js\": 81,\n\t\"./en-in\": 82,\n\t\"./en-in.js\": 82,\n\t\"./en-nz\": 83,\n\t\"./en-nz.js\": 83,\n\t\"./en-sg\": 84,\n\t\"./en-sg.js\": 84\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 172;","module.exports = window.ofx.config;","import * as React from 'react';\nimport * as Config from 'ofxSettings';\nimport { isEmptyOrWhiteSpace } from 'libs/string';\n\ninterface IOptions {\n className?: string;\n handleOnClick?: (routeName?: string) => void;\n routeParams?: string;\n}\n\ninterface IComponentProps {\n url?: string;\n routeName?: string;\n text: string;\n options?: IOptions;\n target?: string;\n}\n\nclass Navigate extends React.Component {\n static displayName = 'Navigate';\n\n constructor(props: IComponentProps) {\n super(props);\n\n this.onClick = this.onClick.bind(this);\n\n const { options } = this.props;\n this.state = { ...options };\n }\n\n onClick() {\n if (this.state.handleOnClick !== undefined) {\n this.state.handleOnClick(this.props.routeName);\n }\n }\n\n componentWillReceiveProps(nextProps: IComponentProps) {\n if (this.props.options !== nextProps.options) {\n this.setState({ ...nextProps.options });\n }\n }\n\n render() {\n const { url, routeName, text, target } = this.props;\n let route = url;\n\n if (isEmptyOrWhiteSpace(route) && routeName) {\n route = this.state.routeParams\n ? `${Config.routes[routeName]}?${this.state.routeParams}`\n : `${Config.routes[routeName]}`;\n }\n\n return (\n \n {text}\n \n );\n }\n}\n\nexport default Navigate;\n","import React from 'react';\nimport PropTypes from 'constants/PropTypes';\n\nconst Spinner = ({ loading }) => {\n if (!loading) {\n return null;\n }\n\n return (\n
\n
\n
\n );\n};\n\nSpinner.displayName = 'Spinner';\nSpinner.propTypes = {\n loading: PropTypes.bool,\n};\n\nexport default Spinner;\n","import PropTypes from 'constants/PropTypes';\n\nexport default {\n // ALL FIELDS - supporting Information\n componentType: PropTypes.oneOfType([PropTypes.func, PropTypes.string]).isRequired,\n // SOME FIELDS - Supporting Information\n label: PropTypes.node,\n placeholder: PropTypes.string,\n popover: PropTypes.popover,\n instructions: PropTypes.shape({\n title: PropTypes.string,\n text: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n }),\n showSuccessOnValid: PropTypes.bool,\n};\n","module.exports = window.ofx.user;","import React from 'react';\nimport PropTypes from 'constants/PropTypes';\nimport { Field } from 'redux-form';\nimport SimpleFieldComponent from './SimpleFieldComponent';\nimport commonPropTypes from './commonPropTypes';\n\nconst SimpleField = (props) => ;\n\nSimpleField.propTypes = {\n name: PropTypes.string.isRequired,\n ...commonPropTypes,\n};\n\nexport default SimpleField;\n","export { default } from './Component';\n","export { default } from './SimpleField';\n","import React from 'react';\nimport PropTypes from 'constants/PropTypes';\nimport kebabCase from 'lodash/kebabCase';\nimport commonPropTypes from './commonPropTypes';\nimport FormGroup from '../FormGroup';\nimport FormLabel from '../FormLabel';\nimport InformationPopover from '../../InformationPopover';\nimport Instructions from '../Instructions';\n\nconst propTypes = {\n // REDUX FORM\n // eslint-disable-next-line react/forbid-prop-types\n input: PropTypes.any.isRequired,\n // eslint-disable-next-line react/forbid-prop-types\n meta: PropTypes.any.isRequired,\n className: PropTypes.string,\n ...commonPropTypes,\n};\n\nconst defaultProps = {\n className: 'form-control',\n};\n\nclass SimpleFieldComponent extends React.Component {\n renderInput() {\n const {\n componentType,\n input,\n meta,\n instructions,\n label,\n popover,\n showSuccessOnValid,\n ...extraProps\n } = this.props;\n const Component = componentType;\n\n if (typeof Component === 'function') {\n return ;\n }\n\n return ;\n }\n\n renderLabel() {\n const {\n label,\n input: { name },\n } = this.props;\n return {label};\n }\n\n renderError() {\n const { title, message } = this.props.meta.error;\n return ;\n }\n\n renderInstructions() {\n const { title, text } = this.props.instructions;\n return ;\n }\n\n renderInformationPopover() {\n const { popover, input } = this.props;\n return ;\n }\n\n render() {\n const { showSuccessOnValid, label, instructions, popover, input, meta } = this.props;\n const { name } = input;\n const { touched, invalid, error, active } = meta;\n\n const shouldRenderLabel = !!label;\n const shouldRenderPopover = !!popover;\n const shouldRenderError = touched && invalid && error.show && error.title;\n const shouldRenderInstructions = !!instructions && !shouldRenderError && active;\n\n return (\n \n {shouldRenderLabel && this.renderLabel()}\n {shouldRenderPopover && this.renderInformationPopover()}\n {this.renderInput()}\n {shouldRenderError && this.renderError()}\n {shouldRenderInstructions && this.renderInstructions()}\n \n );\n }\n}\n\nSimpleFieldComponent.propTypes = propTypes;\nSimpleFieldComponent.defaultProps = defaultProps;\n\nexport default SimpleFieldComponent;\n","import React from 'react';\nimport classNames from 'classnames';\nimport PropTypes from 'constants/PropTypes';\nimport ValidationMessage from '../ValidationMessage';\n\nconst icon = (error, touched, showSuccessOnValid) => {\n if (touched) {\n const errorClass = error ? 'form-control-feedback glyphicon-remove' : '';\n const successClass =\n !error && showSuccessOnValid ? 'form-control-feedback glyphicon-ok' : '';\n return ;\n }\n\n return null;\n};\n\nconst Component = ({ error, touched, showSuccessOnValid, className, children }) => {\n const classes = classNames('form-group', className, {\n 'has-feedback has-error': error && touched,\n 'has-feedback has-success': !error && touched && showSuccessOnValid,\n });\n return (\n
\n {children}\n {icon(error, touched, showSuccessOnValid)}\n \n
\n );\n};\n\nComponent.displayName = 'FormGroup';\n\nComponent.propTypes = {\n error: PropTypes.bool,\n touched: PropTypes.bool,\n children: PropTypes.node.isRequired,\n showSuccessOnValid: PropTypes.bool,\n className: PropTypes.string,\n};\n\nexport default Component;\n","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof');\nvar TAG = require('./_wks')('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","var classof = require('./_classof');\nvar ITERATOR = require('./_wks')('iterator');\nvar Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function (it) {\n if (it != undefined) return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function (iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined) anObject(ret.call(iterator));\n throw e;\n }\n};\n","// check on default Array iterator\nvar Iterators = require('./_iterators');\nvar ITERATOR = require('./_wks')('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","var ITERATOR = require('./_wks')('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function () { SAFE_CLOSING = true; };\n // eslint-disable-next-line no-throw-literal\n Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING) return false;\n var safe = false;\n try {\n var arr = [7];\n var iter = arr[ITERATOR]();\n iter.next = function () { return { done: safe = true }; };\n arr[ITERATOR] = function () { return iter; };\n exec(arr);\n } catch (e) { /* empty */ }\n return safe;\n};\n","export const FORGOT_PASSWORD = 'FORGOT_PASSWORD';\nexport const FORGOT_PASSWORD_FOR_USERNAME = 'FORGOT_PASSWORD_FOR_USERNAME';\n"],"sourceRoot":""}