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,EAAAC,EAAAmD,GAAA,SAAAA,IAAA,O,4FAAAjD,CAAA,KAAAiD,GAAApD,EAAAa,MAAA,KAAAR,UAAA,CAuB3B,O,EAvB2B+C,G,EAAA,EAAAT,IAAA,YAAAsG,IAY5B,WAAiB,IAADC,EACdnE,EAAuClC,KAAKjB,MAApCuI,EAAOpF,EAAPoF,QAASC,EAAMrF,EAANqF,OAAQpH,EAAS+B,EAAT/B,UACzB,OAAOoF,IAAW,aAAW1H,EAAAwI,EAAA,GAC1BlG,EAAYA,GAAStC,EAAAwI,EACtB,WAAYiB,GAAOzJ,EAAAwI,EACnB,YAAakB,GAAMlB,GAEvB,GAAC,CAAAvG,IAAA,SAAAvB,MAED,WACE,OAAO2B,EAAAA,cAAA,OAAKC,UAAWH,KAAKG,WAC9B,M,8EAACI,CAAA,CAvB2B,CAASL,EAAAA,eAAmBrC,EAArC0C,EAAS,YACT,CACjB+G,QAAS7F,IAAAA,KACT8F,OAAQ9F,IAAAA,KACRtB,UAAWsB,IAAAA,SACZ5D,EALkB0C,EAAS,eAON,CACpB+G,SAAS,EACTC,QAAQ,G,iiDCZgB,I,MAEP5F,EAAkB,SAAA6F,I,sRAAAtK,CAAAyE,EAAA6F,GAAA,I,MAAArK,EAAAC,EAAAuE,GAAA,SAAAA,IAAA,O,4FAAArE,CAAA,KAAAqE,GAAAxE,EAAAa,MAAA,KAAAR,UAAA,CAOpC,O,EAPoCmE,E,EAAA,EAAA7B,IAAA,OAAAvB,MAIrC,SAAYkJ,GAEV,OADc,IAAIC,EAAAA,EAAM1H,MACXyH,OAAOA,GAAQrB,KAC9B,K,EAPqC,O,8EAOpCzE,CAAA,CAPoC,CAASgG,EAAAA,G,EAA3BhG,E,EACN,+B,MADwB,U","sources":["webpack://Oomple/./app/javascript/components/v4/public/opportunities/sign_in_up/forgot_password.jsx","webpack://Oomple/./app/javascript/components/v4/public/opportunities/sign_in_up/resend_confirmation.jsx","webpack://Oomple/./app/javascript/components/v4/public/opportunities/sign_in_up/sign_in.jsx","webpack://Oomple/./app/javascript/components/v4/public/opportunities/sign_in_up/sign_up.jsx","webpack://Oomple/./app/javascript/components/v4/public/opportunities/sign_in_up.jsx","webpack://Oomple/./app/javascript/components/v5/base/col.jsx","webpack://Oomple/./app/javascript/components/v5/base/row.jsx","webpack://Oomple/./app/javascript/components/v5/base/separator.jsx","webpack://Oomple/./app/javascript/models/v2/resend_confirmation.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport update from 'immutability-helper';\n\n// Mixins / Modules\nimport isResizable from '../../../../mixins/resizable';\nimport Window from '../../../../../modules/window';\n\n// Base\nimport Button from '../../../../v5/base/button';\nimport Separator from '../../../../v5/base/separator';\n\n// Form\nimport Input from '../../../../v5/form/input';\n\nclass ForgotPassword extends React.Component {\n static propTypes = {\n onSetView: PropTypes.func.isRequired,\n }\n\n state = {\n sending: false,\n user: {\n email: '',\n },\n errorMessages: {},\n }\n\n handleInputChange = (field, value) => {\n const { user } = this.state;\n const newUser = update(user, { [field]: { $set: value } });\n this.setState({ user: newUser });\n }\n\n handleSubmit = (e) => {\n const { onSetView } = this.props;\n const { sending, user } = this.state;\n\n e && e.preventDefault();\n\n if (sending) return;\n\n this.setState({ sending: true }, () => {\n const data = {\n email: user.email,\n };\n\n $.ajax({\n url: '/users/password',\n type: 'POST',\n data: {\n user: data,\n },\n success: () => {\n Window.flash.success('You will receive an email with instructions on how to reset your password in a few minutes.');\n // Give flash time to be read\n setTimeout(() => onSetView('sign_in'), 2000);\n },\n error: ({ responseJSON }) => {\n this.setState({\n errorMessages: responseJSON.errors,\n sending: false,\n });\n },\n });\n })\n }\n\n render() {\n const { onSetView } = this.props;\n const { user, errorMessages, sending } = this.state;\n\n return (\n \n
\n \n
Forgot Password
\n \n
\n
\n
\n this.handleInputChange('email', value),\n defaultValue: user.email,\n }} />\n
\n
\n
\n
\n Already a member?
\n
\n
\n
\n )\n }\n}\n\nexport default isResizable(ForgotPassword);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport update from 'immutability-helper';\n\n// Mixins / Modules\nimport isResizable from '../../../../mixins/resizable';\nimport Window from '../../../../../modules/window';\n\n// Models\nimport ResendConfirmationModel from '../../../../../models/v2/resend_confirmation';\n\n// Base\nimport Button from '../../../../v5/base/button'\nimport Separator from '../../../../v5/base/separator';\n\n// Form\nimport Input from '../../../../v5/form/input';\n\nclass ResendConfirmation extends React.Component {\n static propTypes = {\n onSetView: PropTypes.func.isRequired,\n }\n\n state = {\n sending: false,\n user: {\n email: '',\n },\n errorMessages: {},\n }\n\n handleInputChange = (field, value) => {\n const { user } = this.state;\n const newUser = update(user, { [field]: { $set: value } });\n this.setState({ user: newUser });\n }\n\n handleSubmit = (e) => {\n const { onSetView } = this.props;\n const { sending, user } = this.state;\n\n e && e.preventDefault();\n\n if (sending) return;\n\n this.setState({ sending: true }, () => {\n const data = {\n email: user.email,\n };\n\n ResendConfirmationModel\n .send(data)\n .then(() => {\n Window.flash.success('Your confirmation email has been resent');\n // Give flash time to be read\n setTimeout(() => onSetView('sign_in'), 2000)\n })\n .catch(({ responseJSON }) => {\n console.log('responseJSON', responseJSON)\n this.setState({\n errorMessages: responseJSON.errors,\n sending: false,\n });\n });\n })\n }\n\n render() {\n const { onSetView } = this.props;\n const { user, errorMessages, sending } = this.state;\n\n return (\n \n
\n \n
Resend Confirmation
\n \n
\n
\n
\n this.handleInputChange('email', value),\n defaultValue: user.email,\n }} />\n
\n
\n
\n
\n Already confirmed?
\n
\n
\n
\n )\n }\n}\n\nexport default isResizable(ResendConfirmation);","import React from 'react';\nimport PropTypes from 'prop-types';\nimport update from 'immutability-helper';\n\n// Mixins / Modules\nimport isResizable from '../../../../mixins/resizable';\nimport Window from '../../../../../modules/window';\n\n// Base\nimport Button from '../../../../v5/base/button';\nimport GoogleButton from '../../../../v5/base/google_button';\nimport Separator from '../../../../v5/base/separator';\n\n// Form\nimport Checkbox from '../../../../v5/form/checkbox';\nimport Input from '../../../../v5/form/input';\n\nclass SignIn extends React.Component {\n static propTypes = {\n user: PropTypes.object.isRequired,\n opportunity: PropTypes.object.isRequired,\n onSignIn: PropTypes.func.isRequired,\n onSetView: PropTypes.func.isRequired,\n }\n\n constructor(props) {\n super(props);\n this.state = {\n user: props.user,\n errorMessages: {},\n sending: false,\n }\n }\n\n handleInputChange = (field, value) => {\n const { user } = this.state;\n const newUser = update(user, { [field]: { $set: value } });\n this.setState({ user: newUser });\n }\n\n handleSubmit = (e) => {\n const { opportunity, onSignIn } = this.props;\n const { sending, user } = this.state;\n\n e && e.preventDefault();\n\n if (sending) return;\n\n this.setState({ sending: true }, () => {\n $.ajax({\n url: '/users/sign_in.json',\n type: 'POST',\n contentType: 'application/json',\n data: JSON.stringify({\n user,\n opportunity_id: opportunity.id,\n }),\n success: (response) => {\n let myWindow;\n if (opportunity.is_jobspikr) {\n const winId = (new Date()).getTime();\n myWindow = window.open('', winId)\n }\n const { location, user } = response;\n onSignIn(location, user, myWindow);\n },\n error: (errors) => {\n const { responseJSON } = errors;\n const message = (responseJSON && responseJSON.error) ? responseJSON.error : 'Invalid email or password';\n Window.flash.error(errors, message);\n this.setState({ sending: false });\n },\n });\n })\n }\n\n handleGoogleAuth = (response) => {\n const { opportunity, onSignIn } = this.props;\n const { location, user } = response;\n\n let myWindow;\n if (opportunity.is_jobspikr) {\n const winId = (new Date()).getTime();\n myWindow = window.open('', winId)\n }\n onSignIn(location, user, myWindow);\n }\n\n render() {\n const { opportunity, onSetView } = this.props;\n const { user, sending } = this.state;\n\n return (\n \n
\n \n
\n {\n opportunity.id &&\n Login to view more jobs\n }\n {\n !opportunity.id &&\n Login to Your Oomple Account\n }\n
\n
Find top contracts, network, and manage your work—all in one place.
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
Or
\n
\n
\n
\n
\n this.handleInputChange('email', value),\n defaultValue: user.email,\n }} />\n
\n
\n this.handleInputChange('password', value),\n allowPasswordToggle: true,\n }} />\n
\n
\n
\n
\n this.handleInputChange('remember_me', checked),\n }} />\n
\n
\n
\n
\n New to Oomple?
\n
\n
\n
\n )\n }\n}\n\nexport default isResizable(SignIn);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport update from 'immutability-helper';\n\n// Mixins / Modules\nimport isResizable from '../../../../mixins/resizable';\nimport { isEmptyObject } from '../../../../../modules/global';\nimport Window from '../../../../../modules/window';\n\n// Models\nimport User from '../../../../../models/v2/user';\n\n// Base\nimport Button from '../../../../v5/base/button';\nimport Col from '../../../../v5/base/col';\nimport GoogleButton from '../../../../v5/base/google_button'\nimport Row from '../../../../v5/base/row';\nimport Separator from '../../../../v5/base/separator';\n\n// Form\nimport AvatarUpload from '../../../../v5/public/users/sign_up/avatar_upload';\nimport Checkbox from '../../../../v5/form/checkbox';\nimport Input from '../../../../v5/form/input';\nimport PasswordStrengthChecklist from '../../../../v5/form/password_strength_checklist';\n\nclass SignUp extends React.Component {\n static propTypes = {\n user: PropTypes.object.isRequired,\n opportunity: PropTypes.object.isRequired,\n onSignUp: PropTypes.func.isRequired,\n onSetView: PropTypes.func.isRequired,\n }\n\n constructor(props) {\n super(props);\n this.state = {\n user: props.user,\n errorMessages: {},\n sending: false,\n }\n }\n\n handleInputChange = (field, value) => {\n const { user } = this.state;\n const newUser = update(user, { [field]: { $set: value } });\n this.setState({ user: newUser });\n }\n\n handleProfileInputChange = (field, value) => {\n const { user } = this.state;\n const newUser = update(user, { profile_attributes: { [field]: { $set: value } } });\n this.setState({ user: newUser });\n }\n\n handleValidate = () => {\n this.setState({ sending: true });\n }\n\n handleError = () => {\n this.setState({ sending: false });\n }\n\n handleSubmit = (e) => {\n const { onSignUp, opportunity } = this.props;\n const { sending, user } = this.state;\n\n e && e.preventDefault();\n\n if (sending) return;\n\n // Prep a window if we've been given an opportunity id. Prevents popup block\n let myWindow;\n if (opportunity.is_jobspikr) {\n const winId = (new Date()).getTime();\n myWindow = window.open('', winId)\n }\n\n this.setState({ sending: true }, () => {\n const profile = isEmptyObject(user.profile_attributes) ? {} : user.profile_attributes;\n let data = {\n user: {\n email: user.email,\n password: user.password || '',\n user_type: User.CONSULTANT,\n allow_marketing: user.allow_marketing,\n profile_attributes: {\n first_name: profile.first_name || '',\n last_name: profile.last_name || '',\n },\n },\n opportunity_id: opportunity.id,\n }\n\n $.ajax({\n url: '/users.json',\n type: 'POST',\n contentType: 'application/json',\n data: JSON.stringify(data),\n success: (response) => {\n // Track conversion event in google\n gtag('event', 'conversion', { 'send_to': 'AW-707878932/-M1tCP7KxKsBEJTAxdEC' });\n const { user, location } = response;\n onSignUp(location, user, myWindow);\n },\n error: ({ responseJSON }) => {\n this.setState({\n errorMessages: (responseJSON || {}).errors || {},\n sending: false,\n }, () => {\n if (opportunity.is_jobspikr) {\n myWindow.close();\n }\n });\n },\n });\n });\n }\n\n handleGoogleAuth = (response) => {\n const { opportunity, onSignUp } = this.props;\n const { location, user } = response;\n\n let myWindow;\n if (opportunity.is_jobspikr) {\n const winId = (new Date()).getTime();\n myWindow = window.open('', winId)\n }\n onSignUp(location, user, myWindow);\n }\n\n render() {\n const { onSetView, opportunity } = this.props;\n const { user, sending, errorMessages } = this.state;\n\n return (\n \n
\n \n
\n {\n opportunity.id &&\n Join today to explore more jobs.\n }\n {\n !opportunity.id &&\n Welcome to Oomple, Join Today!\n }\n
\n \n
\n ( * ) indicates required fields\n
\n
\n
\n
\n \n
\n
\n
\n
\n
Or
\n
\n
\n
\n \n \n this.handleProfileInputChange('remote_avatar_url', value),\n }} />\n \n \n this.handleProfileInputChange('first_name', value),\n }} />\n \n \n this.handleProfileInputChange('last_name', value),\n }} />\n \n \n this.handleInputChange('email', value),\n }} />\n \n \n this.handleInputChange('password', value),\n className: classNames('', { 'margin-bottom-10': !errorMessages.password }),\n allowPasswordToggle: true,\n }} />\n \n \n \n this.handleInputChange('allow_marketing', checked)}\n label='I want to stay looped in with helpful newsletters, product updates and events.'\n />\n \n \n
\n
\n Have an account?
\n
\n \n By signing up, you are agreeing to our\n Terms & Conditions.\n \n
\n
\n
\n )\n }\n}\n\nexport default isResizable(SignUp);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { X } from 'lucide-react';\n\n// Base\nimport Modal from '../../../v5/base/modal';\n\n//Related Components\nimport ForgotPassword from './sign_in_up/forgot_password';\nimport ResendConfirmation from './sign_in_up/resend_confirmation';\nimport SignIn from './sign_in_up/sign_in';\nimport SignUp from './sign_in_up/sign_up';\n\nexport default class SignInUp extends React.Component {\n static propTypes = {\n onSignIn: PropTypes.func,\n onSignUp: PropTypes.func,\n isOpen: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n opportunity: PropTypes.object,\n }\n\n static defaultProps = {\n opportunity: {},\n }\n\n constructor(props) {\n super(props);\n\n this.state = {\n user: {\n profile_attributes: {},\n opportunity_id: props.opportunity.id,\n },\n v: 'sign_up',\n };\n }\n\n handleSetView = (v) => {\n this.setState({ v });\n }\n\n render() {\n const { opportunity, isOpen, onClose, onSignIn, onSignUp } = this.props;\n const { v, user } = this.state;\n\n return (\n \n \n
\n \n
\n {\n v === 'sign_up' &&\n \n }\n {\n v === 'sign_in' &&\n \n }\n {\n v === 'forgot_password' &&\n \n }\n {\n v === 'resend_confirmation' &&\n \n }\n
\n
\n )\n }\n}","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nexport default class Col extends React.Component {\r\n static propTypes = {\r\n id: PropTypes.string,\r\n className: PropTypes.string,\r\n noPadding: PropTypes.bool,\r\n offsetSmall: PropTypes.number,\r\n offsetMedium: PropTypes.number,\r\n offsetLarge: PropTypes.number,\r\n pullSmall: PropTypes.number,\r\n pullMedium: PropTypes.number,\r\n pullLarge: PropTypes.number,\r\n pushSmall: PropTypes.number,\r\n pushMedium: PropTypes.number,\r\n pushLarge: PropTypes.number,\r\n s: PropTypes.number,\r\n m: PropTypes.number,\r\n l: PropTypes.number,\r\n };\r\n\r\n static defaultProps = {\r\n id: '',\r\n noPadding: false,\r\n s: 0,\r\n m: 0,\r\n l: 0\r\n };\r\n\r\n get classNames() {\r\n const { className, noPadding, offsetSmall, offsetMedium, offsetLarge,\r\n pullSmall, pullMedium, pullLarge, pushSmall, pushMedium, pushLarge,\r\n s, m, l } = this.props;\r\n\r\n return classNames('col', {\r\n [`s${s}`]: s > 0,\r\n [`m${m}`]: m > 0,\r\n [`l${l}`]: l > 0,\r\n [`offset-s${offsetSmall}`]: offsetSmall > 0,\r\n [`offset-m${offsetMedium}`]: offsetMedium > 0,\r\n [`offset-l${offsetLarge}`]: offsetLarge > 0,\r\n [`pull-s${pullSmall}`]: pullSmall > 0,\r\n [`pull-m${pullMedium}`]: pullMedium > 0,\r\n [`pull-l${pullLarge}`]: pullLarge > 0,\r\n [`push-s${pushSmall}`]: pushSmall > 0,\r\n [`push-m${pushMedium}`]: pushMedium > 0,\r\n [`push-l${pushLarge}`]: pushLarge > 0,\r\n [className]: className,\r\n 'no-pad': noPadding\r\n });\r\n }\r\n\r\n render() {\r\n const { id, children } = this.props;\r\n return(\r\n {children}\r\n );\r\n }\r\n}\r\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nexport default class Row extends React.Component {\n static propTypes = {\n id: PropTypes.string,\n className: PropTypes.string,\n nested: PropTypes.bool,\n noMargin: PropTypes.bool,\n vCenter: PropTypes.bool,\n hCenter: PropTypes.bool,\n onClick: PropTypes.func,\n };\n\n static defaultProps = {\n id: '',\n nested: false,\n noMargin: false,\n vCenter: false,\n hCenter: false,\n onClick: () => { },\n };\n\n get classNames() {\n const { className, nested, noMargin, vCenter, hCenter } = this.props;\n return classNames('row', {\n [className]: className,\n 'nested': nested,\n 'no-margin': noMargin,\n 'v-center': vCenter,\n 'h-center': hCenter\n });\n }\n\n render() {\n const { id, children, onClick } = this.props;\n return(\n {children}\n );\n }\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nexport default class Separator extends React.PureComponent {\n static propTypes = {\n isSmall: PropTypes.bool,\n center: PropTypes.bool,\n className: PropTypes.string,\n }\n\n static defaultProps = {\n isSmall: false,\n center: false,\n }\n\n get className() {\n const { isSmall, center, className } = this.props;\n return classNames('separator', {\n [className]: className,\n 'is-small': isSmall,\n 'is-center': center,\n });\n }\n\n render() {\n return
\n }\n}\n","import Model from './model';\nimport Query from './query';\n\nexport default class ResendConfirmation extends Model {\n static URL = '/api/v2/resend_confirmation';\n\n // Custom model. Used for resending email confirmations only\n static send(params) {\n const query = new Query(this);\n return query.params(params).get();\n }\n}"],"names":["ForgotPassword","_React$Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","_defineProperty","_assertThisInitialized","call","apply","concat","sending","user","email","errorMessages","field","value","state","newUser","update","$set","setState","e","onSetView","props","_this$state","preventDefault","data","$","ajax","url","type","success","Window","setTimeout","error","_ref","responseJSON","errors","key","_this2","this","_this$state2","React","className","src","gon","HUBSPOT_ASSETS_URL","Separator","onSubmit","handleSubmit","Input","id","label","placeholder","errorMessage","onChange","_","handleInputChange","defaultValue","Button","text","onClick","disabled","block","size","PropTypes","isResizable","ResendConfirmation","ResendConfirmationModel","then","catch","console","log","SignIn","_this$props","opportunity","onSignIn","contentType","JSON","stringify","opportunity_id","response","myWindow","is_jobspikr","winId","Date","getTime","window","open","location","message","_this$props2","_this$props3","GoogleButton","onAuth","handleGoogleAuth","opportunityId","allowPasswordToggle","Checkbox","checked","SignUp","profile_attributes","onSignUp","profile","isEmptyObject","password","user_type","User","allow_marketing","first_name","last_name","gtag","close","onValidate","handleValidate","onError","handleError","userType","Row","nested","Col","s","AvatarUpload","remote_avatar_url","handleProfileInputChange","m","required","classNames","PasswordStrengthChecklist","target","href","SignInUp","v","isOpen","onClose","Modal","onCancel","showX","X","handleSetView","get","_classNames","noPadding","offsetSmall","offsetMedium","offsetLarge","pullSmall","pullMedium","pullLarge","pushSmall","pushMedium","pushLarge","l","children","noMargin","vCenter","hCenter","_React$PureComponent","isSmall","center","_Model","params","Query","Model"],"sourceRoot":""}