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,CAC5E,EACF,CAEA,IAAMoX,EAAYN,EAAgBC,EAAW/W,GAAY,EAAI,EACvDqX,EAAYP,EAAgBE,EAAWhX,GAAY,EAAI,EAC7D,MACEI,CAAAA,EAAAA,EAAAA,EAAAA,EAAmB2W,EAAW,CAAE1W,sBAAuB+W,CAAU,GACjE,MACAhX,CAAAA,EAAAA,EAAAA,EAAAA,EAAmB4W,EAAW,CAAE3W,sBAAuBgX,CAAU,EAErE,EAEaC,EAA0B,IACrC,GAAM,CAAEtX,SAAAA,CAAQ,CAAEuX,WAAAA,CAAU,CAAE,CAAGjY,GAAgB,CAAC,EAC5CkY,EAAmB3X,EAAmBP,UAE5C,EAEO0J,IAAQ,CAACwO,EAAkBxX,EAAUuX,GAAc,eAAe,EAAElM,IAAI,CAAC,KAFlD,IAGhC,EAEaoM,EAAyB,GACpC,GAAuCnY,MAAAA,CAApCO,EAAmBP,GAAc,KAClCA,MAAAA,CADqCA,EAAaU,QAAQ,EAE3DjS,MAAA,CADCuR,EAAaiY,UAAU,CAAG,gBAAkB,sBC3DhDG,EAAAC,OAAA,EAAkB,0FCAlBD,EAAAC,OAAA,EAAkB,0KCAlBD,EAAAC,OAAA,EAAkB,sRCAlBD,EAAAC,OAAA,EAAkB,sOCAlBD,EAAAC,OAAA,EAAkB,+HCAlBD,EAAAC,OAAA,EAAkB,8CCAlBD,EAAAC,OAAA,EAAkB,gFCAlBD,EAAAC,OAAA,EAAkB,wdCAlBD,EAAAC,OAAA,EAAkB,oOCAlBD,EAAAC,OAAA,EAAkB,oFCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./components/Banner/Banner.tsx","webpack://_N_E/./components/Banner/index.tsx","webpack://_N_E/./components/Dialog/Dialog.tsx","webpack://_N_E/./components/Dialog/index.tsx","webpack://_N_E/./components/ShareButton/ShareButton.tsx","webpack://_N_E/./components/ShareButton/index.tsx","webpack://_N_E/./components/Tag/Tag.tsx","webpack://_N_E/./components/Tag/index.tsx","webpack://_N_E/./components/TrackedCallback/TrackedCallback.tsx","webpack://_N_E/./components/TrackedCallback/index.tsx","webpack://_N_E/./components/forms/react-hook-form/checkboxInput.js","webpack://_N_E/./components/forms/react-hook-form/fieldGroup.js","webpack://_N_E/./components/forms/react-hook-form/textInput.js","webpack://_N_E/./components/messages/CreateConversationButton.js","webpack://_N_E/./features/AuthModal/AuthModal.tsx","webpack://_N_E/./features/AuthModal/index.tsx","webpack://_N_E/./features/FeatureUpgradeDialog/FeatureUpgradeDialog.tsx","webpack://_N_E/./features/FeatureUpgradeDialog/index.tsx","webpack://_N_E/./features/JobDetails/JobAbout/JobAbout.tsx","webpack://_N_E/./features/JobDetails/JobAbout/index.tsx","webpack://_N_E/./components/buttons/externalJobLink.js","webpack://_N_E/./components/modals/unapproved_profile.js","webpack://_N_E/./components/jobs/apply/modal.js","webpack://_N_E/./features/VideoAskOnApplyModal/VideoAskOnApplyModal.tsx","webpack://_N_E/./features/VideoAskOnApplyModal/index.tsx","webpack://_N_E/./components/jobs/apply/button.js","webpack://_N_E/./features/JobDetails/JobActions/JobActions.tsx","webpack://_N_E/./features/JobDetails/JobActions/index.tsx","webpack://_N_E/./features/JobDetails/JobHeader/BonusBox/BonusBox.tsx","webpack://_N_E/./features/JobDetails/JobHeader/BonusBox/index.tsx","webpack://_N_E/./features/JobDetails/JobHeader/JobHeader.tsx","webpack://_N_E/./features/JobDetails/JobHeader/index.tsx","webpack://_N_E/./features/JobMap/JobMap.tsx","webpack://_N_E/./features/JobMap/index.tsx","webpack://_N_E/./features/JobDetails/JobLocations/JobLocations.tsx","webpack://_N_E/./features/JobDetails/JobLocations/index.tsx","webpack://_N_E/./features/JobDetails/JobQualifications/QualificationItem/QualificationItem.tsx","webpack://_N_E/./features/JobDetails/JobQualifications/QualificationItem/index.tsx","webpack://_N_E/./graphics/PhilosophyGraphic.tsx","webpack://_N_E/./features/JobDetails/JobQualifications/JobQualifications.utils.ts","webpack://_N_E/./features/JobDetails/JobQualifications/JobQualifications.tsx","webpack://_N_E/./features/JobDetails/JobQualifications/index.tsx","webpack://_N_E/./features/JobDetails/JobSummary/JobSummary.utils.ts","webpack://_N_E/./features/JobDetails/JobSummary/JobSummary.tsx","webpack://_N_E/./features/JobDetails/JobSummary/index.tsx","webpack://_N_E/./features/JobDetails/SectionTitle/SectionTitle.tsx","webpack://_N_E/./features/JobDetails/SectionTitle/index.tsx","webpack://_N_E/./features/JobLabel/JobLabel.constants.tsx","webpack://_N_E/./features/JobLabel/JobLabel.tsx","webpack://_N_E/./features/JobLabel/index.tsx","webpack://_N_E/./components/RecommendedPin/SmallStarIcon.tsx","webpack://_N_E/./components/RecommendedPin/RecommendedPin.tsx","webpack://_N_E/./components/RecommendedPin/index.tsx","webpack://_N_E/./components/LocationPin/LocationPin.tsx","webpack://_N_E/./components/LocationPin/index.tsx","webpack://_N_E/./features/JobMap/MapMarker/MapMarker.tsx","webpack://_N_E/./features/JobMap/MapMarker/index.tsx","webpack://_N_E/./features/JobMap/map.constants.ts","webpack://_N_E/./features/LocationDialog/SmallJobCard/SmallJobCard.tsx","webpack://_N_E/./features/LocationDialog/SmallJobCard/index.tsx","webpack://_N_E/./features/LocationDialog/LocationDialog.tsx","webpack://_N_E/./features/LocationDialog/index.tsx","webpack://_N_E/./features/MessagingApplicantsMessageLimitExceededDialog/MessagingApplicantsMessageLimitExceededDialog.tsx","webpack://_N_E/./features/MessagingApplicantsMessageLimitExceededDialog/index.tsx","webpack://_N_E/./features/MessagingApplicantsRequiresSubscriptionModal/MessagingApplicantsRequiresSubscriptionModal.tsx","webpack://_N_E/./features/MessagingApplicantsRequiresSubscriptionModal/index.tsx","webpack://_N_E/./features/MessagingApplicantsRequiresUpgradeDialog/MessagingApplicantsRequiresUpgradeDialog.tsx","webpack://_N_E/./features/MessagingApplicantsRequiresUpgradeDialog/index.tsx","webpack://_N_E/./features/PausedSubscriptionModal/PausedSubscriptionModal.tsx","webpack://_N_E/./features/PausedSubscriptionModal/index.tsx","webpack://_N_E/./features/SubscriptionRequiredModal/SubscriptionRequiredModal.tsx","webpack://_N_E/./features/SubscriptionRequiredModal/index.tsx","webpack://_N_E/./hooks/redux/useSubscription.tsx","webpack://_N_E/./hooks/redux/useUser.tsx","webpack://_N_E/./hooks/useCopyToClipboard.tsx","webpack://_N_E/./redux/job_search/actions.js","webpack://_N_E/./util/abilities.tsx","webpack://_N_E/./util/api/job_listings.js","webpack://_N_E/./util/formatting/string.ts","webpack://_N_E/./util/job/compensation.ts","webpack://_N_E/./components/Dialog/Dialog.module.css","webpack://_N_E/./components/LocationPin/LocationPin.module.css","webpack://_N_E/./components/RecommendedPin/RecommendedPin.module.css","webpack://_N_E/./components/Tag/Tag.module.css","webpack://_N_E/./features/FeatureUpgradeDialog/FeatureUpgradeDialog.module.css","webpack://_N_E/./features/JobMap/JobMap.module.css","webpack://_N_E/./features/JobMap/MapMarker/MapMarker.module.css","webpack://_N_E/./features/LocationDialog/LocationDialog.module.css","webpack://_N_E/./features/LocationDialog/SmallJobCard/SmallJobCard.module.css","webpack://_N_E/./features/MessagingApplicantsRequiresSubscriptionModal/MessagingApplicantsRequiresSubscriptionModal.module.css","webpack://_N_E/./features/PausedSubscriptionModal/PausedSubscriptionModal.module.css"],"sourcesContent":["import clsx from 'clsx';\nimport type { BannerProps } from './Banner.types';\nimport type { PropsWithChildren } from 'react';\n\n/**\n * The Banner component is used to display important information to the user.\n * It can be used in a variety of contexts, but it should not be used more than\n * once per page to avoid overwhelming the user.\n */\nexport const Banner = (props: PropsWithChildren) => {\n const { children, variant = 'solid', intent = 'info', noBorder = false } = props;\n\n return (\n \n {children}\n \n );\n};\n\nBanner.displayName = 'Banner';\n","export { Banner } from './Banner';\nexport type { BannerProps } from './Banner.types';\n","import classes from './Dialog.module.css';\nimport type { DialogProps } from './Dialog.types';\nimport { Modal } from 'components/Modal';\nimport { PropsWithChildren } from 'react';\nimport clsx from 'clsx';\n\n/**\n * The Dialog component is an objective interaction component meant to be used\n * as confirmation or to display important feedback to the user.\n * It should always contain at least one primary action button, but it can contain\n * up to three action buttons.\n *\n * If you want a more generic interaction component, it's recommended the use of\n * the Modal component instead.\n */\nexport const Dialog = (props: PropsWithChildren) => {\n const { children, panelWrapperProps, panelProps, ...rootProps } = props;\n\n const { className: panelWrapperClassName, ...restPanelWrapperProps } = panelWrapperProps || {};\n const { className: panelClassName, ...restPanelProps } = panelProps || {};\n\n return (\n \n {children}\n \n );\n};\n\nDialog.displayName = 'Dialog';\n","export { Dialog } from './Dialog';\nexport type { DialogProps } from './Dialog.types';\n","import { IconButton } from 'components/IconButton';\nimport type { ShareButtonProps } from './ShareButton.types';\nimport { ShareIcon } from 'icons/outline';\nimport { MouseEvent } from 'react';\nimport { useCopyToClipboard } from 'hooks/useCopyToClipboard';\n\n/**\n * The ShareButton component is a button that copies the provided url to the clipboard.\n * If a url is not provided, the current window location is used.\n */\nexport const ShareButton = (props: ShareButtonProps) => {\n const {\n url = window?.location?.href,\n children = 'Share',\n onSuccess,\n onError,\n onClick,\n ...rootProps\n } = props;\n\n const { copyToClipboard } = useCopyToClipboard({\n onSuccess,\n onError,\n });\n\n const handleClick = async (event: MouseEvent) => {\n onClick?.(event);\n await copyToClipboard(url, event);\n };\n\n return (\n \n {children}\n \n );\n};\n\nShareButton.displayName = 'ShareButton';\n","export { ShareButton } from './ShareButton';\nexport type { ShareButtonProps } from './ShareButton.types';\n","import clsx from 'clsx';\nimport classes from './Tag.module.css';\nimport type { TagProps } from './Tag.types';\n\n/**\n * The tag component is used to display a label or keyword. It can be used to\n * display information about an item, such as a list of requirements, or to display\n * a keyword referring to the item, such as \"required\" or \"preferred\".\n */\nexport const Tag = (props: TagProps) => {\n const { size = 'large', variant = 'neutral', children, className, title, ...rootProps } = props;\n return (\n \n {children}\n \n );\n};\n\nTag.displayName = 'Tag';\n","export { Tag } from './Tag';\nexport type { TagProps } from './Tag.types';\n","import type { TrackedCallbackProps } from './TrackedCallback.types';\nimport { PropsWithChildren } from 'react';\nimport intersection from 'lodash/intersection';\nimport difference from 'lodash/difference';\nimport pick from 'lodash/pick';\nimport reduce from 'lodash/reduce';\nimport { Callback, useTrackedEvents, UseTrackedEventsProps } from 'hooks/useTrackedEvents';\n\nexport const TrackedCallback = (props: PropsWithChildren>) => {\n const { Component, callbacks, children, ...componentProps } = props;\n\n const callbackKeys = Object.keys(callbacks);\n\n const componentPropsKeys = Object.keys(componentProps);\n\n const validOverrideKeys = intersection(callbackKeys, componentPropsKeys);\n const propsWithoutOverrideKeys = difference(componentPropsKeys, validOverrideKeys);\n\n const propsWithoutOverride = pick(componentProps, propsWithoutOverrideKeys);\n\n const childrenProps = useTrackedEvents(\n reduce(\n validOverrideKeys,\n (acc, propName) => ({\n ...acc,\n [propName]: {\n handler: componentProps[propName] as Callback['handler'],\n event: callbacks[propName],\n },\n }),\n {} as UseTrackedEventsProps,\n ),\n );\n\n if (!callbackKeys.length) {\n return {children};\n }\n\n return (\n \n {children}\n \n );\n};\n\nTrackedCallback.displayName = 'TrackedCallback';\n","export { TrackedCallback } from './TrackedCallback';\nexport type { TrackedCallbackProps } from './TrackedCallback.types';\n","import { useState } from 'react';\nimport FieldGroup from './fieldGroup';\nimport { TextInput } from './textInput';\nimport clsx from 'clsx';\n\nconst RenderOther = ({ name, register, errors, type, options, watch, setValue }) => {\n const otherId = `other_${name}`;\n const currentValues = watch(name) || [];\n\n const otherVal = (() => {\n if (currentValues.length) {\n if (typeof currentValues === 'object') {\n return currentValues[currentValues.length - 1] !== 'other' &&\n !options.find(\n (opt) =>\n opt.label === currentValues[currentValues.length - 1] ||\n opt.value === currentValues[currentValues.length - 1],\n )\n ? currentValues[currentValues.length - 1]\n : '';\n }\n\n if (\n options.map((op) => op.label).includes(currentValues) ||\n options.map((op) => op.value).includes(currentValues)\n ) {\n return '';\n }\n\n return currentValues;\n }\n\n return '';\n })();\n\n const [isChecked, setIsChecked] = useState(Boolean(otherVal));\n\n return (\n
\n
\n {\n if (type === 'radio') {\n setIsChecked(otherId === e.currentTarget.id && e.currentTarget.checked);\n return;\n }\n\n if (otherId === e.currentTarget.id) {\n setIsChecked(e.currentTarget.checked);\n }\n },\n })}\n />\n
\n
\n \n
\n {isChecked && (\n
\n \n setValue(\n type === 'radio' ? name : `${name}.${currentValues.length - 1}`,\n e.target.value,\n )\n }\n shouldUnregister={true}\n validate={{\n symbols: (value) =>\n (value && !value.match(/[@$%^*?\"{}|<>]/g)) ||\n 'This field cannot contain some special characters',\n }}\n />\n
\n )}\n
\n );\n};\n\nexport function CheckboxInput({\n name,\n id,\n label,\n required,\n options,\n register,\n errors,\n other,\n watch,\n type,\n withFieldGroup = true,\n setValue,\n disabled,\n noValue,\n onChange,\n banner,\n}) {\n const requiredButNotFilled = required && errors[name]?.type === 'required';\n let helpText = type === 'radio' ? '' : 'Select as many as needed';\n\n return (\n \n
\n {options.map((option) => {\n const optionId = `${id}-${option.label}`;\n return (\n \n
\n \n
\n
\n \n {option.description && (\n

{option.description}

\n )}\n
\n \n );\n })}\n {other && (\n \n )}\n {requiredButNotFilled && (\n Please select at least one\n )}\n {errors[name] &&
{errors[name].message}
}\n
\n
\n );\n}\n","export default function FieldGroup({\n label,\n children,\n required,\n withFieldGroup = true,\n helpText,\n banner,\n}) {\n if (!withFieldGroup) {\n return children;\n }\n return (\n
\n
\n \n {label} {required ? \"*\" : \"\"}\n \n {banner ? (\n banner\n ) : (\n \n )}\n
\n
{children}
\n
\n );\n}\n","import _ from 'lodash';\nimport FieldGroup from './fieldGroup';\n\nexport function TextInput({\n placeholder,\n name,\n label,\n required,\n maxLength,\n register,\n errors,\n type,\n withFieldGroup = true,\n className,\n min,\n defaultValue,\n onChange = () => {},\n onBlur = undefined,\n shouldUnregister,\n helpText,\n setValueAs = undefined,\n validate = undefined,\n}) {\n const error = _.get(errors, name);\n const requiredButNotFilled = required && error?.type === 'required';\n\n const errorStyle = error ? 'border-red-500' : '';\n return (\n \n \n {requiredButNotFilled && Required}\n {error && error.type !== 'required' &&
{error.message}
}\n
\n );\n}\n","import PostHog from 'components/analytics/PostHog';\nimport { Button } from 'components/Button';\nimport { can } from 'components/casl/EmployerAbility';\nimport { MessagingApplicantsMessageLimitExceededDialog } from 'features/MessagingApplicantsMessageLimitExceededDialog';\nimport { MessagingApplicantsRequiresSubscriptionModal } from 'features/MessagingApplicantsRequiresSubscriptionModal';\nimport { MessagingApplicantsRequiresUpgradeDialog } from 'features/MessagingApplicantsRequiresUpgradeDialog';\nimport { withRouter } from 'next/router';\nimport { useState } from 'react';\nimport { connect, useSelector } from 'react-redux';\nimport { createConversation } from 'util/api/messages';\n\nfunction CreateConversationButton({\n className,\n label = <>Send Message,\n employer,\n user,\n router,\n currentEmployer,\n applicantView = false,\n posthog = {},\n newTab,\n disabled,\n variant = 'solid',\n size = 'md',\n isApplicant = false,\n fullWidth = false,\n}) {\n const [showSubscribeModal, setShowSubscribeModal] = useState(false);\n const [showUpgradePlanModal, setShowUpgradePlanModal] = useState(false);\n const [showLimitModal, setShowLimitModal] = useState(false);\n\n const authenticated = useSelector((state) => state.account.authenticated);\n\n if (!authenticated) return null;\n\n const onClick =\n !disabled &&\n (async () => {\n let win_obj;\n if (employer) {\n const { data, errors } = await createConversation({ id: employer.id, type: 'Employer' });\n if (errors) {\n setShowLimitModal(true);\n return;\n }\n if (newTab) {\n return setTimeout(() => {\n window.open(`messages?conversation=${data.id}`, '_blank');\n });\n }\n return router.push({ pathname: '/messages', query: { conversation: data.id } });\n } else {\n if (Object.keys(currentEmployer).length && currentEmployer?.hasActivePlan()) {\n const employerCanSendMessage = can('message', 'candidate') || isApplicant;\n\n if (employerCanSendMessage || applicantView) {\n const { data, errors } = await createConversation({ id: user.id, type: 'UserProfile' });\n if (errors) {\n setShowLimitModal(true);\n return;\n }\n if (newTab) {\n return setTimeout(() => {\n window.open(`/employer/messages?conversation=${data.id}`, '_blank');\n });\n }\n return router.push({\n pathname: '/employer/messages',\n query: { conversation: data.id },\n });\n } else {\n setShowUpgradePlanModal(true);\n }\n } else {\n setShowSubscribeModal(true);\n }\n }\n });\n\n return (\n <>\n setShowSubscribeModal(false)}\n />\n\n setShowUpgradePlanModal(false)}\n />\n\n setShowLimitModal(false)}\n />\n\n {posthog.eventName ? (\n \n \n \n ) : (\n \n )}\n \n );\n}\n\nfunction mapStateToProps(state) {\n return {\n currentEmployer: state.employer.employer,\n };\n}\n\nexport default connect(mapStateToProps)(withRouter(CreateConversationButton));\n","import type { AuthModalProps } from 'features/AuthModal/AuthModal.types';\nimport { ModalBody } from 'components/Modal/ModalBody';\nimport { Button } from 'components/Button';\nimport React, { useMemo } from 'react';\nimport { useForm } from 'react-hook-form';\nimport { useDispatch } from 'react-redux';\nimport { login } from 'redux/account/actions';\nimport { HelperText } from 'components/HelperText';\nimport { Banner } from 'components/Banner';\nimport Link from 'next/link';\nimport { AppRoutes } from 'util/urlFactory';\nimport { Modal } from 'components/Modal';\n\ninterface LoginForm {\n email: string;\n password: string;\n}\n\nexport const AuthModal = (props: AuthModalProps) => {\n const { context, heading, onClose, onSuccess, onCancel, ...dialogProps } = props;\n const dispatch = useDispatch();\n\n const {\n register,\n handleSubmit,\n formState: { errors, isSubmitting, isValidating },\n } = useForm({\n defaultValues: {\n email: '',\n password: '',\n },\n });\n\n const isLoading = useMemo(() => isSubmitting || isValidating, [isSubmitting, isValidating]);\n\n const onSubmit = async ({ email, password }: LoginForm) => {\n await dispatch(login({ email, password }));\n onClose?.();\n onSuccess?.();\n };\n\n const handleCancel = () => {\n onClose?.();\n onCancel?.();\n };\n\n return (\n \n
\n {heading && (\n

\n {heading}\n

\n )}\n\n \n {context && (\n
\n \n
{context}
\n
\n
\n )}\n
\n
\n \n \n {errors.email?.message}\n
\n
\n \n \n {errors.password?.message}\n
\n
\n\n
\n \n \n
\n\n
\n

\n Don’t have an account?{' '}\n \n Join EarlyDay\n \n

\n

\n Forgot your password?{' '}\n \n Reset password\n \n

\n
\n
\n
\n \n );\n};\n\nAuthModal.displayName = 'AuthModal';\n","export { AuthModal } from 'features/AuthModal/AuthModal';\nexport type { AuthModalProps } from 'features/AuthModal/AuthModal.types';\n","import type { FeatureUpgradeDialogProps } from 'features/FeatureUpgradeDialog/FeatureUpgradeDialog.types';\nimport { Dialog } from 'components/Dialog';\nimport { AbilityToForbiddenActionMap } from 'util/abilities';\nimport classes from './FeatureUpgradeDialog.module.css';\nimport { ModalIconColor } from 'components/Modal/Modal.types';\nimport { ExclamationTriangleIcon } from '@heroicons/react/24/outline';\nimport { PropsWithChildren } from 'react';\nimport { ModalBody } from 'components/Modal/ModalBody';\n\n/**\n * The FeatureUpgradeDialog component is a generic interaction component that can be used\n * to display quick information about a feature that is not available in the user's plan.\n *\n * The ability prop is used to determine the feature that is not available.\n *\n * @param props\n * @constructor\n */\nexport const FeatureUpgradeDialog = (props: PropsWithChildren) => {\n const { ability, message, onClose, children, ...dialogProps } = props;\n\n const { title, message: defaultMessage } = AbilityToForbiddenActionMap.get(ability);\n\n return (\n \n \n

{defaultMessage}

\n {message &&
{message}
}\n
\n\n {children}\n \n );\n};\n\nFeatureUpgradeDialog.displayName = 'PremiumFeatureModal';\n","export { FeatureUpgradeDialog } from 'features/FeatureUpgradeDialog/FeatureUpgradeDialog';\nexport type { FeatureUpgradeDialogProps } from 'features/FeatureUpgradeDialog/FeatureUpgradeDialog.types';\n","import type { JobAboutProps } from './JobAbout.types';\nimport { SectionTitle } from 'features/JobDetails/SectionTitle';\nimport { sanitizeTags } from 'util/formatting/string';\n\nexport const JobAbout = (props: JobAboutProps) => {\n const {\n job: { description },\n } = props;\n return (\n
\n About\n\n
\n \n
\n
\n );\n};\n\nJobAbout.displayName = 'JobAbout';\n","export { JobAbout } from 'features/JobDetails/JobAbout/JobAbout';\nexport type { JobAboutProps } from 'features/JobDetails/JobAbout/JobAbout.types';\n","import { Button } from 'components/Button';\nimport { ArrowTopRightOnSquareIcon } from '@heroicons/react/24/solid';\n\nexport default function ExternalJobLinkButton({\n job,\n className,\n label = 'Apply on website',\n disabled,\n size = 'md',\n}) {\n return (\n window.open(job.externalUrl, '_blank')}\n disabled={disabled}\n className={className}\n size={size}\n >\n {label}\n \n \n );\n}\n","/* This example requires Tailwind CSS v2.0+ */\nimport React, { useEffect } from 'react';\nimport { postHogCapture } from '../analytics/PostHog';\nimport { ExclamationTriangleIcon } from '@heroicons/react/24/outline';\nimport { ModalIconColor } from 'components/Modal/Modal.types';\nimport { Dialog } from 'components/Dialog';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { Button } from 'components/Button';\n\nconst eventCapture = postHogCapture();\n\nconst message = {\n ['rejected']: {\n title: 'Your profile has not been selected at this time',\n body: (\n

\n Please contact \n {\n e.preventDefault();\n window.location = `mailto:hello@earlyday.com`;\n }}\n >\n hello@earlyday.com\n \n  if this is unexpected.\n

\n ),\n },\n ['withdrawn']: {\n title: 'Your profile has been withdrawn',\n body: (\n

\n Please contact \n {\n e.preventDefault();\n window.location = `mailto:hello@earlyday.com`;\n }}\n >\n hello@earlyday.com\n \n  if this is unexpected.\n

\n ),\n },\n ['incomplete']: {\n title: 'Please, complete your profile to apply',\n body: (\n

\n You need to add the missing information on your profile before applying to jobs. We will\n review it when it’s done, and you’ll be able to apply in no time!\n

\n ),\n },\n ['pending_user']: {\n title: 'Please, complete your profile to apply',\n body: (\n

\n You need to add the missing information on your profile before applying to jobs. We will\n review it when it’s done, and you’ll be able to apply in no time!\n

\n ),\n },\n};\n\nexport default function UnapprovedProfileModal({ approvalState, isTeacherAdmin, open, setOpen }) {\n useEffect(() => {\n if (open) {\n eventCapture('Incomplete Teacher Modal Rendered (Job Apply)');\n }\n }, [open]);\n\n const { title, body } = message[approvalState];\n\n return (\n setOpen(false)}\n heading={title}\n message={body}\n IconElement={ExclamationTriangleIcon}\n iconColor={ModalIconColor.WARNING}\n >\n \n \n \n \n );\n}\n","import { apply } from 'util/api/job_listings';\nimport { fetchOne } from 'redux/job_search/actions';\nimport { CheckIcon } from '@heroicons/react/24/outline';\nimport PostHog from 'components/analytics/PostHog';\nimport ExternalJobLinkButton from 'components/buttons/externalJobLink';\nimport { CheckboxInput } from 'components/forms/react-hook-form/checkboxInput';\nimport { TextInput } from 'components/forms/react-hook-form/textInput';\nimport _ from 'lodash';\nimport { useEffect, useState } from 'react';\nimport { useForm } from 'react-hook-form';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { Button } from 'components/Button';\nimport { Modal } from 'components/Modal';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { ModalBody } from 'components/Modal/ModalBody';\nimport { useUser } from 'hooks/redux/useUser';\nimport { useAhoy } from '../../../hooks/useAhoy';\nimport { ClappingHandsGraphic } from 'graphics';\nimport { fetchHasApplications } from 'redux/current_user_profile/actions';\n\nconst labels = {\n single: {\n lastOptionLabel: \"I don't have this\",\n questionLabel: 'Confirm that you have the below required educational qualification.',\n },\n multiple: {\n lastOptionLabel: 'None of the above',\n questionLabel: 'Confirm that you have one of the below required educational qualifications',\n },\n};\n\nexport default function JobApplyModal({ job, showModal = false, setShowModal, onApply = _.noop }) {\n const locations = job.locations().toArray();\n const dispatch = useDispatch();\n const educationalQualificationsById = useSelector(\n (state) => state.educationalQualifications.byId,\n );\n const { jobRecommendations } = useUser();\n const [loading, setLoading] = useState(false);\n\n const screeningQuestions = job.screeningQuestions?.map((question, index) => {\n return { ...question, id: index };\n });\n\n const requiredEducation = job.educationalQualifications\n .filter((edu) => edu.required)\n .map((edu) => ({\n ...edu,\n qualificationName: educationalQualificationsById[edu.educationalQualificationId],\n }))\n .map((edu) => ({\n ...edu,\n value: edu.qualificationName,\n label: edu.qualificationName?.concat(\n edu.inProgressAllowed ? ' (completed or in progress)' : '',\n ),\n }));\n const label = requiredEducation.length > 1 ? labels.multiple : labels.single;\n const {\n register,\n handleSubmit,\n formState: { errors },\n reset,\n watch,\n setValue,\n } = useForm({\n defaultValues: {\n doesNotMeetReqs: false,\n // educationDeclaration: null,\n screeningQuestions: [],\n selectedLocations: [],\n },\n });\n\n const doesNotMeetWatched = watch('doesNotMeetReqs');\n const educationDecWatched = watch('educationDeclaration');\n const selectedLocationsWached = watch('selectedLocations');\n\n const { trackEvent: trackAhoyEvent } = useAhoy();\n\n useEffect(() => {\n if (showModal) {\n setTimeout(() => reset());\n }\n }, [showModal]);\n\n useEffect(() => {\n if (showModal) {\n trackAhoyEvent('View Job Listing Apply Modal', { job_listing_id: job.id });\n }\n }, [showModal]);\n\n const requiredEducationContent = () => (\n <>\n \n
\n setValue('educationDeclaration', null)}\n />\n
\n \n );\n\n const locationContent = () => (\n ({\n label: location.name,\n description: location.address,\n value: location.id,\n }))}\n />\n );\n\n const applyForJob = async (data) => {\n setLoading(true);\n\n if (_.isString(data.educationDeclaration)) {\n data.educationDeclaration = [data.educationDeclaration];\n }\n if (data.doesNotMeetReqs) {\n data.educationDeclaration = ['None'];\n }\n\n // Job has only one location, so the checkboxes are not shown, so we have to put the\n // first location's id as a default value, or they will show up as \"No location selected\"\n // on the employer side\n if (locations.length === 1 && data.selectedLocations.length === 0) {\n if (locations[0].id) {\n data.selectedLocations = [locations[0].id];\n }\n }\n\n data.screeningQuestions = data.screeningQuestions.map((question) => {\n const id = Number(Object.keys(question)[0]);\n const key = screeningQuestions.find((q) => q.id === id);\n return {\n label: key.question,\n value: question[parseInt(id)],\n };\n });\n\n await apply(\n job.id,\n data.screeningQuestions,\n data.educationDeclaration,\n !data.doesNotMeetReqs,\n data.selectedLocations,\n );\n await dispatch(fetchHasApplications());\n await dispatch(fetchOne(job.slug, true));\n onApply();\n\n setLoading(false);\n setShowModal(false);\n\n trackAhoyEvent({ name: 'Applied for Job', job_listing_id: job.id });\n };\n\n const disabled =\n (requiredEducation.length && !educationDecWatched?.length && !doesNotMeetWatched) ||\n (locations.length > 1 && !selectedLocationsWached?.length);\n\n return (\n setShowModal(false)}\n panelProps={{\n className: '!pt-8',\n }}\n >\n \n \n
\n \n

Submit your application for:

\n

{job.title}

\n
\n
\n {screeningQuestions?.length\n ? screeningQuestions?.map(\n (question, index) =>\n !!question.question && (\n
\n \n {question.question}\n \n
\n \n
\n
\n ),\n )\n : null}\n
\n
\n {Boolean(requiredEducation.length) && (\n
\n
{label.questionLabel}
\n
{requiredEducationContent()}
\n
\n )}\n {locations && locations.length > 1 && (\n
\n \n
{locationContent()}
\n
\n )}\n
\n
\n\n \n {job.externalUrl ? (\n \n \n \n ) : (\n <>\n \n \n \n \n \n \n \n )}\n \n \n \n );\n}\n","import Image from 'next/image';\nimport type { VideoAskOnApplyModalProps } from './VideoAskOnApplyModal.types';\nimport { Dialog } from 'components/Dialog';\nimport { ModalBody } from 'components/Modal/ModalBody';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { AddVideoIcon } from 'icons/outline';\nimport { Button } from 'components/Button';\nimport { externalVideoAskUrl } from 'util/urlFactory';\nimport { TrackedCallback } from 'components/TrackedCallback';\nimport { AnalyticsEvents } from 'util/analyticsEvents';\n\nexport const VideoAskOnApplyModal = (props: VideoAskOnApplyModalProps) => {\n const { open, onClose, fullName, email } = props;\n return (\n \n Want to increase your chances of getting hired?\n \n }\n panelProps={{\n className: '!pt-8',\n }}\n >\n \n
\n
\n

Make your application impossible to ignore!

\n

Submit video answers to our interview questions.

\n
\n
\n \n
\n
\n

You will need:

\n
    \n
  • 5 minutes
  • \n
  • Selfie with camera on your phone or computer
  • \n
  • Quiet location
  • \n
  • Strong internet, ideally wifi connection
  • \n
  • \n Wear a professional, casual shirt (something you’d wear while teaching preschoolers)\n
  • \n
\n
\n
\n

\n We will share these video answers to all employers that you apply to, so be sure to make a\n great first impression!\n

\n
\n\n \n \n \n Record video interview\n \n \n \n );\n};\n\nVideoAskOnApplyModal.displayName = 'VideoAskOnApplyModal';\n","export { VideoAskOnApplyModal } from './VideoAskOnApplyModal';\nexport type { VideoAskOnApplyModalProps } from './VideoAskOnApplyModal.types';\n","import clsx from 'clsx';\nimport isNil from 'lodash/isNil';\nimport { useSelector } from 'react-redux';\nimport { Button } from 'components/Button';\nimport PostHog from 'components/analytics/PostHog';\nimport ExternalJobLinkButton from 'components/buttons/externalJobLink';\nimport UnapprovedProfileModal from 'components/modals/unapproved_profile';\nimport { AuthModal } from 'features/AuthModal';\nimport { useUser } from 'hooks/redux/useUser';\nimport { useRouter } from 'next/router';\nimport { useState } from 'react';\nimport JobApplyModal from './modal';\nimport { VideoAskOnApplyModal } from 'features/VideoAskOnApplyModal';\n\nconst PostHogWrapper = ({ children, job, currentUserProfile, postHogLocation, jobLabel }) => {\n return (\n \n {children}\n \n );\n};\n\nconst deniedApplicationStates = ['rejected', 'withdrawn', 'incomplete', 'pending_user'];\n\nexport default function JobApplyButton({\n job,\n alreadyApplied,\n className,\n buttonClass,\n showUnapprovedModal,\n setShowUnapprovedModal,\n size = 'lg',\n fullWidth = false,\n postHogLocation = '',\n}) {\n const [showModal, setShowModal] = useState(false);\n const [showVideoAskModal, setShowVideoAskModal] = useState(false);\n const [showAuthDialog, setShowAuthDialog] = useState(false);\n const { currentUserProfile, jobRecommendations } = useUser();\n const { activeState, approvalState } = currentUserProfile || {};\n const router = useRouter();\n\n const hasApplications = useSelector((state) => state.currentUserProfile.hasApplications);\n\n const toggleModal = () => {\n setShowModal(!showModal);\n };\n\n const isNewUser = () => {\n const { newUser } = router?.query || {};\n return newUser === 'true';\n };\n\n const redirectToLogin = () => {\n window.location = `${isNewUser() ? '/register/teacher' : '/login'}?return_to=${\n window.location.pathname + window.location.search\n }`;\n };\n\n if (job.listingStatus === 'closed') {\n return (\n \n Job Closed\n \n );\n }\n\n if (!currentUserProfile) {\n return (\n <>\n {!isNewUser() && (\n setShowAuthDialog(false)}\n onSuccess={() => {\n setShowModal(true);\n window.location.reload();\n }}\n heading={`Log in or join EarlyDay to apply for the ${job.title} role at ${\n job.employer().name\n }`}\n />\n )}\n\n {\n if (isNewUser()) {\n redirectToLogin();\n } else {\n setShowAuthDialog(true);\n }\n }}\n className={clsx(buttonClass, className)}\n >\n Apply\n \n \n );\n }\n if (alreadyApplied) {\n return (\n <>\n setShowVideoAskModal(false)}\n fullName={currentUserProfile.fullName()}\n email={currentUserProfile.email}\n />\n \n Already Applied\n \n {job.externalUrl && (\n \n \n \n )}\n \n );\n }\n\n if (\n Object.values(currentUserProfile).length &&\n activeState === 'active' &&\n deniedApplicationStates.includes(approvalState)\n ) {\n return (\n <>\n \n \n setShowUnapprovedModal(!showUnapprovedModal)}\n data-testid=\"apply-button\"\n className={clsx(buttonClass, className)}\n >\n Apply\n \n \n \n );\n }\n\n const onApply = () => {\n if (!isNil(hasApplications) && !hasApplications) {\n setTimeout(() => setShowVideoAskModal(true), 2000);\n }\n };\n\n return (\n <>\n \n\n \n \n Apply\n \n \n \n );\n}\n","import type { JobActionsProps } from 'features/JobDetails/JobActions/JobActions.types';\nimport JobApplyButton from 'components/jobs/apply/button';\nimport clsx from 'clsx';\nimport CreateConversationButton from 'components/messages/CreateConversationButton';\nimport { ShareButton } from 'components/ShareButton';\nimport { fullUrl, jobUrl } from 'util/urlFactory';\nimport { IconButton } from 'components/IconButton';\nimport { AsLink } from 'components/IconButton/IconButton.types';\nimport { ExpandIcon } from 'icons/outline';\nimport { useEffect, useMemo, useState } from 'react';\nimport { Alert } from 'components/Alert';\nimport PostHog from 'components/analytics/PostHog';\nimport { useSelector } from 'react-redux';\nimport noop from 'lodash/noop';\n\nexport const JobActions = (props: JobActionsProps) => {\n const { job: providedJob, fullPage, className, postHogLocation, ...rootProps } = props;\n\n // @ts-ignore-next-line\n const singleJobState = useSelector((state) => state.jobSearches.job[providedJob.slug]);\n const job = useMemo(\n () =>\n // @ts-ignore-next-line\n singleJobState?.id && providedJob.id === singleJobState.id ? singleJobState : providedJob,\n [singleJobState, providedJob],\n );\n\n const { id } = job;\n const employer = job?.employer();\n const [isCopied, setIsCopied] = useState(null);\n const [showAlert, setShowAlert] = useState(false);\n // @ts-ignore-next-line\n const authenticated = useSelector((state) => state.account.authenticated);\n\n const [showUnapprovedModal, setShowUnapprovedModal] = useState(false);\n\n const alreadyApplied = job?.jobApplications().toArray().length !== 0;\n\n const gradientBefore =\n \"before:content-[''] before:sm:hidden before:absolute before:bottom-full before:left-0 before:right-0 before:h-16 before:bg-gradient-to-t before:from-white before:to-transparent\";\n\n useEffect(() => {\n if (isCopied === null) return noop;\n\n setShowAlert(true);\n\n setTimeout(() => {\n setShowAlert(false);\n setTimeout(() => {\n setIsCopied(null);\n }, 100);\n }, 2000);\n }, [isCopied]);\n\n return (\n <>\n \n {isCopied ? 'Link copied to clipboard' : 'Failed to copy to clipboard'}\n \n \n \n {/* @ts-ignore-next-line */}\n \n\n {job && (\n \n {\n setIsCopied(true);\n }}\n onError={() => {\n setIsCopied(false);\n }}\n />\n \n )}\n {!fullPage && (\n \n \n as=\"a\"\n href={jobUrl(job)}\n className=\"flex-none desktop-only\"\n size=\"lg\"\n variant=\"outline\"\n Icon={ExpandIcon}\n >\n View page\n \n \n )}\n \n \n );\n};\n\nJobActions.displayName = 'JobActions';\n","export { JobActions } from 'features/JobDetails/JobActions/JobActions';\nexport type { JobActionsProps } from 'features/JobDetails/JobActions/JobActions.types';\n","import type { BonusBoxProps } from 'features/JobDetails/JobHeader/BonusBox/BonusBox.types';\nimport clsx from 'clsx';\nimport { Box } from 'components/Box';\n\nexport const BonusBox = (props: BonusBoxProps) => {\n const { description, Icon, children, className } = props;\n return (\n \n \n
\n
\n {children}\n
\n
{description}
\n
\n
\n );\n};\n\nBonusBox.displayName = 'BonusBox';\n","export { BonusBox } from 'features/JobDetails/JobHeader/BonusBox/BonusBox';\nexport type { BonusBoxProps } from 'features/JobDetails/JobHeader/BonusBox/BonusBox.types';\n","import type { JobHeaderProps } from 'features/JobDetails/JobHeader/JobHeader.types';\nimport { Avatar } from 'components/Avatar';\nimport { SchoolGraphic } from 'graphics';\nimport includes from 'lodash/includes';\nimport map from 'lodash/map';\nimport { JobLabel } from 'features/JobLabel';\nimport { JobLabelVariant } from 'features/JobLabel/JobLabel.types';\nimport { formattedAddress } from 'util/formatting/address';\nimport clsx from 'clsx';\nimport { useUser } from 'hooks/redux/useUser';\nimport { CoinIcon, DollarCircleIcon, ExclamationIcon, LocationIcon } from 'icons/solid';\nimport { Box } from 'components/Box';\nimport { BonusBox } from 'features/JobDetails/JobHeader/BonusBox';\nimport filter from 'lodash/filter';\nimport { compensationToText } from 'util/job/compensation';\nimport { Tag } from 'components/Tag';\nimport { dollarsToUsdFormat } from 'util/formatting/currency';\nimport Link from 'next/link';\nimport { employerUrl } from 'util/urlFactory';\nimport { Banner } from 'components/Banner';\n\nexport const JobHeader = (props: JobHeaderProps) => {\n const { job, onClickMoreLocations, className, fullPage } = props;\n const { jobRecommendations } = useUser();\n const employer = job.employer();\n\n const { title, additionalBenefits, compensation } = job;\n const locations = job.locations()?.toArray() || [];\n const bonus = filter(\n [\n {\n value: job?.supplementalPay?.bonus,\n description: 'Bonus',\n },\n {\n value: job?.supplementalPay?.signingBonus,\n description: 'Hiring incentive',\n },\n {\n value: job?.supplementalPay?.other,\n description: 'Other',\n },\n ],\n (b) => b.value && (Number.isNaN(Number(b.value)) || b.value > 0),\n );\n\n const salaryBox = compensationToText(compensation) ? (\n Boolean(parseFloat(b.value)) || (Boolean(b.value) && b.description === 'Other'),\n ).length %\n 2 ===\n 0,\n })}\n description=\"Avg. salary\"\n Icon={DollarCircleIcon}\n >\n {compensationToText(compensation)}\n {' / '}\n {compensation.interval}\n \n ) : null;\n\n const bonusBoxes = bonus.map(({ value, description }, bonusItemIndex) => (\n \n {Number.isNaN(Number(value))\n ? value\n : dollarsToUsdFormat(value, { maximumFractionDigits: 0 })}{' '}\n \n ));\n\n const benefitsBoxes = Boolean(additionalBenefits.length) ? (\n \n
Employee benefits:
\n
    \n {additionalBenefits.map((benefit, benefitIndex) => (\n
  • \n {benefit}\n
  • \n ))}\n
\n
\n ) : null;\n\n const auxiliaryInfo = (\n
\n {salaryBox}\n {bonusBoxes}\n {benefitsBoxes}\n
\n );\n\n return (\n
\n {job.listingStatus === 'closed' && (\n
\n \n
\n \n This job is now closed.\n
\n
\n
\n )}\n
\n \n \n \n\n
\n \n {title}\n {includes(map(jobRecommendations?.list || [], 'id'), job?.id) && (\n <>\n {' '}\n \n \n )}\n \n \n {employer?.name}\n
\n
\n \n
\n {formattedAddress(locations[0])}\n {locations.length > 1 && (\n \n +{locations.length - 1} locations\n \n )}\n
\n
\n\n
{auxiliaryInfo}
\n
\n
\n\n
{auxiliaryInfo}
\n \n );\n};\n\nJobHeader.displayName = 'JobHeader';\n","export { JobHeader } from 'features/JobDetails/JobHeader/JobHeader';\nexport type { JobHeaderProps } from 'features/JobDetails/JobHeader/JobHeader.types';\n","import clsx from 'clsx';\n\nimport { LocationDialog } from 'features/LocationDialog';\nimport GoogleMap, { GoogleMapProps } from 'google-maps-react-markers';\nimport { PropsWithChildren, useState } from 'react';\nimport classes from './JobMap.module.css';\nimport type { JobMapProps } from './JobMap.types';\nimport { MapMarker } from './MapMarker';\nimport { DEFAULT_MAP_OPTIONS } from './map.constants';\n\nconst DEFAULT_API_PROPS: Partial = {\n apiKey: process.env.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY || '',\n libraries: ['geometry'],\n};\n\nexport const JobMap = (props: PropsWithChildren) => {\n const { markers, className, withDetails, onClickMarker, onHoverMarker, mapOptions = {} } = props;\n const [selectedLocation, setSelectedLocation] = useState(null);\n const [locationOpen, setLocationOpen] = useState(false);\n\n const getBounds = () => {\n if (!markers?.length) {\n return {\n ne: {\n lat: 0,\n lng: 0,\n },\n sw: {\n lat: 0,\n lng: 0,\n },\n };\n }\n\n const minLat = Math.min(...markers?.map((marker) => marker.lat));\n const maxLat = Math.max(...markers?.map((marker) => marker.lat));\n const minLng = Math.min(...markers?.map((marker) => marker.lng));\n const maxLng = Math.max(...markers?.map((marker) => marker.lng));\n\n const latDiff = maxLat - minLat;\n const lngDiff = maxLng - minLng;\n\n // when there's only one marker, we need to add some padding to the bounds, otherwise relative to the collection of markers\n const latPadding = latDiff == 0 ? 0.03 : latDiff * 0.1;\n const lngPadding = lngDiff == 0 ? 0.03 : lngDiff * 0.1;\n\n return {\n ne: {\n lat: maxLat + latPadding,\n lng: minLng - lngPadding,\n },\n sw: {\n lat: minLat - latPadding,\n lng: maxLng + lngPadding,\n },\n };\n };\n\n const getMarkersInitialCentralization = () => {\n if (!markers?.length) {\n return {\n center: {\n lat: 0,\n lng: 0,\n },\n zoom: 0,\n };\n }\n\n const { ne: defaultNe, sw: defaultSw } = getBounds();\n\n return {\n center: {\n lat: (defaultNe.lat + defaultSw.lat) / 2,\n lng: (defaultNe.lng + defaultSw.lng) / 2,\n },\n zoom: 12,\n };\n };\n\n const handleApiLoaded = (map: google.maps.Map, maps: typeof google.maps) => {\n if (!markers?.length) {\n return;\n }\n\n const bounds = new maps.LatLngBounds();\n const { ne, sw } = getBounds();\n bounds.extend(ne);\n bounds.extend(sw);\n map.fitBounds(bounds);\n map.setZoom(Math.min(map.getZoom(), 16));\n };\n\n return (\n
\n handleApiLoaded(map, maps)}\n >\n {markers?.map((marker, index) => {\n const { location, lat, lng, ...mapMarkerProps } = marker;\n return (\n {\n onHoverMarker?.(marker);\n }}\n onMouseLeave={() => {\n onHoverMarker?.(null);\n }}\n onClick={() => {\n if (withDetails) {\n setLocationOpen(true);\n }\n\n setSelectedLocation(location);\n onClickMarker?.(marker);\n }}\n {...mapMarkerProps}\n />\n );\n })}\n \n {\n setLocationOpen(false);\n setTimeout(() => {\n setSelectedLocation(null);\n }, 300);\n }}\n location={selectedLocation}\n />\n
\n );\n};\n\nJobMap.displayName = 'JobMap';\n","export { JobMap } from './JobMap';\nexport type { JobMapProps } from './JobMap.types';\n","import type { JobLocationsProps } from 'features/JobDetails/JobLocations/JobLocations.types';\nimport { JobMap } from 'features/JobMap';\nimport { Box } from 'components/Box';\nimport { Fragment, useMemo, useRef, useState } from 'react';\nimport clsx from 'clsx';\nimport { SectionTitle } from 'features/JobDetails/SectionTitle';\nimport { formattedAddress } from 'util/formatting/address';\nimport { postHogCapture } from 'components/analytics/PostHog';\n\nconst eventCapture = postHogCapture();\n\nexport const JobLocations = (props: JobLocationsProps) => {\n const { job, fullPage } = props;\n const listRef = useRef(null);\n const locations = useMemo(() => job.locations()?.toArray() || [], [job.id]);\n\n const [hoveredLocation, setHoveredLocation] = useState(null);\n const [activeLocation, setActiveLocation] = useState(null);\n\n const mapMarkers = useMemo(\n () =>\n locations.map((location) => ({\n lat: location.lat,\n lng: location.lng,\n active: location === activeLocation,\n hovered: location === hoveredLocation,\n location,\n })),\n [locations, hoveredLocation],\n );\n\n if (!locations.length) {\n return null;\n }\n\n const handleSetHoveredLocation = (location) => {\n setHoveredLocation(location);\n };\n\n const handleStopHoveringLocation = () => {\n setHoveredLocation(null);\n };\n\n return (\n
\n Locations\n\n \n
\n {\n setHoveredLocation(marker?.location);\n }}\n onClickMarker={(marker) => {\n if (marker?.location && activeLocation !== marker?.location) {\n setActiveLocation(marker?.location);\n\n eventCapture('Click on map marker in job details', {\n jobId: job.id,\n hasRecommendations: marker.recommended,\n });\n\n const locationIndex = locations.findIndex(\n (location) => location === marker?.location,\n );\n listRef.current?.scrollTo({\n top:\n document.getElementById(`location-${locationIndex}`).offsetTop -\n listRef.current.offsetTop,\n behavior: 'smooth',\n });\n } else {\n setActiveLocation(null);\n }\n }}\n />\n
\n\n
\n {locations.map((location, locationIndex) => (\n handleSetHoveredLocation(location)}\n onMouseLeave={() => handleStopHoveringLocation()}\n onClick={() => {\n if (activeLocation !== location) {\n setActiveLocation(location);\n } else {\n setActiveLocation(null);\n }\n }}\n >\n
\n {Object.entries({\n Name: location.name,\n Address: formattedAddress(location),\n }).map(([label, value], labelIndex) => (\n \n
{label}:
\n
{value}
\n
\n ))}\n
\n \n ))}\n
\n
\n \n );\n};\n\nJobLocations.displayName = 'JobLocations';\n","export { JobLocations } from 'features/JobDetails/JobLocations/JobLocations';\nexport type { JobLocationsProps } from 'features/JobDetails/JobLocations/JobLocations.types';\n","import type { QualificationItemProps } from 'features/JobDetails/JobQualifications/QualificationItem/QualificationItem.types';\nimport { Tag } from 'components/Tag';\nimport clsx from 'clsx';\n\nexport const QualificationItem = (props: QualificationItemProps) => {\n const {\n qualificationItem: { name, description, required, inProgressAllowed },\n className,\n } = props;\n return (\n
\n
\n \n {required ? 'Required' : 'Preferred'}\n \n
\n
\n {name}\n {description &&

{description}

}\n {inProgressAllowed &&

(You can be working towards this)

}\n
\n
\n );\n};\n\nQualificationItem.displayName = 'QualificationItem';\n","export { QualificationItem } from './QualificationItem';\nexport type { QualificationItemProps } from './QualificationItem.types';\n","import { SVGAttributes } from 'react';\n\nexport const PhilosophyGraphic = ({ className }: SVGAttributes) => (\n \n \n \n \n \n);\n\nPhilosophyGraphic.displayName = 'PhilosophyGraphic';\n","import filter from 'lodash/filter';\nimport sortBy from 'lodash/sortBy';\n\nexport const getSortedValidQualifications = (qualificationArray) =>\n filter(\n sortBy(qualificationArray, ({ required }) => !required),\n ({ name }) =>\n Boolean(name) && !['none', 'not applicable', 'n/a', 'other'].includes(name.toLowerCase()),\n );\n","import type { JobQualificationsProps } from './JobQualifications.types';\nimport clsx from 'clsx';\nimport { Box } from 'components/Box';\nimport {\n AgeGraphic,\n CertificationsGraphic,\n EducationalAchievementGraphic,\n EnglishProficiencyGraphic,\n OthersGraphic,\n WorkExperienceGraphic,\n} from 'graphics';\nimport { QualificationItem } from './QualificationItem';\nimport filter from 'lodash/filter';\nimport { PhilosophyGraphic } from 'graphics/PhilosophyGraphic';\nimport { useSelector } from 'react-redux';\nimport compact from 'lodash/compact';\nimport { SectionTitle } from 'features/JobDetails/SectionTitle';\nimport { getSortedValidQualifications } from './JobQualifications.utils';\n\nexport const JobQualifications = (props: JobQualificationsProps) => {\n const {\n job: {\n educationalQualifications,\n workExperience,\n minAge,\n languages,\n englishProficiency,\n educationPhilosophy,\n certificationQualifications,\n qualificationsDescription,\n },\n fullPage,\n } = props;\n\n const otherQualifications =\n (/(<[^>]*>)([^<>\\s]\\s*)+(<\\/?[^>]*>)/gi.test(qualificationsDescription) || // test for HTML with valid content, e.g. excludes '

'\n /^([^<>])+$/gi.test(qualificationsDescription)) && // test for plain text with valid content, e.g. includes 'Something'\n /^[\\s\\r\\n\\t]*([^\\s\\r\\n\\t]+[\\s\\r\\n\\t]*)+$/gim.test(qualificationsDescription) // test for non-empty string, e.g. excludes ' '\n ? qualificationsDescription?.trim() || ''\n : '';\n\n const educationalQualificationsById = useSelector(\n // @ts-ignore-next-line\n (state) => state.educationalQualifications.byId,\n );\n\n const education = educationalQualifications?.map((educationalQualification) => ({\n name: educationalQualificationsById[educationalQualification.educationalQualificationId],\n required: educationalQualification.required,\n inProgressAllowed: educationalQualification.inProgressAllowed,\n }));\n const experience = workExperience?.map((workExperience) => ({\n name: `${workExperience.yearsExperience || ''} ${workExperience.workExperience || ''}`.trim(),\n required: workExperience.required,\n }));\n const age = minAge ? [{ name: minAge, required: true }] : [];\n\n const otherLanguages = languages?.reduce(\n (accLanguages, language) => {\n if (!language || !language.languages) return accLanguages;\n\n return [\n ...accLanguages,\n {\n required: Boolean(language.required),\n name: language.languages,\n },\n ];\n },\n englishProficiency?.englishProficiency &&\n !englishProficiency.englishProficiency.match(/(none)|(not (required|applicable))|(n\\/a)/i)\n ? [\n {\n required: true,\n name: 'English',\n description: englishProficiency?.englishProficiency,\n },\n ]\n : [],\n );\n const educationalPhilosophy = compact(educationPhilosophy?.educationPhilosophy || []).map(\n (philosophy) => ({\n required: Boolean(educationPhilosophy.required),\n name: philosophy,\n }),\n );\n const certifications = certificationQualifications?.map((certification) => ({\n required: Boolean(certification.required),\n name: certification.achievement,\n inProgressAllowed: certification.inProgressAllowed,\n }));\n\n const validEducationQualifications = getSortedValidQualifications(education);\n const validExperienceQualifications = getSortedValidQualifications(experience);\n const validAgeQualifications = getSortedValidQualifications(age);\n const validOtherLanguagesQualifications = getSortedValidQualifications(otherLanguages);\n const validEducationalPhilosophyQualifications =\n getSortedValidQualifications(educationalPhilosophy);\n const validCertificationsQualifications = getSortedValidQualifications(certifications);\n\n const validQualifications = filter(\n [\n {\n items: validAgeQualifications,\n GraphicComponent: AgeGraphic,\n title: 'Age',\n },\n\n {\n items: validExperienceQualifications,\n GraphicComponent: WorkExperienceGraphic,\n title: 'Work Experience',\n },\n {\n items: validOtherLanguagesQualifications,\n GraphicComponent: EnglishProficiencyGraphic,\n title: 'Other Languages',\n },\n {\n items: validEducationalPhilosophyQualifications,\n GraphicComponent: PhilosophyGraphic,\n title: 'Educational Philosophy',\n },\n {\n items: validCertificationsQualifications,\n GraphicComponent: CertificationsGraphic,\n title: 'Certification',\n },\n ],\n (qualifications) => qualifications.items.length > 0,\n );\n\n if (\n !(\n Boolean(validQualifications.length) ||\n Boolean(validEducationQualifications.length) ||\n Boolean(otherQualifications.length)\n )\n ) {\n return null;\n }\n\n return (\n
\n Qualifications\n\n
\n {Boolean(validEducationQualifications.length) && (\n \n \n\n
\n

\n Educational Achievement:\n

\n
\n {validEducationQualifications.map((qualificationItem, qualificationItemIndex) => (\n \n ))}\n
\n
\n \n )}\n\n {!validQualifications?.length ? null : (\n
\n {validQualifications.map(\n ({ items, GraphicComponent, title }, qualificationItemsIndex) => (\n \n \n \n\n
\n

{title}:

\n
\n {items.map((qualificationItem, qualificationItemIndex) => (\n \n ))}\n
\n
\n
\n
\n ),\n )}\n
\n )}\n\n {Boolean(otherQualifications.length) && (\n \n \n\n
\n

\n Other Qualifications:\n

\n \n
\n
\n )}\n
\n \n );\n};\n\nJobQualifications.displayName = 'JobQualifications';\n","export { JobQualifications } from 'features/JobDetails/JobQualifications/JobQualifications';\nexport type { JobQualificationsProps } from 'features/JobDetails/JobQualifications/JobQualifications.types';\n","import filter from 'lodash/filter';\n\nexport const getValidList = (list) =>\n filter(\n list,\n (value) =>\n Boolean(value) && !['none', 'not applicable', 'n/a', 'other'].includes(value.toLowerCase()),\n );\n","import type { JobSummaryProps } from 'features/JobDetails/JobSummary/JobSummary.types';\nimport { Tag } from 'components/Tag';\nimport { getValidList } from 'features/JobDetails/JobSummary/JobSummary.utils';\nimport compact from 'lodash/compact';\n\nexport const JobSummary = (props: JobSummaryProps) => {\n const {\n job: { roleType, employmentType, jobSchedule, ageGroup, classroomType },\n } = props;\n\n const validRoleType = getValidList(roleType);\n const validEmploymentType = getValidList(employmentType);\n const validJobSchedule = getValidList(jobSchedule);\n const validClassroomType = getValidList(classroomType);\n const validAgeGroup = getValidList(ageGroup);\n\n const summaryItems = compact([\n !validRoleType.length\n ? null\n : {\n label: 'Position:',\n value: validRoleType.join(', '),\n },\n !validEmploymentType.length\n ? null\n : {\n label: 'Job type:',\n value: validEmploymentType.join(', '),\n },\n !validJobSchedule.length\n ? null\n : {\n label: 'Schedule:',\n value: validJobSchedule.join(', '),\n },\n !validClassroomType.length\n ? null\n : {\n label: 'Types of classrooms:',\n value: validClassroomType.join(', '),\n },\n !validAgeGroup.length\n ? null\n : {\n label: 'Age groups:',\n value: (\n
    \n {validAgeGroup.map((ageGroupItem, ageGroupIndex) => (\n
  • \n {ageGroupItem}\n
  • \n ))}\n
\n ),\n },\n ]);\n\n return (\n
\n
\n {summaryItems.map((summaryItem, summaryItemIndex) => (\n
\n
{summaryItem.label}
\n
{summaryItem.value}
\n
\n ))}\n
\n
\n );\n};\n\nJobSummary.displayName = 'JobSummary';\n","export { JobSummary } from 'features/JobDetails/JobSummary/JobSummary';\nexport type { JobSummaryProps } from 'features/JobDetails/JobSummary/JobSummary.types';\n","import type { SectionTitleProps } from 'features/JobDetails/SectionTitle/SectionTitle.types';\n\nexport const SectionTitle = (props: SectionTitleProps) => {\n const { children, ...rootProps } = props;\n return (\n

\n {children}\n

\n );\n};\n\nSectionTitle.displayName = 'SectionTitle';\n","export { SectionTitle } from 'features/JobDetails/SectionTitle/SectionTitle';\nexport type { SectionTitleProps } from 'features/JobDetails/SectionTitle/SectionTitle.types';\n","import { JobLabelDataProps, JobLabelVariant } from './JobLabel.types';\nimport { StarIcon } from 'icons/solid/StarIcon';\nimport { InformationIcon } from 'icons/outline';\nimport { CertifiedIcon } from 'icons/solid/CertifiedIcon';\nimport { ClapIcon } from 'icons/outline/ClapIcon';\n\nexport const JobLabelVariantDataMap = new Map([\n [\n JobLabelVariant.NEW_JOB,\n {\n text: 'New Job!',\n mobileText: 'New!',\n },\n ],\n [\n JobLabelVariant.RECOMMENDED_FOR_YOU,\n {\n text: 'Recommended for you',\n mobileText: 'For you',\n icon: StarIcon,\n },\n ],\n [\n JobLabelVariant.HIRING_FAST,\n {\n text: 'Hiring fast',\n },\n ],\n [\n JobLabelVariant.HIRING_HERO,\n {\n text: 'Hiring Hero!',\n icon: CertifiedIcon,\n tooltip: {\n icon: InformationIcon,\n el: 'This job was posted by a Hiring Hero. Those are our most committed professionals in the platform.',\n },\n },\n ],\n [\n JobLabelVariant.RESPONSIVE_EMPLOYER,\n {\n text: 'Responsive Employer',\n icon: ClapIcon,\n },\n ],\n]);\n","import { JobLabelVariantDataMap } from './JobLabel.constants';\nimport type { JobLabelProps } from './JobLabel.types';\nimport { JobLabelVariant } from './JobLabel.types';\nimport clsx from 'clsx';\nimport ReactTooltip from 'react-tooltip';\nimport { faker } from '@faker-js/faker';\nimport includes from 'lodash/includes';\n\n/**\n * The JobLabel component was created so that certain jobs can show an extra appeal\n * to the job-seeker user. This component is used in the JobCard component.\n *\n * It has three variants:\n * - New Job\n * - Recommended for you\n * - Hiring fast\n */\nexport const JobLabel = (props: JobLabelProps) => {\n const { variant, className } = props;\n\n const { text, mobileText, icon: Icon, tooltip } = JobLabelVariantDataMap.get(variant) || {};\n const ToolTipIcon = tooltip?.icon;\n const tooltipId = faker.datatype.uuid();\n\n return (\n \n {Icon && }\n {text}\n {mobileText || text}\n {tooltip && (\n <>\n \n \n \n\n \n {tooltip.el}\n \n \n )}\n \n );\n};\n\nJobLabel.displayName = 'JobLabel';\n","export { JobLabel } from './JobLabel';\nexport type { JobLabelProps } from './JobLabel.types';\n","export const SmallStarIcon = () => (\n \n \n \n);\n","import clsx from 'clsx';\nimport classes from './RecommendedPin.module.css';\nimport type { RecommendedPinProps } from './RecommendedPin.types';\nimport { SmallStarIcon } from './SmallStarIcon';\n\nexport const RecommendedPin = (props: RecommendedPinProps) => {\n const { className, debug, active, viewed, ...rootProps } = props;\n return (\n \n
\n
\n
\n \n
\n
\n Recommended for you\n
\n
\n
\n \n );\n};\n\nRecommendedPin.displayName = 'RecommendedPin';\n","export { RecommendedPin } from './RecommendedPin';\nexport type { RecommendedPinProps } from './RecommendedPin.types';\n","import type { LocationPinProps } from './LocationPin.types';\nimport { MapPinIcon } from 'icons/complex';\nimport { RecommendedPin } from 'components/RecommendedPin';\nimport classes from './LocationPin.module.css';\nimport clsx from 'clsx';\n\nexport const LocationPin = (props: LocationPinProps) => {\n const { recommended, className, active, hovered, viewed, ...rootProps } = props;\n\n return (\n \n {recommended ? (\n \n ) : (\n \n )}\n \n );\n};\n\nLocationPin.displayName = 'LocationPin';\n","export { LocationPin } from './LocationPin';\nexport type { LocationPinProps } from './LocationPin.types';\n","import { LocationPin } from 'components/LocationPin';\nimport type { MapMarkerProps } from './MapMarker.types';\nimport clsx from 'clsx';\nimport classes from './MapMarker.module.css';\n\nexport const MapMarker = (props: MapMarkerProps) => {\n const { className, active, hovered, recommended, viewed, onClick, $hover, ...rootProps } = props;\n\n return (\n \n );\n};\n\nMapMarker.displayName = 'MapMarker';\n","export { MapMarker } from './MapMarker';\nexport type { MapMarkerProps } from './MapMarker.types';\n","import { MapOptions } from 'google-maps-react-markers';\n\nexport const DEFAULT_MAP_OPTIONS: MapOptions = {\n panControl: false,\n mapTypeControl: false,\n scrollwheel: true,\n streetViewControl: false,\n styles: [\n {\n featureType: 'poi',\n stylers: [{ visibility: 'off' }],\n },\n {\n featureType: 'transit',\n elementType: 'labels.icon',\n stylers: [{ visibility: 'off' }],\n },\n\n { stylers: [{ saturation: -10 }, { gamma: 0.8 }, { lightness: 4 }] },\n ],\n};\n","import { JobLabel } from 'features/JobLabel';\nimport classes from 'features/LocationDialog/SmallJobCard/SmallJobCard.module.css';\nimport type { SmallJobCardProps } from 'features/LocationDialog/SmallJobCard/SmallJobCard.types';\nimport { BriefcaseIcon, CoinIcon, DollarCircleIcon } from 'icons/solid';\nimport clsx from 'clsx';\nimport { JobLabelVariant } from 'features/JobLabel/JobLabel.types';\n\nexport const SmallJobCard = (props: SmallJobCardProps) => {\n const { job } = props;\n const { id, label, title, hours, href, salary, bonus } = job;\n return (\n \n {label && }\n\n

{title}

\n\n
\n \n {hours}\n
\n\n {Boolean(salary) && (\n
\n \n {salary}\n
\n )}\n\n {Boolean(bonus?.length) &&\n bonus.map((bonusItem, index) => (\n
\n \n {bonusItem}\n
\n ))}\n \n );\n};\n\nSmallJobCard.displayName = 'SmallJobCard';\n","export { SmallJobCard } from 'features/LocationDialog/SmallJobCard/SmallJobCard';\nexport type { SmallJobCardProps } from 'features/LocationDialog/SmallJobCard/SmallJobCard.types';\n","import type { LocationDialogProps } from './LocationDialog.types';\nimport { Dialog } from 'components/Dialog';\nimport classes from './LocationDialog.module.css';\nimport { Avatar } from 'components/Avatar';\nimport { SchoolGraphic } from 'graphics';\nimport { MapPinIcon } from 'icons/outline';\nimport { ClapIcon } from 'icons/complex';\nimport { SmallJobCard } from 'features/LocationDialog/SmallJobCard';\nimport PostHog from 'components/analytics/PostHog';\nimport { ModalBody } from 'components/Modal/ModalBody';\n\nexport const LocationDialog = (props: LocationDialogProps) => {\n const { location, open, ...rootProps } = props;\n\n const { name, img, address, jobs = [] } = location || {};\n\n return (\n \n \n
\n
\n \n \n \n
\n\n
\n

{name}

\n
\n \n

{address}

\n
\n
\n
\n\n {jobs?.length && (\n
\n
\n \n \n {jobs.length} job opening{jobs.length > 1 ? 's' : ''}\n \n
\n\n
\n {jobs.map((job) => (\n \n \n \n ))}\n
\n
\n )}\n
\n \n );\n};\n\nLocationDialog.displayName = 'LocationDialog';\n","export { LocationDialog } from './LocationDialog';\nexport type { LocationDialogProps } from './LocationDialog.types';\n","import { Button } from 'components/Button';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { FeatureUpgradeDialog } from 'features/FeatureUpgradeDialog';\nimport { Abilities } from 'util/abilities';\nimport type { MessagingApplicantsMessageLimitExceededDialogProps } from './MessagingApplicantsMessageLimitExceededDialog.types';\n\nexport const MessagingApplicantsMessageLimitExceededDialog = (\n props: MessagingApplicantsMessageLimitExceededDialogProps,\n) => {\n const { onClose } = props;\n\n return (\n \n \n \n \n \n \n );\n};\n\nMessagingApplicantsMessageLimitExceededDialog.displayName = 'MessagingApplicantsMessageLimitExceeded';\n","export { MessagingApplicantsMessageLimitExceededDialog } from './MessagingApplicantsMessageLimitExceededDialog';\nexport type { MessagingApplicantsMessageLimitExceededDialogProps } from './MessagingApplicantsMessageLimitExceededDialog.types';\n\n","import type { MessagingApplicantsRequiresSubscriptionModalProps } from './MessagingApplicantsRequiresSubscriptionModal.types';\nimport { SubscriptionRequiredModal } from 'features/SubscriptionRequiredModal';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { Button } from 'components/Button';\nimport { AsLink } from 'components/Button/Button.types';\nimport classes from './MessagingApplicantsRequiresSubscriptionModal.module.css';\n\n/**\n * Based on the `SubscriptionRequiredModal` component, this modal is shown when a user tries to\n * send a message to an applicant, and they don't have a subscription.\n *\n * @param props\n * @constructor\n */\nexport const MessagingApplicantsRequiresSubscriptionModal = (\n props: MessagingApplicantsRequiresSubscriptionModalProps,\n) => {\n const heading = 'Want to send messages to educators?';\n const message = 'Upgrade your plan to send messages to educators.';\n const buttonText = 'Start for free';\n\n return (\n \n

{message}

\n \n as=\"a\" href=\"/employer/plans\" target=\"_blank\">\n {buttonText}\n \n \n
\n );\n};\n\nMessagingApplicantsRequiresSubscriptionModal.displayName =\n 'MessagingApplicantsRequiresSubscriptionModal';\n","export { MessagingApplicantsRequiresSubscriptionModal } from './MessagingApplicantsRequiresSubscriptionModal';\nexport type { MessagingApplicantsRequiresSubscriptionModalProps } from './MessagingApplicantsRequiresSubscriptionModal.types';\n","import type { MessagingApplicantsRequiresUpgradeDialogProps } from './MessagingApplicantsRequiresUpgradeDialog.types';\nimport { Abilities } from 'util/abilities';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { Button } from 'components/Button';\nimport { FeatureUpgradeDialog } from 'features/FeatureUpgradeDialog';\n\nexport const MessagingApplicantsRequiresUpgradeDialog = (\n props: MessagingApplicantsRequiresUpgradeDialogProps,\n) => {\n const { onClose } = props;\n\n return (\n \n \n \n \n \n \n );\n};\n\nMessagingApplicantsRequiresUpgradeDialog.displayName = 'MessagingApplicantsRequiresUpgrade';\n","export { MessagingApplicantsRequiresUpgradeDialog } from './MessagingApplicantsRequiresUpgradeDialog';\nexport type { MessagingApplicantsRequiresUpgradeDialogProps } from './MessagingApplicantsRequiresUpgradeDialog.types';\n","import { ExclamationTriangleIcon } from '@heroicons/react/24/outline';\nimport { postHogCapture } from 'components/analytics/PostHog';\nimport { Button } from 'components/Button';\nimport { AsLink } from 'components/Button/Button.types';\nimport { Modal } from 'components/Modal';\nimport { ModalIconColor } from 'components/Modal/Modal.types';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { useRouter } from 'next/router';\nimport { useEffect, useState } from 'react';\nimport classes from './PausedSubscriptionModal.module.css';\nimport type { PausedSubscriptionModalProps } from './PausedSubscriptionModal.types';\n\nconst eventCapture = postHogCapture();\n\n/**\n * The modal that is shown when a user tries to access a feature that is only available to\n * subscribed users and should be used when the current user's subscription has expired or\n * when payment attempt failed.\n *\n * This component provides two actions for the user:\n * - Contact EarlyDay through the calendly link\n * - Go to the subscription page and update the payment method\n *\n * To allow this to be used in different contexts, a `onBeforeReroute` is provided\n * as a prop. This function is called before the user is rerouted to the subscription page\n *\n * @param props\n * @constructor\n */\nexport const PausedSubscriptionModal = (props: PausedSubscriptionModalProps) => {\n const { onBeforeReroute, ...modalProps } = props;\n\n const [rerouting, setRerouting] = useState(false);\n const router = useRouter();\n\n useEffect(() => {\n if (open) {\n eventCapture('Subscription Required Modal Rendered');\n }\n }, [open]);\n\n const handleUpdatePayment = async () => {\n setRerouting(true);\n\n if (!onBeforeReroute) {\n await router.push('/employer/plans');\n setRerouting(false);\n return;\n }\n\n onBeforeReroute().then(async () => {\n await router.push('/employer/plans');\n setRerouting(false);\n });\n };\n\n return (\n \n
\n

\n We tried to renew your plan this month, but we were unable to charge the credit card that\n we have on file for you.\n

\n

\n Let’s get your account back up and running! Please add a different credit card{' '}\n \n here\n {' '}\n or contact us so that we can help you out.\n

\n
\n\n \n \n \n as=\"a\"\n href=\"https://calendly.com/deannadavia\"\n target=\"_blank\"\n variant=\"outline\"\n disabled={rerouting}\n >\n Contact us\n \n \n \n );\n};\n\nPausedSubscriptionModal.displayName = 'PausedSubscriptionModal';\n","export { PausedSubscriptionModal } from './PausedSubscriptionModal';\nexport type { PausedSubscriptionModalProps } from './PausedSubscriptionModal.types';\n","import { SparklesIcon } from '@heroicons/react/24/solid';\nimport { Modal } from 'components/Modal';\nimport { ModalIconColor } from 'components/Modal/Modal.types';\nimport { postHogCapture } from 'components/analytics/PostHog';\nimport { PausedSubscriptionModal } from 'features/PausedSubscriptionModal';\nimport { useEmployer } from 'hooks/redux/useEmployer';\nimport { useSubscription } from 'hooks/redux/useSubscription';\nimport { PropsWithChildren, useEffect } from 'react';\nimport type { SubscriptionRequiredModalProps } from './SubscriptionRequiredModal.types';\nconst eventCapture = postHogCapture();\n\n/**\n * This modal is used generically to show information about a subscription-required feature\n * that is not available to the user.\n *\n * It allows developers to create a unified experience for users when they try to access\n * a feature that is only available to them. It receives heading, message and actions\n * in a generic manner and maintains the same look and feel across the app.\n *\n * @param props\n * @constructor\n */\nexport const SubscriptionRequiredModal = (\n props: PropsWithChildren,\n) => {\n const { onClose, open, ...modalProps } = props;\n const subscription = useSubscription();\n const { hasActivePlan } = useEmployer();\n\n useEffect(() => {\n if (open) {\n eventCapture('Subscription Required Modal Rendered');\n }\n }, [open]);\n\n const handleDismiss = () => {\n eventCapture('Click No Thanks (Subscription required modal)');\n onClose();\n };\n\n if (!hasActivePlan) {\n return (\n \n );\n }\n\n if (subscription.status === 'past_due') {\n return ;\n }\n\n return null;\n};\n\nSubscriptionRequiredModal.displayName = 'SubscriptionRequiredModal';\n","export { SubscriptionRequiredModal } from './SubscriptionRequiredModal';\nexport type { SubscriptionRequiredModalProps } from './SubscriptionRequiredModal.types';\n","import { RootStateOrAny, useSelector } from 'react-redux';\nimport { SubscriptionResource } from 'util/resources/Subscription';\n\nexport const useSubscription = (): SubscriptionResource =>\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore-next-line\n useSelector(\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n ({ employer }: RootStateOrAny) => employer.subscription || {},\n ) as SubscriptionResource;\n","import { useSelector } from 'react-redux';\nimport { UserProfileResource } from 'util/resources/UserProfile';\nimport { GeographyResource } from 'util/resources/Geography';\nimport { JobListingResource } from 'util/resources/JobListing';\n\nexport const useUser = (): {\n currentUserProfile: UserProfileResource;\n resumeParsingStatus: { resumeJobInfos: unknown[] };\n loadingResumeParsingStatus: boolean;\n geography: GeographyResource;\n jobRecommendations: { list: JobListingResource[] };\n loading: boolean;\n missingRequiredFields: string[];\n} => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const {\n currentUserProfile,\n resumeParsingStatus,\n loadingResumeParsingStatus,\n loading,\n jobRecommendations,\n geography,\n missingRequiredFields,\n } = useSelector(\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n ({ currentUserProfile }) =>\n currentUserProfile as {\n currentUserProfile: UserProfileResource;\n resumeParsingStatus: { resume_job_infos: unknown[] };\n loadingResumeParsingStatus: boolean;\n geography: GeographyResource;\n jobRecommendations: { list: JobListingResource[] };\n loading: boolean;\n missingRequiredFields: string[];\n },\n );\n\n return {\n currentUserProfile,\n resumeParsingStatus: { resumeJobInfos: resumeParsingStatus?.resume_job_infos },\n loadingResumeParsingStatus,\n loading,\n geography,\n jobRecommendations,\n missingRequiredFields,\n };\n};\n","import { MouseEvent } from 'react';\n\nexport type UseCopyToClipboardProps = {\n onSuccess?: (event: MouseEvent) => void;\n onError?: (event: MouseEvent) => void;\n};\n\nexport const useCopyToClipboard = (\n props?: UseCopyToClipboardProps,\n): {\n copyToClipboard: (body: string, event: MouseEvent) => Promise;\n} => {\n const { onSuccess, onError } = props || {};\n\n const copyToClipboard = async (body: string, event: MouseEvent) => {\n navigator.clipboard\n .writeText(body)\n .then(() => {\n onSuccess?.(event);\n })\n .catch(() => {\n onError?.(event);\n });\n };\n\n return {\n copyToClipboard,\n };\n};\n","import { createAsyncThunk } from '@reduxjs/toolkit';\nimport compact from 'lodash/compact';\nimport { postHogCapture } from 'components/analytics/PostHog';\nimport isObject from 'lodash/isObject';\nimport { getAppliedFilters } from 'util/job/filters';\nimport { JobListing } from 'util/resources';\nimport * as types from './types';\nimport { fetchTeacherSavedFilterSelections } from 'redux/saved_filter_selections/actions';\n\nconst eventCapture = postHogCapture(false);\nconst PAGE_SIZE = 20;\n\nfunction getFilterStatus(section, option) {\n if ((isObject(option) && option.checked) || !option) {\n return 'Removed';\n }\n if (!isObject(option) && section.value) {\n return 'Updated';\n }\n\n return 'Added';\n}\n\nexport function filterFromUrl(urlFilters) {\n return { type: types.JOB_SEARCH_FILTER_FROM_URL, payload: urlFilters };\n}\n\nexport function updateFilter(section, option) {\n return (dispatch, getState) => {\n const filters = getState().jobSearches.filters;\n const appliedFilters = getAppliedFilters(filters);\n const label = getFilterStatus(section, option);\n\n eventCapture('Add a Filter [Jobs Page]', {\n 'Selected Filters': appliedFilters,\n [label]: {\n section,\n value: option?.value || option,\n },\n });\n\n dispatch({ type: types.JOB_SEARCH_CHANGE_FILTER, payload: { section, option } });\n };\n}\n\nexport function updateFilterWithSavedFilter(savedFilter) {\n return (dispatch) => {\n dispatch({ type: types.JOB_SEARCH_APPLY_SAVED_FILTER, payload: savedFilter });\n };\n}\n\nexport function applySavedFilterChange(isMap, currentPage, savedFilter) {\n return (dispatch) => {\n dispatch(storeSavedFilterId(savedFilter.id));\n dispatch(fetchJobs(isMap, currentPage, savedFilter));\n };\n}\nexport const markFiltersAsSearched = () => {\n return { type: types.MARK_FILTER_AS_SEARCHED };\n};\nexport const storeSavedFilterId = (id) => {\n return { type: types.APPLY_SAVED_FILTER_ID, payload: id };\n};\n\nexport function resetFilters() {\n eventCapture('Clear All Filters [Jobs Page]');\n return { type: types.JOB_SEARCH_RESET_FILTER };\n}\n\nexport function removeJobRecommendations() {\n return { type: types.REMOVE_JOB_RECOMMENDATIONS };\n}\n\nexport function initializeGeo(geoId) {\n return { type: types.INITIALIZE_GEOGRAPHY, payload: geoId };\n}\n\nexport function setShowJobsFilter(showJobsFilter) {\n return { type: types.SET_SHOW_FILTER, payload: showJobsFilter };\n}\n\nexport function setSortJobs(sortJobs) {\n return { type: types.SET_SORT, payload: sortJobs };\n}\n\nconst reduceFilters = (accFilters, filter) => {\n switch (filter.type) {\n case 'checkbox':\n let selected = filter.options\n .filter((option) => option.checked)\n .map((option) => option.value);\n if (selected.length > 0) {\n return {\n ...accFilters,\n [filter.id]: selected,\n };\n }\n break;\n case 'text':\n case 'range':\n default:\n if (filter.value !== '') {\n return {\n ...accFilters,\n [filter.id]: filter.value,\n };\n }\n }\n\n return accFilters;\n};\n\nconst showJobFilterValue = (filterName) => {\n if (filterName === 'all') {\n return;\n }\n return 'current_user_profile';\n};\n\nconst sortValue = (sortString) => {\n if (!sortString) {\n return { default: 'default' };\n }\n\n const order = sortString.startsWith('-') ? 'desc' : 'asc';\n const sort = sortString.startsWith('-') ? sortString.slice(1) : sortString;\n\n return { [sort]: order };\n};\n\nexport const processFilters = (state, isMap) => {\n const filters = state.jobSearches.filters.reduce(reduceFilters, {});\n const geoId = state.currentUserProfile.geography?.id;\n\n const showJobFilter = state.jobSearches.showJobFilter;\n if (showJobFilter) {\n filters[showJobFilter] = showJobFilterValue(showJobFilter);\n }\n\n const sort = sortValue(state.jobSearches.sortJob);\n\n const notPaginated = isMap;\n\n if (geoId) filters['geography_id'] = geoId;\n if (notPaginated) filters.noPagination = true;\n\n if (!geoId && !filters['geography_id']) {\n filters['geography_id'] = state.geographies.suggestedGeography?.id;\n }\n\n if (filters['geography_id'] === 'all') {\n delete filters['geography_id'];\n }\n return { filters, sort, notPaginated };\n};\n\nconst intiFetchSearch = () => {\n let searchPromise;\n\n return (isMap, currentPage = 1) =>\n (dispatch) => {\n const thunkSearch = createAsyncThunk(\n types.JOBS_FETCH,\n async ({ isMap, currentPage = 1 }, { getState }) => {\n searchPromise && searchPromise.abort();\n\n const state = getState();\n const savedFilterId = state.candidates.appliedSavedFilterId;\n const savedFilters = state.savedFilterSelections.savedFilterSelections;\n const savedFilter = savedFilters.find((filter) => filter.id === savedFilterId);\n\n const { filters, sort, notPaginated } = processFilters(getState(), isMap);\n\n const applicableFilters = savedFilter ? savedFilter.data : filters;\n\n if (Boolean(savedFilter?.diff?.length)) {\n await savedFilter.update();\n const userProfileId = state.currentUserProfile.currentUserProfile.Id;\n dispatch(fetchTeacherSavedFilterSelections(userProfileId));\n }\n\n if (!notPaginated) {\n const offset = Math.max(0, parseInt(currentPage) - 1) * PAGE_SIZE;\n const jobSearch = await JobListing.includes('locations', 'job_applications', {\n employer: ['geography'],\n })\n .where(applicableFilters)\n .order(sort)\n .limit(PAGE_SIZE)\n .offset(offset)\n .all();\n\n const pagination = jobSearch.links();\n const jobs = jobSearch.all();\n\n return { jobs, pagination };\n } else {\n const jobSearch = await JobListing.includes('locations', 'job_applications', {\n employer: ['geography'],\n })\n .select(\n { location: ['name', 'lat', 'lng', 'address'] },\n { employer: ['name', 'slug', 'profile_image', 'hiring_hero', 'responsive'] },\n )\n .where(applicableFilters)\n .order(sort)\n .all();\n\n let jobs = jobSearch.all();\n return { jobs };\n }\n },\n );\n\n searchPromise = dispatch(thunkSearch({ isMap, currentPage }));\n return searchPromise;\n };\n};\n\nexport const fetchJobs = intiFetchSearch();\n\nexport function fetchOne(id, includeJobApplications) {\n return async (dispatch) => {\n dispatch({ type: types.JOB_SEARCH_ONE_LOAD_START });\n\n try {\n const jobSearch = await JobListing.includes(\n ...compact([\n 'locations',\n { employer: ['geography'] },\n includeJobApplications && { job_applications: ['userProfile'] },\n ]),\n ).find(id);\n\n dispatch({ type: types.JOB_SEARCH_ONE_LOAD_SUCCESS, payload: jobSearch });\n } catch (e) {\n console.error(e);\n dispatch({ type: types.JOB_SEARCH_ONE_LOAD_FAILURE });\n }\n };\n}\n","import { ReactNode } from 'react';\n\nexport enum Abilities {\n OUTBOUND_MESSAGE_CANDIDATE = 'outbound_message_candidate',\n VIEW_USER_PROFILE = 'view_user_profile',\n MULTIPLE_JOB_LISTING_LOCATIONS = 'multiple_job_listing_locations',\n OUTBOUND_MESSAGE_CANDIDATE_LIMIT_EXCEEDED = 'outbound_message_candidate_limit_exceeded',\n}\n\nexport const AbilityToForbiddenActionMap = new Map<\n Abilities,\n { title?: string; message: ReactNode }\n>([\n [\n Abilities.OUTBOUND_MESSAGE_CANDIDATE,\n {\n message: 'Upgrading your plan will allow you to send messages to educators.',\n },\n ],\n [\n Abilities.OUTBOUND_MESSAGE_CANDIDATE_LIMIT_EXCEEDED,\n {\n title: 'You\\'ve reached your message limit',\n message: 'You have exceeded your plans message limit, upgrading your plan will allow you to send messages to educators.',\n },\n ],\n [\n Abilities.VIEW_USER_PROFILE,\n {\n message:\n 'Upgrading your plan will allow you to view full educator profiles, including their educational background, work experience, licenses and credentials, and more!',\n },\n ],\n [\n Abilities.MULTIPLE_JOB_LISTING_LOCATIONS,\n {\n title: 'Want to post another job?',\n message: 'Upgrade your plan to post an unlimited number of jobs.',\n },\n ],\n]);\n","import { JobListing } from 'util/resources';\nimport apiCall from './client';\n\nexport async function fetchAll() {\n return await JobListing.includes('employer', { employer: ['geography'] }).all();\n}\n\nexport async function fetchAllByEmployer(employerId) {\n const response = await JobListing.includes('locations', 'employer', { employer: ['geography'] })\n .where({ employer_id: employerId })\n .all();\n return await response.toArray();\n}\n\nexport async function fetchOne(id) {\n return await JobListing.includes('employer', 'job_applications', 'locations', {\n employer: ['geography'],\n }).find(id);\n}\n\nexport async function apply(\n job_listing_id,\n screening_questions = [],\n education_declaration,\n meets_education_requirements = true,\n location_ids,\n) {\n const applicationData = {\n job_listing_id,\n meets_education_requirements,\n screening_questions,\n location_ids,\n };\n\n if (education_declaration) {\n applicationData.education_declaration = education_declaration;\n }\n\n return await apiCall(`job_listings/${job_listing_id}/job_applications`, 'POST', {\n body: JSON.stringify(applicationData),\n });\n}\n","import replace from 'lodash/replace';\nimport type { ChangeEvent } from 'react';\n\nexport const cleanUpInputValue =\n (type: 'extra-spaces' | 'all-spaces' = 'extra-spaces') =>\n (event: ChangeEvent) => {\n if (!event?.target) {\n return;\n }\n\n if (type === 'extra-spaces') {\n event.target.value = removeExtraSpaces(event.target.value);\n } else if (type === 'all-spaces') {\n event.target.value = removeAllSpaces(event.target.value);\n }\n };\n\nexport const removeExtraSpaces = (text: string) => text?.trim().replace(/\\s{2,}/g, ' ') || '';\n\nexport const removeAllSpaces = (text: string) => text?.trim().replace(/\\s/g, '') || '';\n\nexport const sanitizeTags = (htmlText: string) => {\n if (!htmlText) {\n return '';\n }\n\n // remove script tags\n htmlText = htmlText.replace(/)<[^<]*)*<\\/script>/gi, '');\n\n // remove style tags\n htmlText = htmlText.replace(/)<[^<]*)*<\\/style>/gi, '');\n\n // remove tags with actions\n htmlText = htmlText.replace(/<[^>]*\\s(on\\w+)[^>]*>/gi, '');\n\n return htmlText;\n};\n\nexport const formatZipCode = (zipCode: string) => {\n if (!zipCode) {\n return '';\n }\n\n const removedNonDigits = replace(zipCode, /\\D/g, '');\n return (\n removedNonDigits.slice(0, 5) +\n (removedNonDigits.length > 5 ? `-${removedNonDigits.slice(5)}` : '')\n );\n};\n\nexport const htmlToString = (html: string): string => {\n if (!html) {\n return '';\n }\n\n const doc = new DOMParser().parseFromString(html, 'text/html');\n return doc.body.textContent || '';\n};\n","import compact from 'lodash/compact';\nimport { dollarsToUsdFormat } from 'util/formatting/currency';\n\nexport interface Compensation {\n min: number | string;\n max: number | string;\n interval: string;\n negotiable?: boolean;\n}\n\nexport const isCentsRelevant = (value: number, interval: string): boolean => {\n if (interval !== 'per hour') {\n return false;\n }\n\n if (value % 1 === 0) {\n return false;\n }\n\n return true;\n};\n\nexport const compensationToText = (compensation: Compensation): string => {\n const { min, max, interval } = compensation || {};\n const minNumber = Number(min);\n const maxNumber = Number(max);\n const isMinInvalid = !minNumber || isNaN(minNumber) || minNumber < 0;\n const isMaxInvalid = !maxNumber || isNaN(maxNumber) || maxNumber < 0;\n\n if (isMinInvalid && isMaxInvalid) {\n return '';\n }\n\n if (minNumber === maxNumber || isMinInvalid || isMaxInvalid) {\n const compensationValue = minNumber || maxNumber;\n return dollarsToUsdFormat(compensationValue, {\n maximumFractionDigits: isCentsRelevant(compensationValue, interval) ? 2 : 0,\n });\n }\n\n const minDigits = isCentsRelevant(minNumber, interval) ? 2 : 0;\n const maxDigits = isCentsRelevant(maxNumber, interval) ? 2 : 0;\n return (\n dollarsToUsdFormat(minNumber, { maximumFractionDigits: minDigits }) +\n ' - ' +\n dollarsToUsdFormat(maxNumber, { maximumFractionDigits: maxDigits })\n );\n};\n\nexport const getFullCompensationText = (compensation: Compensation) => {\n const { interval, negotiable } = compensation || {};\n const compensationText = compensationToText(compensation);\n\n if (!compensationText) return null;\n\n return compact([compensationText, interval, negotiable && '(negotiable)']).join(' ');\n};\n\nexport const compensationToFullText = (compensation: Compensation): string =>\n `${compensationToText(compensation)} ${compensation.interval}${\n compensation.negotiable ? ' (negotiable)' : ''\n }`;\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"panelWrapper\":\"Dialog_panelWrapper__ilUyO\",\"panel\":\"Dialog_panel__EGd_h\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"LocationPin_root__u7Cr1\",\"notRecommended\":\"LocationPin_notRecommended__OuBrv\",\"hover\":\"LocationPin_hover__ASmyU\",\"active\":\"LocationPin_active__2REV2\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"RecommendedPin_root__mi1hj\",\"box\":\"RecommendedPin_box__BcDpt\",\"viewed\":\"RecommendedPin_viewed__YbAOh\",\"boxContent\":\"RecommendedPin_boxContent__bSSoy\",\"text\":\"RecommendedPin_text__8qrvT\",\"active\":\"RecommendedPin_active__vw0Ml\",\"hover\":\"RecommendedPin_hover__IxzH7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"Tag_root__xuIDG\",\"small\":\"Tag_small__Nmmlb\",\"large\":\"Tag_large__kzz_S\",\"neutral\":\"Tag_neutral__BWKHU\",\"info\":\"Tag_info__hKgO6\",\"warning\":\"Tag_warning__TXkHP\",\"danger\":\"Tag_danger__4iy9k\",\"success\":\"Tag_success__ohS1E\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"defaultMessage\":\"FeatureUpgradeDialog_defaultMessage__sfmFY\",\"messages\":\"FeatureUpgradeDialog_messages__j_FhH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"JobMap_root__XJMHC\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"MapMarker_root__j1gzN\",\"hover\":\"MapMarker_hover__cUyx0\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"panel\":\"LocationDialog_panel__HUbB_\",\"header\":\"LocationDialog_header__UWFv4\",\"imgWrapper\":\"LocationDialog_imgWrapper__6zNYm\",\"avatar\":\"LocationDialog_avatar__3jbEW\",\"icon\":\"LocationDialog_icon__NrMXW\",\"info\":\"LocationDialog_info___eg82\",\"name\":\"LocationDialog_name__1WOOa\",\"address\":\"LocationDialog_address__CuBQ1\",\"text\":\"LocationDialog_text__0RunO\",\"jobs\":\"LocationDialog_jobs__b_YP_\",\"openings\":\"LocationDialog_openings__VWbnv\",\"jobsGrid\":\"LocationDialog_jobsGrid__it9TB\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"SmallJobCard_root__eefJ4\",\"recommended\":\"SmallJobCard_recommended__W2z_p\",\"title\":\"SmallJobCard_title__4INKj\",\"info\":\"SmallJobCard_info__PP29R\",\"icon\":\"SmallJobCard_icon___zZIv\",\"text\":\"SmallJobCard_text__pakUH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"MessagingApplicantsRequiresSubscriptionModal_root__9_rsz\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"PausedSubscriptionModal_root__bBeZ4\",\"link\":\"PausedSubscriptionModal_link__pl9z4\"};"],"names":["Banner","children","variant","intent","noBorder","props","jsx_runtime","jsx","div","className","clsx","border","role","displayName","Dialog","panelWrapperProps","panelProps","rootProps","panelWrapperClassName","restPanelWrapperProps","panelClassName","restPanelProps","Modal","classes","ShareButton","window","url","location","href","onSuccess","onError","onClick","copyToClipboard","useCopyToClipboard","handleClick","event","IconButton","Icon","ShareIcon","Tag","size","title","undefined","span","TrackedCallback","Component","callbacks","componentProps","callbackKeys","Object","keys","componentPropsKeys","validOverrideKeys","intersection","propsWithoutOverrideKeys","difference","propsWithoutOverride","pick","childrenProps","useTrackedEvents","reduce","acc","propName","handler","length","RenderOther","name","register","errors","type","options","watch","setValue","param","otherId","concat","currentValues","otherVal","find","opt","label","value","map","op","includes","isChecked","setIsChecked","useState","Boolean","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","input","id","checked","rounded","onChange","e","currentTarget","htmlFor","TextInput","required","placeholder","defaultValue","target","shouldUnregister","validate","symbols","match","CheckboxInput","other","withFieldGroup","disabled","noValue","banner","requiredButNotFilled","helpText","FieldGroup","fieldset","optionId","option","description","p","message","maxLength","min","onBlur","setValueAs","error","_","errorStyle","__webpack_exports__","Z","connect","state","currentEmployer","employer","withRouter","Fragment","user","router","applicantView","posthog","newTab","isApplicant","fullWidth","showSubscribeModal","setShowSubscribeModal","showUpgradePlanModal","setShowUpgradePlanModal","showLimitModal","setShowLimitModal","useSelector","account","authenticated","data","createConversation","setTimeout","open","push","pathname","query","conversation","hasActivePlan","employerCanSendMessage","can","MessagingApplicantsRequiresSubscriptionModal","onClose","MessagingApplicantsRequiresUpgradeDialog","MessagingApplicantsMessageLimitExceededDialog","eventName","PostHog","properties","Button","AuthModal","context","heading","onCancel","dialogProps","dispatch","useDispatch","handleSubmit","formState","isSubmitting","isValidating","useForm","defaultValues","email","password","isLoading","useMemo","onSubmit","login","form","h2","ModalBody","autoComplete","pattern","HelperText","minLength","loading","Link","AppRoutes","SIGN_UP","RESET_PASSWORD","FeatureUpgradeDialog","ability","defaultMessage","AbilityToForbiddenActionMap","get","IconElement","ExclamationTriangleIcon","iconColor","ModalIconColor","WARNING","JobAbout","job","SectionTitle","dangerouslySetInnerHTML","__html","sanitizeTags","ExternalJobLinkButton","data-cy","externalUrl","ArrowTopRightOnSquareIcon","eventCapture","postHogCapture","body","a","preventDefault","UnapprovedProfileModal","approvalState","isTeacherAdmin","setOpen","useEffect","ModalActions","as","labels","single","lastOptionLabel","questionLabel","multiple","JobApplyModal","showModal","setShowModal","onApply","locations","toArray","educationalQualificationsById","educationalQualifications","byId","jobRecommendations","useUser","setLoading","screeningQuestions","question","index","requiredEducation","filter","edu","qualificationName","educationalQualificationId","inProgressAllowed","reset","doesNotMeetReqs","selectedLocations","doesNotMeetWatched","educationDecWatched","selectedLocationsWached","trackEvent","trackAhoyEvent","useAhoy","job_listing_id","applyForJob","educationDeclaration","Number","key","q","parseInt","apply","fetchHasApplications","fetchOne","slug","ClappingHandsGraphic","h1","address","getLabel","VideoAskOnApplyModal","fullName","Image","alt","src","layout","objectFit","unoptimized","ul","li","externalVideoAskUrl","medium","eventKey","AnalyticsEvents","CLICK_ON_APPLY_VIDEO_ASK_LINK","payload","full_name","AddVideoIcon","PostHogWrapper","currentUserProfile","postHogLocation","jobLabel","deniedApplicationStates","JobApplyButton","alreadyApplied","buttonClass","showUnapprovedModal","setShowUnapprovedModal","showVideoAskModal","setShowVideoAskModal","showAuthDialog","setShowAuthDialog","activeState","useRouter","hasApplications","isNewUser","newUser","redirectToLogin","search","listingStatus","data-testid","values","isNil","reload","JobActions","providedJob","fullPage","singleJobState","jobSearches","isCopied","setIsCopied","showAlert","setShowAlert","jobApplications","noop","Alert","CreateConversationButton","fullUrl","jobUrl","ExpandIcon","BonusBox","Box","dl","dt","dd","JobHeader","onClickMoreLocations","additionalBenefits","compensation","bonus","supplementalPay","signingBonus","b","isNaN","salaryBox","compensationToText","parseFloat","DollarCircleIcon","interval","bonusBoxes","bonusItemIndex","CoinIcon","dollarsToUsdFormat","maximumFractionDigits","benefitsBoxes","benefit","benefitIndex","auxiliaryInfo","ExclamationIcon","Avatar","backgroundClass","imageProps","profileImage","downloadUrl","SchoolGraphic","list","JobLabel","JobLabelVariant","RECOMMENDED_FOR_YOU","employerUrl","LocationIcon","formattedAddress","button","tabIndex","DEFAULT_API_PROPS","apiKey","process","libraries","JobMap","markers","withDetails","onClickMarker","onHoverMarker","mapOptions","selectedLocation","setSelectedLocation","locationOpen","setLocationOpen","getBounds","ne","lat","lng","sw","minLat","Math","marker","maxLat","max","minLng","maxLng","latDiff","lngDiff","latPadding","lngPadding","handleApiLoaded","maps","bounds","LatLngBounds","extend","fitBounds","setZoom","getZoom","GoogleMap","getMarkersInitialCentralization","center","zoom","defaultNe","defaultSw","defaultCenter","defaultZoom","DEFAULT_MAP_OPTIONS","onGoogleApiLoaded","mapMarkerProps","MapMarker","onMouseEnter","onMouseLeave","LocationDialog","contained","JobLocations","listRef","useRef","hoveredLocation","setHoveredLocation","activeLocation","setActiveLocation","mapMarkers","active","hovered","handleSetHoveredLocation","handleStopHoveringLocation","jobId","hasRecommendations","recommended","locationIndex","findIndex","current","scrollTo","top","document","getElementById","offsetTop","behavior","ref","hoverable","entries","Name","Address","labelIndex","QualificationItem","qualificationItem","PhilosophyGraphic","svg","width","height","viewBox","fill","xmlns","path","d","getSortedValidQualifications","sortBy","qualificationArray","toLowerCase","JobQualifications","workExperience","minAge","languages","englishProficiency","educationPhilosophy","certificationQualifications","qualificationsDescription","otherQualifications","test","trim","education","educationalQualification","experience","yearsExperience","otherLanguages","accLanguages","language","educationalPhilosophy","compact","philosophy","certifications","certification","achievement","validEducationQualifications","validExperienceQualifications","validAgeQualifications","validOtherLanguagesQualifications","validEducationalPhilosophyQualifications","validCertificationsQualifications","validQualifications","items","GraphicComponent","AgeGraphic","WorkExperienceGraphic","EnglishProficiencyGraphic","CertificationsGraphic","qualifications","EducationalAchievementGraphic","h4","qualificationItemIndex","qualificationItemsIndex","OthersGraphic","getValidList","JobSummary","roleType","employmentType","jobSchedule","ageGroup","classroomType","validRoleType","validEmploymentType","validJobSchedule","validClassroomType","validAgeGroup","summaryItems","join","ageGroupItem","ageGroupIndex","summaryItem","summaryItemIndex","h3","JobLabelVariantDataMap","Map","NEW_JOB","text","mobileText","icon","StarIcon","HIRING_FAST","HIRING_HERO","CertifiedIcon","tooltip","InformationIcon","el","RESPONSIVE_EMPLOYER","ClapIcon","ToolTipIcon","tooltipId","faker","datatype","uuid","data-tip","data-for","ReactTooltip","place","effect","backgroundColor","SmallStarIcon","RecommendedPin","debug","viewed","hover","LocationPin","MapPinIcon","$hover","panControl","mapTypeControl","scrollwheel","streetViewControl","styles","featureType","stylers","visibility","elementType","saturation","gamma","lightness","SmallJobCard","hours","salary","aria-label","rel","BriefcaseIcon","bonusItem","img","jobs","overlayDismiss","Abilities","OUTBOUND_MESSAGE_CANDIDATE_LIMIT_EXCEEDED","SubscriptionRequiredModal","OUTBOUND_MESSAGE_CANDIDATE","PausedSubscriptionModal","onBeforeReroute","modalProps","rerouting","setRerouting","handleUpdatePayment","then","subscription","useSubscription","useEmployer","status","SparklesIcon","INFO","resumeParsingStatus","loadingResumeParsingStatus","geography","missingRequiredFields","resumeJobInfos","resume_job_infos","navigator","clipboard","writeText","catch","searchPromise","filterFromUrl","urlFilters","types","updateFilter","section","getState","filters","getAppliedFilters","isObject","updateFilterWithSavedFilter","savedFilter","applySavedFilterChange","isMap","currentPage","storeSavedFilterId","fetchJobs","markFiltersAsSearched","resetFilters","setShowJobsFilter","showJobsFilter","setSortJobs","sortJobs","reduceFilters","accFilters","selected","showJobFilterValue","filterName","sortValue","sortString","default","order","startsWith","slice","processFilters","geoId","showJobFilter","sort","sortJob","noPagination","geographies","suggestedGeography","notPaginated","thunkSearch","createAsyncThunk","param1","abort","savedFilterId","candidates","appliedSavedFilterId","savedFilters","savedFilterSelections","applicableFilters","diff","update","userProfileId","Id","fetchTeacherSavedFilterSelections","jobSearch","JobListing","select","where","all","offset","limit","pagination","links","includeJobApplications","job_applications","console","fetchAllByEmployer","employerId","response","employer_id","screening_questions","education_declaration","meets_education_requirements","location_ids","applicationData","apiCall","JSON","stringify","cleanUpInputValue","removeExtraSpaces","removeAllSpaces","replace","htmlText","formatZipCode","zipCode","removedNonDigits","htmlToString","doc","DOMParser","parseFromString","html","textContent","isCentsRelevant","minNumber","maxNumber","isMinInvalid","isMaxInvalid","compensationValue","minDigits","maxDigits","getFullCompensationText","negotiable","compensationText","compensationToFullText","module","exports"],"sourceRoot":""}